使用 Claude 进行图工程:从0到图架构师的14步路线图
Most people who try to build a multi-step agent end up with a straight line. Step one, step two, step three - each waiting politely for the last to finish before it starts.
大多数尝试构建多步 agent 的人最终都会得到一条直线。第一步,第二步,第三步——每一步都礼貌地等待上一步完成后才开始。
9/10 notice that half those steps never needed to wait at all.
9/10 的人会注意到,其中一半的步骤根本不需要等待。
They don’t route. They don’t branch. They don’t parallelize. They just queue - one head, one context, one thing at a time, until the window fills up and the agent forgets what it was doing.
它们不进行路由。它们不进行分支。它们不进行并行化。它们只是排队——一个头,一个上下文,一次一件事,直到窗口填满,代理忘记了自己正在做什么。
Follow my Substack to get fresh AI alpha:
关注我的 Substack 以获取最新的 AI alpha:
This is the 14-step roadmap that turns that single-file line into a graph: one that fans out across a fleet, verifies its own findings, and converges on a result a lone agent could never hold.
这是一个 14 步的路线图,它将单文件行转化为图:一个在集群中扇出、验证自身发现,并收敛于单个代理永远无法掌握的结果的图。
[
[
](https://x.com/0xCodez/article/2079165300625330317/media/2079147549227704320)
](https://x.com/0xCodez/article/2079165300625330317/media/2079147549227704320)
Here’s the shift nobody spells out. A prompt is a sentence. A loop is a cycle. A harness is the floor the agent stands on.
这是一个没人明说的转变。prompt 是一句话。loop 是一个循环。harness 是 agent 站立的地板。
But the shape of the work itself - what runs before what, what can run at the same time, what has to wait for everything else - that shape is a graph. Nodes do the thinking. Edges carry the results.
但工作本身的形状——什么在什么之前运行,什么可以同时运行,什么必须等待其他所有事情——这种形状就是一个图。节点负责思考。边负责传递结果。
Claude Code shipped the tooling to build these graphs directly: dynamic workflows.
Claude Code 发布了直接构建这些图的工具:动态工作流。
Claude writes a plain JavaScript orchestration script, then spawns a coordinated fleet of subagents to execute it - and the coordination itself costs zero model tokens, because it’s code, not a conversation.
Claude 编写一个纯 JavaScript 编排 script,然后生成一个协同的 subagents 集群来执行它 - 而协调本身消耗 0 个 model tokens,因为它是 code,而不是 conversation。
01. Nodes are jobs. Edges are what flows.
01. 节点是任...