Back to home

Compare

Comparing: AI Coding Now Uses Subagents: Multi-Agent Collaboration Becomes the New Norm & AI 编程开始用子 Agent 分工 — 多智能体协作正在成为效率新常态

AEN
Claude CodeCodexSubagent·

AI Coding Now Uses Subagents: Multi-Agent Collaboration Becomes the New Norm

Work that previously had to be handled one item at a time in a single AI chat window is increasingly being split into multiple subtasks and completed in parallel. Built-in subagent orchestration in tools such as Claude Code and Codex, along with practices that let users define custom roles, shows that the competitive focus of AI coding is shifting from “whether the model can write code” to “whether it can organize complex work.”

What this is

A subagent is a collaboration unit dispatched by a primary AI to execute tasks in an independent environment and return results. It mirrors real-world team division of labor: the primary agent understands requirements and coordinates the work, while individual subagents handle code retrieval, test analysis, solution evaluation, or read-only review.

Its core value is addressing context bloat—the limited amount of information an AI can retain within a single conversation. When reading source code, logs, and files at scale, the primary agent does not need to receive every step; it only needs paths, conclusions, and summaries of changes. Non-conflicting tasks can also run in parallel, reducing waiting time. Mainstream coding tools already offer related mechanisms. Claude Code takes an active approach to default orchestration, while Codex generally requires more explicit role and rule configurations.

Industry view

Multi-agent collaboration is turning AI from a “chat assistant” into an organizable work system. Enterprises no longer need one model to handle every stage. They can assign retrieval, review, and execution to cheaper or more suitable models, lowering per-call costs while reducing the interference of irrelevant information with the main workflow.

But we should not equate “parallel” directly with “higher efficiency.” Multiple subagents modifying the same file can create overwrites or merge difficulties; workflows that depend on prior results cannot be parallelized; and high-risk actions such as deployment, database deletion, and changes to core configuration are even less suitable for automatic authorization. A subagent’s reliability also depends on whether tasks are clearly decomposed, returned results are verifiable, and the primary agent has strong enough orchestration capabilities. If the rules are vague, multiple agents may simply produce more rework faster.

Impact on regular people

For enterprise IT: Code troubleshooting, migration assessments, and log diagnostics that once required multiple people to hand work off are becoming auditable automated workflows. Enterprises should begin by opening up read-only analysis, then progressively enable low-risk execution, while setting boundaries for permissions and result review.

For individual careers: People who use AI will no longer succeed merely by “asking better questions.” They will need to learn how to decompose tasks, define roles, and accept outputs. This collaborative capability will gradually become a job requirement in fields such as R&D, consulting, and operations.

For the consumer market: Products with multi-agent capabilities will stall less often and forget less, but users will not see the internal collaboration details. Whether a product is reliable still comes down to task completion rates, response time, and its ability to recover from errors—not the number of agents.

Source: juejin.cn
BZH
Claude CodeCodexSubagent·

AI 编程开始用子 Agent 分工 — 多智能体协作正在成为效率新常态

过去只能靠一个 AI 对话窗口逐项处理的工作,正在被拆成多个子任务并行完成。Claude Code、Codex 等工具内置的子 Agent 调度,以及可自定义角色的实践表明,AI 编程的竞争重点正从“模型会不会写代码”转向“能否把复杂工作组织好”。

这是什么

子 Agent(Subagent)是由主 AI 派出、在独立环境执行任务并返回结果的协作单元。它对应现实中的团队分工:主 Agent 负责理解需求和统筹,子 Agent 分别负责代码检索、测试分析、方案评估或只读审查。

它解决的核心问题是上下文膨胀(AI 在一次对话中保留的信息量有限)。大范围读取源码、日志和文件时,主 Agent 不必接收全部过程,只需拿到路径、结论和改动摘要。互不冲突的任务还可并行执行,从而缩短等待时间。主流编程工具已经提供相关机制,Claude Code 的默认调度较积极,Codex 则通常需要更明确的角色和规则配置。

行业怎么看

值得肯定的是,多 Agent 协作正在把 AI 从“聊天助手”变成可组织的工作系统。企业不必让一个模型处理所有环节,而可把检索、审查、执行分别交给更便宜或更合适的模型,降低单次调用成本,也减少无关信息对主流程的干扰。

但我们不应把“并行”直接等同于“更高效率”。多个子 Agent 同时修改同一文件,可能造成覆盖或合并困难;必须依赖前序结果的流程无法并行;部署、删库和修改核心配置等高风险动作,更不适合自动放权。子 Agent 的可靠性还取决于任务拆分是否清晰、返回结果是否可验证,以及主 Agent 是否具备足够好的调度能力。若规则含糊,多个 Agent 可能只是更快地产生更多返工。

对普通人的影响

对企业 IT:过去需要多人接力完成的代码排查、迁移评估和日志诊断,正在变成可审计的自动化流程。企业应先开放只读分析,再逐步开放低风险执行,并为权限和结果复核设置边界。

对个人职场:会使用 AI 的人将不再只是“更会提问”,而要学会拆分任务、定义角色和验收输出。这类协作能力会逐步进入研发、咨询、运营等岗位的工作要求。

对消费市场:具备多 Agent 能力的产品会更少卡顿、更少遗忘,但用户也看不到内部协作细节。产品是否可靠,最终仍要看任务完成率、响应时间和出错后的恢复能力,而不是 Agent 数量。

Source: juejin.cn