ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s

This commit is contained in:
2026-08-20 13:12:50 +00:00
commit b119135836
10275 changed files with 3284984 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 470" width="900" height="470" style="background:#ffffff">
<defs>
<marker id="arrow" markerWidth="9" markerHeight="7" refX="8" refY="3.5" orient="auto">
<polygon points="0 0, 9 3.5, 0 7" fill="#666666"/>
</marker>
</defs>
<g font-family="Arial, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif" fill="#303030">
<rect x="318" y="20" width="264" height="48" rx="24" fill="#4f4f4f"/>
<text x="450" y="50" text-anchor="middle" font-size="16" font-weight="bold" fill="#ffffff">Agent 的行为如何发生改变?</text>
<line x1="450" y1="68" x2="450" y2="91" stroke="#666666" stroke-width="1.5"/>
<line x1="150" y1="91" x2="750" y2="91" stroke="#666666" stroke-width="1.5"/>
<line x1="150" y1="91" x2="150" y2="111" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<line x1="450" y1="91" x2="450" y2="111" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<line x1="750" y1="91" x2="750" y2="111" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<!-- Context adaptation -->
<rect x="28" y="116" width="244" height="270" rx="9" fill="#f6f6f6" stroke="#5b5b5b" stroke-width="1.8"/>
<rect x="28" y="116" width="244" height="63" rx="9" fill="#dedede" stroke="#5b5b5b" stroke-width="1.8"/>
<path d="M28 170 H272" stroke="#5b5b5b" stroke-width="1.8"/>
<text x="150" y="142" text-anchor="middle" font-size="18" font-weight="bold">任务内适应</text>
<text x="150" y="164" text-anchor="middle" font-size="12.5" fill="#606060">Context adaptation</text>
<text x="50" y="211" font-size="12" fill="#777777">主要载体</text>
<text x="50" y="237" font-size="15" font-weight="bold">当前上下文</text>
<text x="50" y="260" font-size="13.5">示例 · 状态 · 检索结果</text>
<line x1="50" y1="279" x2="250" y2="279" stroke="#c2c2c2"/>
<text x="50" y="306" font-size="12" fill="#777777">更新特性</text>
<text x="50" y="332" font-size="14">即时、低成本</text>
<text x="50" y="356" font-size="14">任务结束后不自动保留</text>
<!-- External artifacts -->
<rect x="328" y="116" width="244" height="270" rx="9" fill="#f1f1f1" stroke="#3f3f3f" stroke-width="2"/>
<rect x="328" y="116" width="244" height="63" rx="9" fill="#cfcfcf" stroke="#3f3f3f" stroke-width="2"/>
<path d="M328 170 H572" stroke="#3f3f3f" stroke-width="2"/>
<text x="450" y="142" text-anchor="middle" font-size="18" font-weight="bold">外部制品更新</text>
<text x="450" y="164" text-anchor="middle" font-size="12.5" fill="#555555">External artifacts</text>
<text x="350" y="211" font-size="12" fill="#777777">主要载体</text>
<text x="350" y="237" font-size="15" font-weight="bold">知识 · 指令 · 程序</text>
<text x="350" y="260" font-size="13.5">文档 · Prompt/Skill · Harness</text>
<line x1="350" y1="279" x2="550" y2="279" stroke="#b5b5b5"/>
<text x="350" y="306" font-size="12" fill="#777777">更新特性</text>
<text x="350" y="332" font-size="14">跨任务持久、可审计</text>
<text x="350" y="356" font-size="14">依赖检索或工具调用</text>
<!-- Parameters -->
<rect x="628" y="116" width="244" height="270" rx="9" fill="#f6f6f6" stroke="#5b5b5b" stroke-width="1.8"/>
<rect x="628" y="116" width="244" height="63" rx="9" fill="#dedede" stroke="#5b5b5b" stroke-width="1.8"/>
<path d="M628 170 H872" stroke="#5b5b5b" stroke-width="1.8"/>
<text x="750" y="142" text-anchor="middle" font-size="18" font-weight="bold">模型参数更新</text>
<text x="750" y="164" text-anchor="middle" font-size="12.5" fill="#606060">Parameter update</text>
<text x="650" y="211" font-size="12" fill="#777777">主要载体</text>
<text x="650" y="237" font-size="15" font-weight="bold">模型权重</text>
<text x="650" y="260" font-size="13.5">SFT · 偏好训练 · RL</text>
<line x1="650" y1="279" x2="850" y2="279" stroke="#c2c2c2"/>
<text x="650" y="306" font-size="12" fill="#777777">更新特性</text>
<text x="650" y="332" font-size="14">高维能力、广泛泛化</text>
<text x="650" y="356" font-size="14">训练与回归成本较高</text>
<rect x="177" y="414" width="546" height="36" rx="18" fill="#ededed" stroke="#777777" stroke-width="1.3"/>
<text x="450" y="437" text-anchor="middle" font-size="14.5" font-weight="bold">三者协同:临场适应 · 可控积累 · 能力内化</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB