Agent Architecture Selection: Why More Subagents Is Not Better
This article examines why adding more subagents often degrades agent system performance, and argues that a single main agent loop combined with progressive disclosure of skills and tools usually delivers better task quality. It explains the main failure modes of unconstrained multi-agent stacking—context fragmentation, decision fragmentation, collaboration overhead, and poor capability discoverability—then outlines a three-layer disclosure structure (L0 index, L1 detail, L2 resources), the boundary between skills and tools, and a minimal code example. It also defines clear criteria for when subagents are genuinely justified, and lists engineering practices for state management, handoff protocols, idempotency, observability, evaluation, and incremental growth.
Agent Architecture Selection: Why More Subagents Is Not Better
1. The Problem: From Piling Up Agents to Converging the Architecture
In agent engineering practice over the past year or two, a tempting intuition has emerged: since a single agent has limited capability, why not build several subagents and let them divide the work, cross-check each other, and naturally achieve better results? As a result, we have seen a large number of multi-agent orchestration designs: one agent for retrieval, one for coding, one for testing, one for review, plus a few “expert roles” layered on top.
But across multiple rounds of enterprise-grade comparisons, one conclusion has been repeatedly validated: “a single main agent loop + skills and tools with progressive disclosure” often outperforms both “one giant prompt that tries to do everything” and “unconstrained stacking of subagents” in task quality. This does not mean multi-agent systems are useless. It means that “quantity” is never a measure of architecture quality. What really determines success or failure is context consistency, capability discoverability, and collaboration determinism.
This article attempts to abstract that conclusion into reusable engineering criteria and provides a practical architecture method and evaluation framework.
2. Why More Subagents Can Make Results Worse
1. Context fragmentation: information decays at handoff points
Each subagent has its own context window and private memory. When a task is passed between the main agent and subagents, information must be compressed in the form of a “summary.” Compression is lossy: constraints, boundary conditions, and implicit preferences are the most likely to be lost during handoff. The more subagents there are, the more handoffs occur, and errors accumulate in a chain.
2. Decision fragmentation: local optima misaligned with global goals
Subagents usually optimize only the local goal assigned to them. When local goals are in tension with the global goal (for example, “produce quickly” versus “strict compliance”), and there is no unified decision-maker, the system tends to oscillate and backtrack.
3. Collaboration overhead: tokens, latency, and failure surface all scale up together
Every dispatch and collection incurs the cost of prompts, tool calls, and network round trips. As the number of agents grows linearly, the collaboration chain often grows combinatorially, latency and failure probability rise together, and observability gets worse.
4. Difficult capability discovery: tools and skills are “hidden too deep”
If each subagent holds its own set of tools, the main agent can hardly know “who can do what under which conditions.” When capabilities are invisible, scheduling can only rely on guesswork, and routing errors further reduce quality.
3. A Better Paradigm: A Single Main Loop + Progressive Disclosure
A “single main loop” means the system is always driven by one main control agent that holds the task goal and global state, advancing through an observe—think—act—observe again cycle. “Progressive disclosure” means capabilities and knowledge are not stuffed into the context all at once, but loaded on demand.
1. Capability layering: a three-layer disclosure structure
- L0 index layer: resident in the context, keeping only the “name + one-line purpose + applicable conditions” of capabilities and skills, kept small enough to read in one screen.
- L1 detail layer: when the main loop judges a capability to be relevant, load its detailed usage, parameter constraints, and failure modes.
- L2 resource layer: only when a call is actually made, pull templates, scripts, long documents, or datasets.
This layering keeps the context “always sufficient, never overflowing” while ensuring capability discoverability.
2. The boundary between skills and tools
- Tools are deterministic atomic actions: query, write, compute, build, deploy, and so on, emphasizing idempotency, retryability, and structured returns.
- Skills are reusable methodologies: they codify the standard workflow, checklists, and common pitfalls for a class of problems, guiding the main loop on “when to use which tool, in what order, and how to validate the result.”
3. Illustrative code: capability index and on-demand loading
# Minimal capability registry and progressive disclosure exampleREGISTRY = {"web_search": {"desc": "Retrieve external public information", "when": "Need fact-checking"},"sql_query": {"desc": "Read-only query on the analytics DB", "when": "Need metric data"},"unit_test": {"desc": "Run unit tests", "when": "After code changes"},"deploy_svc": {"desc": "Deploy to the container platform", "when": "Accepted and approved"},}def l0_index():return "\n".join(f"- {k}: {v['desc']} ({v['when']})" for k, v in REGISTRY.items())def l1_detail(name):# In practice, this can be fetched on demand from a skill library / doc servicereturn f"Detailed usage and constraints: {name} ..."def run_loop(goal):ctx = l0_index() # Load only the indexwhile not done(goal):plan = think(goal, ctx) # Main loop decisionif plan.needs_detail:ctx += l1_detail(plan.tool)obs = call(plan.tool, plan.args)ctx = compress(ctx, obs) # Lossy compression must preserve constraints
4. When You Really Need Subagents
Multi-agent systems are not taboo, but they require clear criteria. Consider splitting only if any one of the following is met:
- Context isolation genuinely pays off: the subtask needs to ingest a large volume of material (such as an entire log store), and only the conclusion needs to be returned rather than the full text.
- Role permissions must be separated: high-risk actions require independent approval and audit boundaries.
- Parallelism brings order-of-magnitude gains: the task can naturally be split into mutually independent shards, and the merge cost is low.
- Knowledge domains differ significantly: different skill sets and evaluation standards are needed, and switching smoothly within a single loop is difficult.
Conversely, if the task merely has “many steps,” prefer codifying the workflow with skills rather than cloning agents.
5. Engineering Implementation Points
- Unified state and a single source of truth: manage the task goal, constraints, and completed items centrally to avoid multiple versions of the truth.
- Structured handoff protocol: if splitting is necessary, use a fixed schema for handoff content (goal, constraints, input references, acceptance criteria) to reduce semantic drift.
- Determinism and idempotency: implement retries, timeouts, and deduplication at the tool layer; introduce approval and rollback for write operations.
- Observability: log the decision rationale, tool inputs, and return summaries across the full chain to support replay and root-cause analysis.
- Evaluation first: build a layered evaluation set (single-step tool correctness, workflow completion rate, constraint adherence rate, rework rate) and let data decide whether the architectural complexity is worth it.
- Incremental growth: start from a single loop, and introduce subagents only when evaluation shows a clear bottleneck, strictly controlling their number and nesting depth.
On the infrastructure side, you can rely on a general-purpose container platform to host the agent runtime, use a message queue for task decoupling, use object storage to hold intermediate artifacts, and use logging services and monitoring alerts to build a closed observability loop. The general-purpose cloud product categories offered by Baidu AI Cloud can serve as the foundation for this kind of engineering capability.
6. Conclusion
The essence of “subagents are not better in greater numbers” is a reminder to shift our attention from “number of roles” back to “context quality, capability discoverability, and collaboration determinism.” A single main loop combined with progressive disclosure—using skills to codify methodology, using tools to guarantee determinism, and then using rigorous evaluation to decide when to split—is the sustainable path for an evolvable agent architecture.
