Wink Pings

别微管理AI Agent了:Claude Code的Opus 5.5带队,Haiku 5.5并行,零回归

Anthropic刚在Claude Code里放出一个Agent团队模式:Opus 5.5当lead,三个Haiku 5.5队友通过P2P总线自取任务、并行干活,Opus只在最后签字。实测中12个任务全部完成,58个测试通过,零回归。这背后是harness工程,而不是prompt调参。我们拆解了这套设置,并给出了可复制的配置。

Anthropic在Claude Code里放了个新东西:Agent团队模式。一个Opus 5.5当lead,三个Haiku 5.5当队友,任务拆成DAG,队友自己认领,通过peer p2p bus通信。Opus只在最后签字。实测:12个任务全部完成,安全审计在JWT claims里发现一个timing leak,性能优化Redis锁,快了2.8倍,QA跑完整测试矩阵,58/58全绿,零回归。

启动命令只有一行:

claude --model opus --teammate-mode auto

这个设置的思路,和mirku在《Harness Engineering》里讲的一致。mirku认为,模型输出出错,问题往往不在模型权重,而在执行环境。环境就是harness。Dario Amodei在发布Claude Code时说,需要interface,需要harness来使用模型。模型是推理引擎,但没法自己构建稳定的操作系统。harness控制模型读什么、能触发哪些工具、哪些数据在上下文重置后幸存、什么时候必须停下来。

一个模型放在空聊天框里,只会生成闲聊。放进一个有终端、测试套件、项目地图、隔离工作区的仓库里,它就能交付可用的软件。权重没变,harness变了。

Grirku给出的完整树形结构是这样的:

> Opus 5.5 team lead builds the task DAG and coordinates
> Haiku 5.5 x3 teammates - security / perf-scout / qa-engine
> peer p2p bus for direct mailbox and self-claim tasks
> atomic mutex DAG locks files with zero leader polling
> JEV fork layer routes deterministic decisions
> Opus signs off only after consensus and zero regressions

把这个树和下面这段prompt贴进Claude Code:

Rebuild my Claude Code setup around this tree:

Run the main session on Opus 5.5 with effort xhigh and --teammate-mode auto.
Spawn three Haiku 5.5 teammates: security, perf-scout, and qa-engine.
Let them self-claim tasks from a shared DAG and communicate over a peer p2p bus.
Route deterministic forks (which file, which model, retry or stop) through JEV.
Use an atomic mutex DAG so teammates never collide on the same file.
Opus only coordinates the plan and signs off at the end. Teammates handle the work.
Show me every change as a diff first. No edits until I say go.

这里有几个设计值得注意:

  • peer p2p bus:队友之间直接通信,不经过lead。lead不用轮询,不会成为瓶颈。
  • atomic mutex DAG:锁文件粒度,多个队友写同一个文件时不会撞车。
  • JEV fork layer:把“哪个文件、哪个模型、重试还是停止”这类确定性决策从模型权重里拿出来,由底层机制路由。
  • Opus只协调计划,最后签字。具体工作由Haiku们处理。

有网友在推文下评论:“这下不是多开几个窗口就叫多智能体了。”

mirku把可靠AI系统拆成三层:harness层、loop层、graph层。这套团队模式正好对应:

  • Graph层:Opus构建任务DAG,Haiku自取任务,把长任务拆到隔离上下文里执行。
  • Loop层:QA-engine跑测试矩阵,perf-scout跑性能分析,用机械证据验证结果,不靠模型自己说自己做对。
  • Harness层:atomic mutex锁文件,JEV路由决策,peer p2p bus管理通信,这些都在模型权重之外。

如果你也遇到过“模型老是忘规则、改prompt没用”的情况,问题可能不在prompt。问题可能在harness。与其继续在系统提示词里加形容词,不如检查一下模型周围的操作系统。

主推推文最后一句是“save it, it’ll come in handy.”——存一下,会有用。

视频是实际运行时的终端界面,可以看到Opus lead、三个Haiku队友、DAG任务状态:

别再微管理AI Agent了。把任务DAG搭好,把验证机制接上,然后让模型们自己干活。你只需要在最后看结果。

发布时间: 2026-10-26 13:49