TL;DR
Multi-agent LLM systems excel at long-horizon tasks but frequently suffer from coordination errors and role drift. Existing methods to automatically improve these systems hit a "context bottleneck" by forcing a single centralized model to analyze the entire team's messy history. This paper introduces Meta-Team, a framework where agents collaboratively self-evolve by preserving their local contexts and communicating post-task to diagnose failures, achieving state-of-the-art performance across six complex benchmarks.
What Problem Does This Paper Address?
Large Language Model (LLM) Multi-Agent Systems (MAS) are designed to tackle complex, long-horizon tasks using a divide-and-conquer approach. By distributing responsibilities, they prevent any single agent from suffering from context overload. However, these systems still frequently fail due to miscommunication, role drift, or cascading errors.
To fix this, researchers have turned to "experience-driven evolution"—allowing the system to learn from its past mistakes. Unfortunately, existing approaches rely on a Global Scheme, flattening the entire multi-agent interaction history into a single massive prompt for a centralized LLM analyzer. This completely reintroduces the exact single-context bottleneck that MAS was built to avoid. As trajectories grow longer (e.g., exceeding 128K tokens), centralized analyzers fail to accurately pinpoint where things went wrong.
Methods
The authors propose Meta-Team, which operates on a simple principle: a MAS should not only execute as a team, but also evolve as a team.
Instead of a single central analyzer, Meta-Team uses a Collaborative Scheme. Each agent carries its own local execution context into the evolution stage. After a task finishes, agents engage in post-task communication to exchange their local findings and trace how their outputs affected downstream steps.
Evolution occurs at three distinct scales:
- Agent-Level (L1): Individual agents reflect on their own execution chains and update their personal prompts and scaffolds.
- Interaction-Level (L2): Agents refine their communication protocols and update "teammate profiles" to better understand each other's strengths and weaknesses.
- Team-Level (L3): The team collectively discusses its overall organization, adjusting the shared team constitution or changing the team roster (e.g., adding or removing specialized roles).
Datasets
The authors evaluated failure attribution on TraceElephant (a benchmark containing 220 real multi-agent failure traces). For system evolution, they tested Meta-Team across six challenging, long-horizon benchmarks:
- SWE-bench Pro & BeyondSWE: Realistic, multi-file software engineering and repository-level tasks.
- LOCA-Bench: Long-context productivity assistant tasks with extreme context growth (up to 256K tokens).
- GAIA: Multi-step open-web reasoning and tool use.
- LoCoBench: Long-context repository-level coding.
- ResearchRubrics: Open-ended research evaluation across multiple domains.
Key Insights and Ideas
- The Global-Local Trade-off: Purely global analysis suffers from context and reasoning bloat, while purely local analysis lacks the cross-agent awareness to see how an early mistake caused a downstream failure. Collaborative self-evolution elegantly bridges this gap.
- Endogenous Feedback: Post-task communication turns the team's internal interactions into rich feedback signals, moving beyond sparse, binary success/failure rewards.
- Bottom-Up Organization: Rather than relying on top-down human design, the multi-agent system can dynamically realize it needs a new role (like a "citation verifier" or extra workers) based on actual task friction.
Key Results
- Superior Performance: Meta-Team consistently achieved the highest performance across all six benchmarks, outperforming the strongest prior evolution baseline (MASFly) by an average of 6.3 points.
- Massive Gains on Long Horizons: On SWE-bench Pro (Ansible), Meta-Team beat the baseline hand-crafted MAS by 13.1 points.
- Context Scalability: In LOCA-Bench tests, as context scaled up to 256K tokens, single-agent performance tanked, but Meta-Team maintained robust performance. It even learned to spin up two additional worker agents during the evolution phase to handle the extreme load.
- Out-of-Distribution Generalization: When evolved strictly on Python tasks in LoCoBench, Meta-Team's learned coordination patterns successfully transferred to C, C++, and Java tasks without further training.
Limitations and Future Work
- Scaffold-Only Evolution: Meta-Team only modifies prompts, collaboration patterns, and organizational rules. It does not adapt the underlying execution infrastructure, such as tool APIs, environment harnesses, or memory backends.
- No Weight Updates: The framework does not update the actual parameters of the underlying LLMs. The authors note that combining collaborative self-evolution with fine-tuning or reinforcement learning to internalize these recurring team behaviors is a promising future direction.
Summary updated