← Diagram Lab

Claude 官方架构图与代码图解

从 anthropic.com 与 claude.com 的 389 篇文章、1,591 张配图中,剔除评测/基准类图表,留下 420 张技术解释图,再人工筛出 78 张真正的架构、系统、代码与流程类图解。用来回答一个问题:他们到底怎么把系统画清楚。

1,591官方配图
420技术类图解
78本页精选
4可复用图式

六个结论

  1. 主力不是“插画”,而是带边界的系统图。最高频的成功图式是泳道/面板 + 嵌套容器,而不是装饰性插图。
  2. 颜色是语义,不是装饰。蓝=调度者/主流程,绿=子任务/允许,珊瑚=错误/拒绝/重点,米色=容器边界。跨文章高度一致。
  3. 一图只讲一个变量。四张多智能体图共用同一套方块语法,只替换拓扑;三张 workflow 图只替换支路。
  4. 最好的图会“标注边界”。User request、final report、allowed:443、unknown:80 这类标签直接写在箭头上,读者不用猜。
  5. 代码类图不截 IDE。他们画 SKILL.md 的结构、目录树、接口表;只有终端类内容才用截图。
  6. 质量不稳定。导出型泳道图(绿底绿字、箭头交叉)与过度简化的“一个方块一个圆”仍然存在,说明没有统一制图规范。

Agent 架构与多智能体协作

协作拓扑:orchestrator、agent teams、message bus、shared state 四种底座,以及 harness / SDK loop / generator–verifier。

28 张
Multi-agent coordination patterns: Five approaches and when to use them

最小可用语法:蓝色 orchestrator + 三个绿色 subagent。直角折线、无图例也能读懂;但回传箭头没有标签,方向语义靠猜。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

同一套视觉语言换拓扑:lead 在中间,成员并行展开。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

加一条橙色 message bus,用“通道”替代点对点连线,复杂协作立刻可读。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

共享状态画成中心对象,所有 agent 读写同一块,比满天飞箭头清楚。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

对比图:两种拓扑并排,标题即结论。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

对比图:拓扑差异用橙色总线一眼区分。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

对比图:状态归属是唯一变量。

原文·2026-04-10
Multi-agent coordination patterns: Five approaches and when to use them

对比图:message bus vs shared state,适合做“选型”页。

原文·2026-04-10
How we built our multi-agent research system

双面板:左侧真实对话,右侧系统架构,箭头标注 user request / final report——把“输入输出”钉死在边界上。

原文·2025-06-13
How we built our multi-agent research system

反面教材:泳道图直接导出,绿底绿框对比度低、字号过小、箭头交叉,读者需要放大才能读。

原文·2025-06-13
Building agents: When to fold subagents into your main agent loop
原文·2026-10-22
Building agents: When to fold subagents into your main agent loop
原文·2026-10-22
Building agents with Skills: Equipping agents for specialized work
原文·2026-01-22
Building agents with Skills: Equipping agents for specialized work
原文·2026-01-22
Building agents with Skills: Equipping agents for specialized work

珊瑚色描边 + 像素螃蟹图标,在严肃架构图里保留品牌温度。

原文·2026-01-22
Building agents with the Claude Agent SDK

SDK 主循环三色块:Gather context → Take action → Verify work,最经典的 agent loop 表达。

原文·2025-09-29
Lessons from Anthropic on building effective human-agent teams

树状任务分解:上层一个 agent,下层并行子任务,适合讲 fan-out。

原文·2026-06-24
Lessons from Anthropic on building effective human-agent teams
原文·2026-06-24
Building verification loops in Claude Code with skills
原文·2026-07-22
The evolution of agentic surfaces: building with Claude Managed Agents
原文·2026-06-10
The evolution of agentic surfaces: building with Claude Managed Agents
原文·2026-06-10
The evolution of agentic surfaces: building with Claude Managed Agents
原文·2026-06-10
The evolution of agentic surfaces: building with Claude Managed Agents
原文·2026-06-10
The evolution of agentic surfaces: building with Claude Managed Agents
原文·2026-06-10
Giving companies more control over their AI agents, with NVIDIA
原文·2026-09-28
How to prepare for AI-driven code modernization projects
原文·2026-09-23
Multi-agent coordination patterns: Five approaches and when to use them
原文·2026-04-10
Skills explained: How Skills compares to prompts, Projects, MCP, and subagents
原文·2026-03-05

Harness、工具与上下文管线

用泳道与边界表达权限、网络、上下文窗口、工具调用和沙箱——Anthropic 最成熟的一类图。

35 张
Code execution with MCP for efficient agents

MCP 三方关系用三块色区表达:Model、MCP client、MCP server,协议版本写在中间。

原文·2025-11-04
Beyond permission prompts: making Claude Code more secure and autonomous

最佳样本:User / Claude code / Sandbox / 外部四段泳道,权限结果用绿 Allow、红 Deny、蓝 Ask 三个 chip,端口写在连线旁。

原文·2025-10-08
Beyond permission prompts: making Claude Code more secure and autonomous

用三条竖栏表达信任边界,HTTP/UDP 分流到不同代理,连线即数据路径。

原文·2025-10-08
Building agents that reach production systems with MCP

一图讲清 Skills 与 MCP 两个扩展机制的分工:MCP 连外部,Skills 进文件系统。

原文·2026-04-22
Building agents: When to fold subagents into your main agent loop

“5 layers / 1 loop”把系统拆成层级,再用一个循环把 agent 行为收束。

原文·2026-10-22
Inference hooks: inline data loss prevention for Claude Enterprise
原文·2026-08-05
How an Anthropic Japan BDR runs his day with a fleet of Claude agents
原文·2026-10-16
How Anthropic secures its AI-native software development lifecycle
原文·2026-07-21
How Anthropic's sales team rebuilt inbound with Claude Managed Agents
原文·2026-09-30
How Claude Code works in large codebases: Best practices and where to start
原文·2026-05-14
How Claude Code works in large codebases: Best practices and where to start
原文·2026-05-14
How Curative is building a national provider network with agents on Claude
原文·2026-11-10
How Datadog built a “universal machine tool” for Claude Code
原文·2026-07-21
A guide to the anatomy of effective commerce agents
原文·2026-09-02
A guide to the anatomy of effective commerce agents
原文·2026-09-02
Using Claude Code: session management and 1M context
原文·2026-04-15
What is Model Context Protocol? Connect AI to your world
原文·2025-10-31
New in Claude Managed Agents: run agents on a schedule and store environment variables in vaults
原文·2026-06-09
Effective context engineering for AI agents

左右对照:prompt engineering 与 context engineering 的信息流差异,用同一套蓝/橙/绿编码。

原文·2025-09-29
The Claude Code guide for startups

一页拼六个 workflow pattern,每个都用同一模板:小方块 + 细箭头 + 一个菱形判断。

原文·2026-08-20
New in Claude Managed Agents: self-hosted sandboxes and MCP tunnels
原文·2026-05-19
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Claude Code effort level and model selection
原文·2026-07-07
Common workflow patterns for AI agents

顺序 workflow:唯一模板,编号即顺序。

原文·2026-03-05
Common workflow patterns for AI agents

并行 workflow:同一模板,多条并行支路。

原文·2026-03-05
Common workflow patterns for AI agents

评估-优化 workflow:加入反馈回路,仍不换视觉语言。

原文·2026-03-05
Agent harness design: 3 patterns for harnessing Claude's intelligence
原文·2026-04-02
Agent harness design: 3 patterns for harnessing Claude's intelligence
原文·2026-04-02
Agent harness design: 3 patterns for harnessing Claude's intelligence
原文·2026-04-02
Agent harness design: 3 patterns for harnessing Claude's intelligence
原文·2026-04-02

代码与文件结构

SKILL.md、目录树、接口表、脚本打包:把“代码长什么样”画出来,而不是贴代码截图。

9 张
Equipping agents with Agent Skills

双面板:左边 agent 配置(system prompt、skills、MCP),右边虚拟机文件系统,中间用“contents live in file system”解释映射。

原文·2025-10-16
Equipping agents with Agent Skills

代码类图的正确做法:不截 IDE,而是把 SKILL.md 的 YAML frontmatter 与 Markdown 两段结构高亮出来。

原文·2025-10-16
Equipping agents with Agent Skills
原文·2025-10-16
Equipping agents with Agent Skills
原文·2025-10-16
Scaling Managed Agents with stable interfaces

极简三层:Session、Harness、Sandbox,外加 orchestration 回流。信息少但边界清楚。

原文·2026-04-08
Scaling Managed Agents with stable interfaces

用表格承担“接口说明”职责:component / interface / semantics 三列,比箭头图更精确。

原文·2026-04-08
Writing effective tools for AI agents
原文·2025-09-11
Steering Claude Code: when to use CLAUDE.md, skills, hooks, and subagents

把 context window 画成一张“桌面”:system prompt、skills 索引、user 消息、tool call/result 依次堆叠,解释权在两侧批注。

原文·2026-06-18
A guide to the anatomy of effective commerce agents
原文·2026-09-02

时序与生命周期

从一次请求到多阶段流水线:时间轴、阶段、门控与回退。

6 张
Introducing advanced tool use for Claude

纵向时序:传统方式 vs tool search,两条泳道并排比较 token 占用。

原文·2025-11-24
Introducing advanced tool use for Claude

程序化工具调用:请求/响应沿时间轴上下走,右侧标注节省的 token。

原文·2025-11-24
How we built Claude Code auto mode

系统架构用嵌套容器:Multi-agent 外壳里再分 orchestrator 与 subagent 池。

原文·2026-03-25
How we built Claude Code auto mode

两栏“全量对话 vs 分类器看到的”,把过滤/裁剪讲成信息损失。

原文·2026-03-25
How we built Claude Code auto mode

两阶段流水线:Agent transcript → Stage 1 classifier → Stage 2 → 输出,阶段名即动词。

原文·2026-03-25
How Warp builds self-improving agents on Claude

agent session 的三段状态:任务、review、后续任务,用粉色块表达“状态”而非“组件”。

原文·2026-08-26