<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Minimal Agent on CAO ZUOHUA</title><link>https://caozuohua.github.io/tags/minimal-agent/</link><description>Recent content in Minimal Agent on CAO ZUOHUA</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 18 Aug 2026 10:30:00 +0800</lastBuildDate><atom:link href="https://caozuohua.github.io/tags/minimal-agent/index.xml" rel="self" type="application/rss+xml"/><item><title>DeepSeek Harness 解读（四）：minimal 真的是最小 Agent 吗？</title><link>https://caozuohua.github.io/posts/2026-08-18-deepseek-harness-series-4-minimal-agent-framework-contracts/</link><pubDate>Tue, 18 Aug 2026 10:30:00 +0800</pubDate><guid>https://caozuohua.github.io/posts/2026-08-18-deepseek-harness-series-4-minimal-agent-framework-contracts/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;这是 DSH 系列的最后一篇。我们之前问过：minimal preset 只有两个工具，它是否已经是最小化 Agent？答案是：对模型可见能力来说接近最小，对真实运行时来说并不是。&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="dsh-的四种-preset-不是四个产品"&gt;DSH 的四种 preset 不是四个产品&lt;/h2&gt;&#10;&lt;p&gt;DSH 当前把 Agent 能力组合成几类 preset：&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;standard 完整 Coding Agent&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ptc TypeScript Code Mode / PTC&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;minimal persistent bash + str_replace_editor&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;creator 运行时检查和插件实验&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;它们不是四个独立程序，而是同一个 Cordis Runtime 上的不同能力组合。&lt;/p&gt;&#10;&lt;p&gt;这一区分很重要：preset 决定的是某个 Agent Scope 可以看到和使用哪些能力，而不是重新启动一套完全不同的 Agent 实现。&lt;/p&gt;&#10;&lt;h2 id="minimal-为什么看起来很小"&gt;minimal 为什么看起来很小&lt;/h2&gt;&#10;&lt;p&gt;DSH 的 minimal 配置对模型暴露的主要能力只有：&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;1. persistent bash&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;2. str_replace_editor&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;同时它关闭或抑制了很多额外上下文：&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;不加载完整 Coding Agent 的复杂工具集；&lt;/li&gt;&#10;&lt;li&gt;不注入运行时上下文；&lt;/li&gt;&#10;&lt;li&gt;不使用默认的复杂压缩能力；&lt;/li&gt;&#10;&lt;li&gt;使用固定、短的系统提示；&lt;/li&gt;&#10;&lt;li&gt;让 Bash 在多个 step 之间保持状态。&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;相关实现可以直接看 &lt;a href="https://github.com/deepseek-ai/deepseek-harness/blob/master/apps/cli/config/agent-presets/minimal/agent.cordis.yml"&gt;minimal agent preset&lt;/a&gt; 和 &lt;a href="https://github.com/deepseek-ai/deepseek-harness/blob/master/.agents/notes/implemented/feature/2026-08-11-minimal-profiles-bare-two-tool-runtime.md"&gt;minimal runtime 设计记录&lt;/a&gt;。&lt;/p&gt;</description></item></channel></rss>