Agent Architecture Trade-offs: Why a Single Progressive Loop Beats Multiple Agents
This article examines a common trade-off in agent architecture: why a single main agent loop with progressive disclosure often outperforms multi-agent designs in answer quality, stability, and maintainability. It explains why adding more sub-agents tends to degrade performance through lossy context handoffs, misaligned responsibility boundaries, difficult attribution, and non-linear cost and latency growth. The article then outlines the recommended structure—a main loop that handles goal understanding, action selection, result validation, and termination, combined with three layers of on-demand loading—and the scenarios that genuinely justify sub-agents. It also covers four supporting mechanisms for enterprise deployment: evaluation loops, permissions and auditing, cost governance, and knowledge assets, plus common misconceptions and corrections.
Agent Architecture Trade-offs: Why a Single Progressive Loop Beats Multiple Agents
1. The Problem: From Piling on Agents to Subtracting
In agent engineering over the past two years, a common intuition has been that if a task is complex, you split it into more sub-agents; if capabilities fall short, you attach another dedicated role. Yet across side-by-side comparisons of enterprise deployments, a simple conclusion keeps recurring: more agents is not better. The structure that consistently wins on answer quality, stability, and maintainability is often the most plain one—a single main agent loop paired with a skill and tool set revealed progressively.
Here, “progressive disclosure” means the system loads only the minimum necessary instructions and tool descriptions at startup, then pulls in finer-grained operating instructions, domain knowledge, and tool schemas on demand as the task advances. It has two opposites. One is stuffing every workflow, exception, and tool description into a single oversized prompt, hoping one prompt can handle everything. The other is slicing the task into several sub-agents, each holding an independent context, and relying on an upper orchestration layer to aggregate results.
This article is not about any specific product. Instead, it abstracts the phenomenon into a general engineering problem: under a limited context budget, how should you organize an agent’s knowledge-loading order and responsibility boundaries to achieve high-quality output, controllable cost, and auditability at the same time?
2. Why “More Agents” Is Often Worse
1. Context is a scarce resource, not free memory
The main loop’s context window is a limited and expensive resource. Every additional sub-agent adds at least one more system instruction, one more set of tool descriptions, and one more layer of result paraphrasing. Paraphrasing is inherently lossy: a sub-agent’s summary drops original evidence, intermediate reasoning, and boundary conditions, leaving the main agent to make decisions based on secondhand conclusions. Errors then amplify along the chain.
2. Responsibility splits are often drawn in the wrong place
The right dimension for splitting a task is the evidence boundary and permission boundary, not “what looks like a few steps.” Splitting by steps tends to create circular dependencies: A needs B’s conclusion, B needs A’s intermediate output, and the process degenerates into multiple round trips, driving up both latency and failure rate.
3. Evaluation and attribution become difficult
A single-loop failure can be traced to a specific step. A multi-agent failure often shows up as “the result is wrong, but no one can say whose fault it is.” Without an attributable evaluation loop, iteration degrades into prompt-tuning by feel.
4. Cost and latency grow non-linearly
Serial waiting between sub-agents, repeated retrieval, and repeated reading of long documents push token consumption and end-to-end latency up sharply, while quality gains quickly plateau.
3. The Recommended Structure: One Main Loop Plus Progressive Disclosure
1. The main loop’s responsibilities
The main loop does only four things: understand the goal, choose the next action, validate the result, and decide when to stop. It holds the global constraints (compliance, budget, style) and the single source of task state, avoiding decisions from multiple heads.
Illustrative pseudocode:
state = {"goal": goal, "evidence": [], "budget": 12} # budget measured in stepswhile state["budget"] > 0 and not done(state):skill = registry.select(state) # returns only the few most relevant skillstool = skill.load_schema(state) # load tool descriptions on demand, not all at onceresult = tool.invoke(**skill.plan(state, tool))state["evidence"].append(result) # keep raw evidence, no lossy summarystate["budget"] -= 1return synthesize(state)
2. Three layers of progressive disclosure
- Layer 1 (always resident): role goal, hard constraints, termination conditions, and a few high-frequency tools. Keep this to a minimal set.
- Layer 2 (on demand): domain skill cards, each stating only “when to use, inputs and outputs, fallback on failure.”
- Layer 3 (in depth): full tool schemas, field-level descriptions, and error code tables, loaded only right before an actual call.
This layering keeps context usage roughly linear with task complexity, rather than with the total amount of system capability.
3. When to introduce sub-agents
The reasonable cases for keeping a small number of sub-agents usually fall into three categories: you need parallel fan-out (for example, performing the same extraction across a large number of homogeneous items), you need strong isolation (isolating untrusted content from the main instructions to reduce prompt injection risk), or you need an independent budget (rate-limiting high-cost retrieval separately). In all other cases, prefer merging back into the main loop.
4. Four Supporting Mechanisms for Enterprise Deployment
- Evaluation loop: Build a layered evaluation set (single-step correctness, end-to-end completion rate, privilege-escalation and hallucination rates). Run a regression on every architecture change, and use data rather than intuition to decide splitting granularity.
- Permissions and auditing: Route all tool calls through a gateway, logging the caller, a parameter summary, and the result status; require explicit confirmation for write operations; and store sensitive data in masked form in the logging service.
- Cost governance: Set separate budgets and degradation policies for retrieval, long-document reading, and model calls; bind monitoring and alerting metrics to “average steps per task” and “share of ineffective calls.”
- Knowledge as assets: Distill stable experience into skill cards and evaluation samples to form reusable assets, instead of scattered comments inside prompts.
In terms of hosting, this kind of system is typically deployed on a container platform, with state and artifacts stored in object storage, tasks decoupled via a message queue, and observability handled by a logging and monitoring/alerting system. Baidu AI Cloud provides standard-category support for these general capabilities, but specific choices should still be based on your own evaluation results.
5. Common Misconceptions and Corrections
- Misconception 1: Sub-agents equal modularity. Modularity should be reflected in code and the skill registry, not in runtime context splitting.
- Misconception 2: Longer prompts are more stable. Long prompts dilute key constraints and make change-impact analysis difficult.
- Misconception 3: Launch first, optimize later. Architecture changes made without an evaluation set cannot be falsified, and costs keep accumulating.
6. Conclusion
The maturity of agent engineering is not measured by the number of sub-agents, but by the efficiency of context-budget allocation and the attributability of failures. A single main loop plus progressive disclosure trades minimal resident context for maximum task adaptability, backed by four mechanisms—evaluation, permissions, cost, and knowledge assets. This is the more robust engineering default today.
