Skip navigation
让 Claude Code 写后端、Codex 写前端,它俩互不认识,中间没有管道。
0:00 / 7:03

让 Claude Code 写后端、Codex 写前端,它俩互不认识,中间没有管道。

宝玉

@dotey273K followers

Visit on X
444 likesDownloadOriginal post

58,268 views

让 Claude Code 写后端、Codex 写前端,它俩互不认识,中间没有管道。Erwin 最近拆解了 T3 Code 和 Orca 两个开源编排工具,这期按他的思路,把多 Agent 编排器盖成四层楼来讲: 1. 模型怎么知道能叫队友(MCP 还是命令行加 Skill) 2. 队友之间怎么传话(调函数还是信箱) 3. 程序崩了怎么办(事务性发件箱和派单号) 4. 换模型会不会失忆(总账加书签,只补缺的几轮)。 每一层都没有标准答案,只有取舍;看懂这些取舍,就知道这类工具在后台替你操心什么。 资料来源: - Erwin《How to Build a Multi-Agent Orchestrator from Scratch》

19 Comments

Comments from the original post on X (Twitter)

  • ChineseX's profile picture

    @ChineseXAI

    总账加书签那层最实用。Claude 和 GPT 的提示缓存互不通用,换模型等于缓存清零,只补缺的几轮能少烧一大截 token

    1 like

  • undefine's profile picture

    @404notfound886

    Codex 写前端???

  • 知遥's profile picture

    @jiagws

    Claude 写后端、Codex 写前端,分工听着挺合理,就是联调的时候谁先背锅

  • 空灵's profile picture

    @tangzs2023

    高端

  • 干中学's profile picture

    @JiangLiuer222

    第三层太真实了 多agent最头疼的就是半路挂掉 连上一条消息到底发没发出去都对不上账 最后兜底还得把transactional outbox这套后端老手艺请回来。第四层换模型防失忆现在有啥稳的做法吗

  • 卡布达's profile picture

    @m3RbZWPvbW86429

    把 harness 和编排器的区别讲透了,Claude Code 写后端、Codex 写前端,中间缺的正是这层调度,收获很大。

  • 库森's profile picture

    @sencode

    这样编排是很好的,不过 codex 写前端吗,怕不是很丑

  • cakeHU's profile picture

    @hchunchun4

    这方法我用了小半年,确实省事

  • gerald's profile picture

    @geraldpppppp

    @grok 我的设计是一个足够智能的主管,例如 Claude 模型。其他协作方通过改变环境来传递信息。类似蚁群的信息素。而不是 agent 互相通信。调研一下不同设计哲学的方案,评价一下。

  • Curing's profile picture

    @Curingieul

    以前全靠人工当复读机来回复制粘贴 终于有现成管道了

  • 广权MAIYA AI LAB's profile picture

    @Guangquan66

    第四层「换模型会不会失忆」最容易被忽略。MCP 和消息通道搭得再完整,如果会话状态没有可迁移的总账和书签,只补缺失的几轮,一切换模型或重开会话,前面的上下文就接不上。工具层解决的是调用,状态层解决的是能不能续上。

  • cakeHU's profile picture

    @hchunchun4

    Claude这波是不是又要涨价

  • Frontier Signal's profile picture

    @icpburn

    前后端各塞一个 agent,很容易凑出两个「我这边已经好了」。然后一联调,俩人连空值长啥样都没商量过。 我会先让它们共用一份接口契约,再跑同一套契约测试。谁改了返回值,谁那边先红灯。光让俩 agent 能聊天,最后还是得有人去对字段。

  • CAPTOR's profile picture

    @SSRIFluvoxamine

    让codex写前端,是血压太低吗?

  • Errun's profile picture

    @ErrunZq

    现在不都一个大仓库放所有前后端代码么?直接读代码不就行了,为什么还要传话...

  • Ted Cai's profile picture

    @TedCai233

    两个 agent 互不认识,靠中间那层编排撑着

  • ChineseX's profile picture

    @ChineseXAI

    四层楼这个比喻好懂。第二层传话最容易出事,调函数省事,可一个挂了整条链都跟着躺

  • The Neo's profile picture

    @theneo2077

    日常用 T3 Code,虽然可以登录多个antigravity,但是无缝衔接还是差点意思。

  • wjs's profile picture

    @wjsjw

    学习了,学习了,感谢🙏🏻