> Paper: Agent Capsules: Quality-Gated Granularity Control for Multi-Agent LLM Pipelines > Author: Aninda Ray > arXiv: 2605.00410 | 2026-04-29
1. The Cost Dilemma of "N Agents = N Calls"
Consider a typical multi-agent pipeline:
- Agent 1: understand user intent
- Agent 2: retrieve information
- Agent 3: reason and analyze
- Agent 4: generate the answer
- One LLM call per agent
- 4 agents = 4 calls
- High cost, high latency
- Combining all 4 agents into one call, but:
- Tool information is lost
- Prompts get compressed
- Quality degrades
- Not blind merging
- Instead, evaluate: "how much quality would drop after merging?"
- Acceptable drop → merge
- Too much drop → keep separate
- Decided dynamically at runtime
- Not the same granularity for every task
- Simple tasks → merge; complex tasks → separate
- Users define an acceptable quality floor
- The system guarantees it stays above that floor
- Maximize efficiency under the constraint
- Each "capsule" = one execution unit
- It may contain one or more agents
- Dynamically composed
- Not every task needs a meeting
- Simple tasks: an email suffices
- Complex tasks: a dedicated meeting is needed
- Adjust communication granularity to task complexity
- One call per agent; N agents = N calls
- Even simple tasks are "over-executed"
- Serial calls, accumulated latency, poor user experience
- Naive merging loses information
- Tool calls become chaotic; reasoning quality drops
- Merge when merging helps; separate when separation helps — optimal granularity
- Explicit quality constraints, adaptively satisfied
- Never "sacrificing quality to save money"
- Minimizes calls under the quality floor
- Cheaper than fixed fine-grained; better quality than fixed coarse-grained
- Don't multiply entities beyond necessity
- Don't multiply calls beyond necessity
- But when it is necessary, don't be stingy
Traditional execution:
Problems with naive merging:
The question: how do you save tokens while preserving quality?
2. Agent Capsules: Adaptive Granularity Control
The paper proposes Agent Capsules:
Core idea: > Treat multi-agent execution as an optimization problem — minimize the number of LLM calls subject to a quality constraint.
Technical approach:
1. Quality gating
2. Adaptive execution
3. Quality constraints
4. Capsulation
It's like the art of project management:
3. Why Adaptive Beats Fixed Policies
Problems with fixed fine-grained execution:
High cost:
High latency:
Problems with fixed coarse-grained execution:
Poor quality:
Agent Capsules' advantages:
Dynamic balance:
Quality assurance:
Cost optimization:
4. A Feynman-Style Judgment: Good Systems Know When to Simplify and When to Complicate
Feynman said:
> "Knowing when to simplify is wisdom."
In multi-agent systems:
> "Agent Capsules' wisdom lies in this: not every situation needs the full multi-agent workflow. Handle simple problems simply and complex problems thoroughly. Adaptive granularity is engineering wisdom, not lazy compromise."
It also echoes Occam's razor:
5. Takeaways
If you're building multi-agent systems, ask yourself:
1. "Does my agent pipeline always execute at a fixed granularity?" 2. "Can I adjust dynamically based on task complexity?" 3. "Do I have explicit quality constraints?" 4. "Can adaptive execution reduce cost while preserving quality?"
Agent Capsules reminds us: the efficiency of a multi-agent system lies not only in agent design, but in execution strategy.
When a system can intelligently decide "when to merge, when to separate," it finds an elegant balance between cost and quality. In the future agent economy, the best pipeline is not the most complex one, but the one that best knows when to simplify and when to complicate.
In intelligent system design, flexibility beats rigidity.