[{"data":1,"prerenderedAt":523},["ShallowReactive",2],{"blog-post-/blogs/claude-codex-delegation-mode":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"image":11,"alt":12,"ogImage":11,"tags":13,"published":18,"body":19,"_type":516,"_id":517,"_source":518,"_file":519,"_stem":520,"_extension":521,"sitemap":522},"/blogs/claude-codex-delegation-mode","blogs",false,"","Claude Code + Codex 同日进化：AI编程进入'委托模式'时代","Claude Code 和 Codex 在同一天发布重量级更新，标志着 AI 编程从指令模式进化到委托模式。本文分析这一范式转移对程序员的深远影响。","2026-05-25","/blogs-img/claude-codex-delegation-mode.jpg","AI编程委托模式与多智能体协作封面图",[14,15,16,17],"AI编程","Claude Code","Codex","委托模式",true,{"type":20,"children":21,"toc":506},"root",[22,30,35,46,51,57,67,72,82,94,99,107,112,117,203,208,213,225,230,235,240,248,253,258,266,271,276,286,296,308,313,318,323,328,333,341,346,351,359,371,376,384,395,404,410,415,423,428,433,445,455,467,472,477,487,492,497],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","5月22日，Claude Code 和 Codex 在同一天发布了重量级更新。",{"type":23,"tag":24,"props":31,"children":32},{},[33],{"type":28,"value":34},"这不是巧合。",{"type":23,"tag":24,"props":36,"children":37},{},[38,40],{"type":28,"value":39},"当我把这两个更新的核心内容放在一起看，突然意识到一个事实：",{"type":23,"tag":41,"props":42,"children":43},"strong",{},[44],{"type":28,"value":45},"AI编程正在完成一次从底层逻辑到开发者心智的全面升级。",{"type":23,"tag":24,"props":47,"children":48},{},[49],{"type":28,"value":50},"从\"你说我做\"到\"你说目标我搞定\"，这个转变的临界点，可能就是昨天。",{"type":23,"tag":52,"props":53,"children":55},"h2",{"id":54},"昨天发生了什么",[56],{"type":28,"value":54},{"type":23,"tag":24,"props":58,"children":59},{},[60,65],{"type":23,"tag":41,"props":61,"children":62},{},[63],{"type":28,"value":64},"Claude Code v2.1.147",{"type":28,"value":66}," 新增了 Workflow 工具。官方说法是\"确定性多智能体编排系统\"，但我用大白话理解就是：",{"type":23,"tag":24,"props":68,"children":69},{},[70],{"type":28,"value":71},"你可以写一份工作流定义，然后 Claude Code 自动把子任务分配给多个 Agent，按预设逻辑串联执行。",{"type":23,"tag":24,"props":73,"children":74},{},[75,77],{"type":28,"value":76},"说人话就是：",{"type":23,"tag":41,"props":78,"children":79},{},[80],{"type":28,"value":81},"你当老板，AI当员工，你只需要定义清楚要什么，它自己分工协作。",{"type":23,"tag":24,"props":83,"children":84},{},[85,87,92],{"type":28,"value":86},"与此同时，",{"type":23,"tag":41,"props":88,"children":89},{},[90],{"type":28,"value":91},"Codex 的 /goal 模式",{"type":28,"value":93},"正式结束实验。设置目标和里程碑后，Codex 会持续工作直到完成，任务可以跑几小时甚至几天，中途随时检查进度、调整方向。",{"type":23,"tag":24,"props":95,"children":96},{},[97],{"type":28,"value":98},"这两个更新的方向惊人一致：",{"type":23,"tag":24,"props":100,"children":101},{},[102],{"type":23,"tag":41,"props":103,"children":104},{},[105],{"type":28,"value":106},"从\"指令模式\"进化到\"委托模式\"。",{"type":23,"tag":52,"props":108,"children":110},{"id":109},"两种模式的本质区别",[111],{"type":28,"value":109},{"type":23,"tag":24,"props":113,"children":114},{},[115],{"type":28,"value":116},"我用一张表来说清楚：",{"type":23,"tag":118,"props":119,"children":120},"table",{},[121,145],{"type":23,"tag":122,"props":123,"children":124},"thead",{},[125],{"type":23,"tag":126,"props":127,"children":128},"tr",{},[129,135,140],{"type":23,"tag":130,"props":131,"children":132},"th",{},[133],{"type":28,"value":134},"模式",{"type":23,"tag":130,"props":136,"children":137},{},[138],{"type":28,"value":139},"说明",{"type":23,"tag":130,"props":141,"children":142},{},[143],{"type":28,"value":144},"开发者的角色",{"type":23,"tag":146,"props":147,"children":148},"tbody",{},[149,168,185],{"type":23,"tag":126,"props":150,"children":151},{},[152,158,163],{"type":23,"tag":153,"props":154,"children":155},"td",{},[156],{"type":28,"value":157},"指令模式",{"type":23,"tag":153,"props":159,"children":160},{},[161],{"type":28,"value":162},"你说一句，它做一步，做完等你下一句",{"type":23,"tag":153,"props":164,"children":165},{},[166],{"type":28,"value":167},"包工头",{"type":23,"tag":126,"props":169,"children":170},{},[171,175,180],{"type":23,"tag":153,"props":172,"children":173},{},[174],{"type":28,"value":17},{"type":23,"tag":153,"props":176,"children":177},{},[178],{"type":28,"value":179},"给目标、走人、完事 review",{"type":23,"tag":153,"props":181,"children":182},{},[183],{"type":28,"value":184},"CEO",{"type":23,"tag":126,"props":186,"children":187},{},[188,197,200],{"type":23,"tag":153,"props":189,"children":190},{},[191],{"type":23,"tag":192,"props":193,"children":196},"img",{"alt":194,"src":195},"image.png","https://jjbiji-pic.oss-cn-beijing.aliyuncs.com/20260525112115284.png",[],{"type":23,"tag":153,"props":198,"children":199},{},[],{"type":23,"tag":153,"props":201,"children":202},{},[],{"type":23,"tag":24,"props":204,"children":205},{},[206],{"type":28,"value":207},"在指令模式下，你是个包工头。AI是个听话但没主见的工人，你得盯着、指挥着、验收着。好处是可控，坏处是累。",{"type":23,"tag":24,"props":209,"children":210},{},[211],{"type":28,"value":212},"在委托模式下，你是个CEO。你定战略、定目标，AI是执行力超强的团队。好处是你可以同时推进多个任务，坏处是你得学会\"放手\"和\"验收\"。",{"type":23,"tag":24,"props":214,"children":215},{},[216,221],{"type":23,"tag":41,"props":217,"children":218},{},[219],{"type":28,"value":220},"这就是为什么很多人说\"AI编程没想象中那么爽\"——因为你还在用指令模式的思维，去用委托模式的工具。",{"type":23,"tag":192,"props":222,"children":224},{"alt":194,"src":223},"https://jjbiji-pic.oss-cn-beijing.aliyuncs.com/20260525112148554.png",[],{"type":23,"tag":52,"props":226,"children":228},{"id":227},"一个反直觉的观察",[229],{"type":28,"value":227},{"type":23,"tag":24,"props":231,"children":232},{},[233],{"type":28,"value":234},"有意思的是，Anthropic 和 OpenAI 在同一天，发布了方向几乎一致的功能。",{"type":23,"tag":24,"props":236,"children":237},{},[238],{"type":28,"value":239},"这说明什么？",{"type":23,"tag":24,"props":241,"children":242},{},[243],{"type":23,"tag":41,"props":244,"children":245},{},[246],{"type":28,"value":247},"不是某一家公司拍脑袋做创新，而是这个技术路线已经成熟到行业共识了。",{"type":23,"tag":24,"props":249,"children":250},{},[251],{"type":28,"value":252},"就像智能手机取代功能机，不是某一家厂商的选择，而是整个产业链和用户需求共同推动的结果。",{"type":23,"tag":24,"props":254,"children":255},{},[256],{"type":28,"value":257},"AI编程从指令到委托的升级，也是一样的道理。当多智能体协作、长任务执行、目标导向这些能力同时在两个头部产品中出现，就意味着：",{"type":23,"tag":24,"props":259,"children":260},{},[261],{"type":23,"tag":41,"props":262,"children":263},{},[264],{"type":28,"value":265},"这个范式转移，已经发生了。",{"type":23,"tag":52,"props":267,"children":269},{"id":268},"对程序员来说意味着什么",[270],{"type":28,"value":268},{"type":23,"tag":24,"props":272,"children":273},{},[274],{"type":28,"value":275},"我身边有两种程序员。",{"type":23,"tag":24,"props":277,"children":278},{},[279,284],{"type":23,"tag":41,"props":280,"children":281},{},[282],{"type":28,"value":283},"一种还在用指令模式：",{"type":28,"value":285}," 每天花大量时间写 prompt、调 prompt、验收 AI 生成的代码。用的很熟练，但很累，觉得 AI 就是个高级剪贴板。",{"type":23,"tag":24,"props":287,"children":288},{},[289,294],{"type":23,"tag":41,"props":290,"children":291},{},[292],{"type":28,"value":293},"另一种已经进入委托模式：",{"type":28,"value":295}," 定好需求就切去做别的事，等 AI 跑完再来看结果。用的没那么精细，但效率是我的好几倍。",{"type":23,"tag":24,"props":297,"children":298},{},[299,301,306],{"type":28,"value":300},"这两种人的差距，不在技术，在",{"type":23,"tag":41,"props":302,"children":303},{},[304],{"type":28,"value":305},"认知",{"type":28,"value":307},"。",{"type":23,"tag":24,"props":309,"children":310},{},[311],{"type":28,"value":312},"用指令模式的人，把 AI 当工具。用委托模式的人，把 AI 当同事。",{"type":23,"tag":24,"props":314,"children":315},{},[316],{"type":28,"value":317},"工具和同事的区别是什么？",{"type":23,"tag":24,"props":319,"children":320},{},[321],{"type":28,"value":322},"工具你得拿着用，同事你可以把事情交给他。",{"type":23,"tag":52,"props":324,"children":326},{"id":325},"怎么切换到委托模式",[327],{"type":28,"value":325},{"type":23,"tag":24,"props":329,"children":330},{},[331],{"type":28,"value":332},"说了这么多虚的，来点实在的。",{"type":23,"tag":24,"props":334,"children":335},{},[336],{"type":23,"tag":41,"props":337,"children":338},{},[339],{"type":28,"value":340},"第一，学会定义目标，而不是描述过程。",{"type":23,"tag":24,"props":342,"children":343},{},[344],{"type":28,"value":345},"❌ 指令模式：帮我写一个用户登录的函数，包括用户名密码校验，登录成功后跳转到首页。",{"type":23,"tag":24,"props":347,"children":348},{},[349],{"type":28,"value":350},"✅ 委托模式：实现一个完整的用户认证流程，保证安全和体验，具体技术方案你来定，最后给我讲清楚设计思路。",{"type":23,"tag":24,"props":352,"children":353},{},[354],{"type":23,"tag":41,"props":355,"children":356},{},[357],{"type":28,"value":358},"第二，设定边界，而不是全程盯梢。",{"type":23,"tag":24,"props":360,"children":361},{},[362,364,369],{"type":28,"value":363},"委托模式的核心是",{"type":23,"tag":41,"props":365,"children":366},{},[367],{"type":28,"value":368},"信任+验收",{"type":28,"value":370},"。你信任 AI 能把事情做好，但保留最终验收的权利。",{"type":23,"tag":24,"props":372,"children":373},{},[374],{"type":28,"value":375},"就像管理团队一样，你不需要盯着每个员工写代码，但你需要review他们的输出。",{"type":23,"tag":24,"props":377,"children":378},{},[379],{"type":23,"tag":41,"props":380,"children":381},{},[382],{"type":28,"value":383},"第三，接受\"不够优雅\"的执行。",{"type":23,"tag":24,"props":385,"children":386},{},[387,389,394],{"type":28,"value":388},"委托模式下的 AI 输出，往往不是最优解，但是",{"type":23,"tag":41,"props":390,"children":391},{},[392],{"type":28,"value":393},"可用的解",{"type":28,"value":307},{"type":23,"tag":24,"props":396,"children":397},{},[398,400],{"type":28,"value":399},"你要的不是一个完美的解决方案，而是一个能跑起来的方案，然后在此基础上迭代。\n",{"type":23,"tag":192,"props":401,"children":403},{"alt":194,"src":402},"https://jjbiji-pic.oss-cn-beijing.aliyuncs.com/20260525112238730.png",[],{"type":23,"tag":52,"props":405,"children":407},{"id":406},"anthropic-提前盈利的启示",[408],{"type":28,"value":409},"Anthropic 提前盈利的启示",{"type":23,"tag":24,"props":411,"children":412},{},[413],{"type":28,"value":414},"就在 Claude Code 发布 Workflow 的同一天，我看到另一个新闻：",{"type":23,"tag":24,"props":416,"children":417},{},[418],{"type":23,"tag":41,"props":419,"children":420},{},[421],{"type":28,"value":422},"Anthropic Q2 预计营收 109 亿美元，提前三年盈利。",{"type":23,"tag":24,"props":424,"children":425},{},[426],{"type":28,"value":427},"官方说编程工具是主要功臣。",{"type":23,"tag":24,"props":429,"children":430},{},[431],{"type":28,"value":432},"这让我想到一个问题：为什么是编程工具先跑通商业化？",{"type":23,"tag":24,"props":434,"children":435},{},[436,438,443],{"type":28,"value":437},"因为编程是",{"type":23,"tag":41,"props":439,"children":440},{},[441],{"type":28,"value":442},"验收最清晰的场景",{"type":28,"value":444},"。代码能跑就是能跑，不能跑就是不能跑。AI 的价值能被精确测量，企业愿意为此付钱。",{"type":23,"tag":24,"props":446,"children":447},{},[448,450],{"type":28,"value":449},"换个角度想：",{"type":23,"tag":41,"props":451,"children":452},{},[453],{"type":28,"value":454},"当 AI 能把代码写清楚、把任务执行到位，它就已经从\"助手\"变成了\"生产力\"。",{"type":23,"tag":24,"props":456,"children":457},{},[458,460,465],{"type":28,"value":459},"而我们程序员要做的，就是学会",{"type":23,"tag":41,"props":461,"children":462},{},[463],{"type":28,"value":464},"委托",{"type":28,"value":466},"，而不是事必躬亲。",{"type":23,"tag":52,"props":468,"children":470},{"id":469},"我的判断",[471],{"type":28,"value":469},{"type":23,"tag":24,"props":473,"children":474},{},[475],{"type":28,"value":476},"AI编程的下一个分水岭，不是哪个模型更强、哪个工具更好用。",{"type":23,"tag":24,"props":478,"children":479},{},[480,482],{"type":28,"value":481},"而是：",{"type":23,"tag":41,"props":483,"children":484},{},[485],{"type":28,"value":486},"你愿不愿意、会不会把自己从\"执行者\"变成\"管理者\"。",{"type":23,"tag":24,"props":488,"children":489},{},[490],{"type":28,"value":491},"委托模式不是让你躺平，而是让你把精力从\"怎么做\"切换到\"做什么\"和\"做成什么样\"。",{"type":23,"tag":24,"props":493,"children":494},{},[495],{"type":28,"value":496},"这是一种思维模式的升级，也是程序员转型路上最关键的一步。",{"type":23,"tag":24,"props":498,"children":499},{},[500],{"type":23,"tag":501,"props":502,"children":503},"em",{},[504],{"type":28,"value":505},"加加笔记 | 程序员转型智能体开发",{"title":7,"searchDepth":507,"depth":507,"links":508},2,[509,510,511,512,513,514,515],{"id":54,"depth":507,"text":54},{"id":109,"depth":507,"text":109},{"id":227,"depth":507,"text":227},{"id":268,"depth":507,"text":268},{"id":325,"depth":507,"text":325},{"id":406,"depth":507,"text":409},{"id":469,"depth":507,"text":469},"markdown","content:blogs:claude-codex-delegation-mode.md","content","blogs/claude-codex-delegation-mode.md","blogs/claude-codex-delegation-mode","md",{"loc":4},1779683822868]