<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>插件框架 on FXIO 技术博客</title><link>https://fxio.site/tags/%E6%8F%92%E4%BB%B6%E6%A1%86%E6%9E%B6/</link><description>Recent content in 插件框架 on FXIO 技术博客</description><generator>Hugo -- 0.157.0</generator><language>zh-cn</language><lastBuildDate>Sat, 05 Sep 2026 23:59:00 +0800</lastBuildDate><atom:link href="https://fxio.site/tags/%E6%8F%92%E4%BB%B6%E6%A1%86%E6%9E%B6/index.xml" rel="self" type="application/rss+xml"/><item><title>Cordis：DeepSeek Harness 为什么把 Agent 运行时重写成一套“可逆的组件系统”</title><link>https://fxio.site/posts/ai/deepseek-cordis-agent-runtime/</link><pubDate>Sat, 05 Sep 2026 23:59:00 +0800</pubDate><guid>https://fxio.site/posts/ai/deepseek-cordis-agent-runtime/</guid><description>&lt;h1 id="cordisdeepseek-harness-为什么把-agent-运行时重写成一套可逆的组件系统"&gt;Cordis：DeepSeek Harness 为什么把 Agent 运行时重写成一套&amp;quot;可逆的组件系统&amp;quot;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;核心问题：为什么 DeepSeek Harness 选择 Cordis？它解决了传统 Agent Harness 的什么问题？它是否代表了 Agent Runtime 的一种新架构？&lt;/p&gt;
&lt;p&gt;本文基于源码级研究：&lt;code&gt;deepseek-ai/deepseek-harness&lt;/code&gt;、&lt;code&gt;cordiverse/cordis&lt;/code&gt;（v4.x）、论文 arXiv:2608.25512。所有关键结论标注来源性质：&lt;strong&gt;【源码事实】&lt;/strong&gt;（可直接从仓库代码/文档证明）、&lt;strong&gt;【论文观点】&lt;/strong&gt;（来自论文摘要与 README 原文）、&lt;strong&gt;【研究推论】&lt;/strong&gt;（本文作者基于前两者的判断）。论文 HTML 全文在本次研究中不可得，涉及论文细节均只引用摘要原文。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;!-- more --&gt;
&lt;h2 id="1-开头为什么-agent-需要-runtime"&gt;1. 开头：为什么 Agent 需要 Runtime&lt;/h2&gt;
&lt;p&gt;大多数 Agent 框架解决的是两个问题：&lt;strong&gt;下一轮对话模型看见什么&lt;/strong&gt;（Prompt Composition），以及&lt;strong&gt;进程之间怎么调用&lt;/strong&gt;（MCP 之类的工具协议）。但只要一个 Agent 活得足够久——长会话、热改工具、动态挂载能力——第三个问题就会浮出水面：&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;同一个进程里的能力，如何动态地出现、消失、替换，而不影响其他组件？&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;传统答案是&amp;quot;重启进程&amp;quot;。但对一个跑着 30 个会话、持有浏览器连接、缓存着向量索引、正在执行长任务的 Agent Harness 来说，重启意味着一切归零。这不是 Prompt 层的问题，也不是进程层的问题，而是&lt;strong&gt;运行时层&lt;/strong&gt;的问题。&lt;/p&gt;
&lt;p&gt;DeepSeek 的 Harness 项目给出的答案是一个叫 Cordis 的框架。README 里一句话点明了架构【源码事实，&lt;code&gt;deepseek-harness/README.md:7&lt;/code&gt;】：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It is built on an &lt;strong&gt;everything-is-a-plugin&lt;/strong&gt; architecture and powered by Cordis, whose design is described in &lt;em&gt;A Programming Paradigm for Spatiotemporal Composability&lt;/em&gt;.&lt;/p&gt;</description></item></channel></rss>