Files
liqiang b119135836
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
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

77 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 570" width="900" height="570" 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="#2f2f2f">
<text x="450" y="34" text-anchor="middle" font-size="20" font-weight="bold">全书结构</text>
<!-- Part I: Build an Agent -->
<rect x="24" y="58" width="852" height="238" rx="12" fill="#fafafa" stroke="#777777" stroke-width="1.7"/>
<rect x="54" y="46" width="224" height="27" rx="13.5" fill="#505050"/>
<text x="166" y="65" text-anchor="middle" font-size="14" font-weight="bold" fill="#ffffff">第一部分 如何构建 Agent</text>
<rect x="48" y="92" width="242" height="72" rx="8" fill="#d9d9d9" stroke="#3f3f3f" stroke-width="1.7"/>
<text x="169" y="118" text-anchor="middle" font-size="15" font-weight="bold">第 1 章 AI Agent 入门</text>
<text x="169" y="143" text-anchor="middle" font-size="11.5" fill="#626262">概念框架 · ReAct · Harness</text>
<line x1="290" y1="128" x2="319" y2="128" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="323" y="92" width="242" height="72" rx="8" fill="#e7e7e7" stroke="#444444" stroke-width="1.6"/>
<text x="444" y="118" text-anchor="middle" font-size="15" font-weight="bold">第 2 章 上下文工程</text>
<text x="444" y="143" text-anchor="middle" font-size="11.5" fill="#626262">任务状态 · Prompt · 压缩</text>
<line x1="565" y1="128" x2="594" y2="128" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="598" y="92" width="254" height="72" rx="8" fill="#e7e7e7" stroke="#444444" stroke-width="1.6"/>
<text x="725" y="118" text-anchor="middle" font-size="15" font-weight="bold">第 3 章 用户记忆和知识库</text>
<text x="725" y="143" text-anchor="middle" font-size="11.5" fill="#626262">跨会话记忆 · RAG · 知识组织</text>
<rect x="48" y="194" width="242" height="72" rx="8" fill="#e7e7e7" stroke="#444444" stroke-width="1.6"/>
<text x="169" y="220" text-anchor="middle" font-size="15" font-weight="bold">第 4 章 工具</text>
<text x="169" y="245" text-anchor="middle" font-size="11.5" fill="#626262">MCP · 感知与执行 · 安全</text>
<line x1="290" y1="230" x2="319" y2="230" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="323" y="194" width="242" height="72" rx="8" fill="#e7e7e7" stroke="#444444" stroke-width="1.6"/>
<text x="444" y="220" text-anchor="middle" font-size="15" font-weight="bold">第 5 章 Coding Agent</text>
<text x="444" y="245" text-anchor="middle" font-size="11.5" fill="#626262">代码生成 · 通用能力 · 自举</text>
<line x1="565" y1="230" x2="594" y2="230" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="598" y="194" width="254" height="72" rx="8" fill="#d9d9d9" stroke="#3f3f3f" stroke-width="1.7"/>
<text x="725" y="220" text-anchor="middle" font-size="15" font-weight="bold">第 6 章 交互</text>
<text x="725" y="245" text-anchor="middle" font-size="11.5" fill="#626262">观察与动作空间的扩展</text>
<line x1="450" y1="296" x2="450" y2="332" stroke="#555555" stroke-width="1.8" marker-end="url(#arrow)"/>
<!-- Part II: Improve Agent capabilities -->
<rect x="24" y="335" width="852" height="211" rx="12" fill="#fafafa" stroke="#666666" stroke-width="1.8"/>
<rect x="54" y="323" width="245" height="27" rx="13.5" fill="#424242"/>
<text x="176.5" y="342" text-anchor="middle" font-size="14" font-weight="bold" fill="#ffffff">第二部分 如何提升 Agent 能力</text>
<rect x="43" y="382" width="190" height="112" rx="8" fill="#e8e8e8" stroke="#444444" stroke-width="1.6"/>
<text x="138" y="412" text-anchor="middle" font-size="15" font-weight="bold">第 7 章 Agent 的评估</text>
<text x="138" y="440" text-anchor="middle" font-size="11.5" fill="#626262">环境 · 指标 · 统计</text>
<text x="138" y="466" text-anchor="middle" font-size="11.5" fill="#626262">建立可度量反馈</text>
<line x1="233" y1="438" x2="246" y2="438" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="250" y="382" width="190" height="112" rx="8" fill="#e2e2e2" stroke="#444444" stroke-width="1.6"/>
<text x="345" y="412" text-anchor="middle" font-size="15" font-weight="bold">第 8 章 模型后训练</text>
<text x="345" y="440" text-anchor="middle" font-size="11.5" fill="#626262">SFT · RL · 奖励设计</text>
<text x="345" y="466" text-anchor="middle" font-size="11.5" fill="#626262">提升模型参数能力</text>
<line x1="440" y1="438" x2="453" y2="438" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="457" y="382" width="190" height="112" rx="8" fill="#d9d9d9" stroke="#3f3f3f" stroke-width="1.7"/>
<text x="552" y="412" text-anchor="middle" font-size="15" font-weight="bold">第 9 章 持续进化</text>
<text x="552" y="440" text-anchor="middle" font-size="11.5" fill="#626262">经验 · 更新 · 发布回滚</text>
<text x="552" y="466" text-anchor="middle" font-size="11.5" fill="#626262">提升单体系统能力</text>
<line x1="647" y1="438" x2="660" y2="438" stroke="#666666" stroke-width="1.5" marker-end="url(#arrow)"/>
<rect x="664" y="382" width="193" height="112" rx="8" fill="#cecece" stroke="#333333" stroke-width="1.8"/>
<text x="760.5" y="412" text-anchor="middle" font-size="15" font-weight="bold">第 10 章 多 Agent 协作</text>
<text x="760.5" y="440" text-anchor="middle" font-size="11.5" fill="#5d5d5d">分工 · 通信 · 协调</text>
<text x="760.5" y="466" text-anchor="middle" font-size="11.5" fill="#5d5d5d">提升群体系统能力</text>
<text x="450" y="527" text-anchor="middle" font-size="12" fill="#666666">评估提供反馈,后训练、持续进化与协作据此扩展能力</text>
</g>
</svg>