Evolving Agent Teams
Shiyi Cao, Ziming Mao, Dacheng Li, Joseph Gonzalez, Ion Stoica
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › GPU Kernel Optimization and Benchmarking · Type: new method · Keywords: multi-agent frameworks, code optimization, local optima escape, GPU kernel generation, agent supervision, persistent memory
Areas: Code & Coding Agents › Code Generation and Optimization › GPU Kernel Optimization; AI Agents › Agentic Decision Making › Agentic Optimization and Evaluation
Summary
Evolving Agent Teams is a multi-agent framework that escapes local optima in code generation by using a supervisor to diagnose and restructure agent roles and a persistent file system that records experience to guide improvements.
Explained to a 5-year-old
A group of computer helpers work together like a team to write special code for fast computer chips. They try to solve a puzzle where the code should run as quickly as possible. Sometimes they get stuck and only find a not-very-good solution. A boss watches over the team and notices when they are stuck. The boss helps the team change jobs so they can try new ideas.
Explained to a 5-year-old, longer
A group of computer helpers work together like a team to write special code for fast computer chips. They try to solve a puzzle where the code should run as quickly as possible. Sometimes they get stuck and only find a not-very-good solution. A boss watches over the team and notices when they are stuck. The boss helps the team change jobs so they can try new ideas. The team keeps a big notebook that records every attempt and what they learned. This notebook helps them remember good tricks from earlier tries. By using the notebook, the team can avoid repeating the same mistakes. This way they can find better code than a single helper could on its own. The new method makes the code run faster on special computer chips. It also works well when the team has limited time or resources. Overall, the approach helps computers solve hard coding problems more efficiently.
For a technical reader
The system uses a central supervisor to monitor each agent's progress and reorganize team responsibilities when performance stalls. A persistent file system stores a strategy tree, evolution log, and per-team artifacts to retain knowledge across iterations. This design allows the team to escape local optima that single agents typically encounter. Evaluation on GPU kernel benchmarks shows consistent gains over strong baselines and, with more resources, produces kernels that are 1.2× faster than a production reference. The approach is token-budget aware and can be integrated into existing code-generation pipelines.
Problem
Existing coding agents tend to converge to local optima when optimizing real-world code, limiting their ability to find globally optimal solutions.
Method
The approach employs a central supervisor that diagnoses local optima and restructures team roles, combined with a persistent file system that stores a strategy tree, evolution log, and per-team artifacts to ground restructuring in accumulated experience.
Results
Under a matched token budget, the approach consistently outperforms strong coding-agent baselines, and with an extended budget it generates a CUDA kernel achieving a 1.2× mean speedup over the FlashInfer MLA paged decode kernel and wins on 36 of 47 workloads.
Contributions
The paper introduces a multi-agent framework with a supervisor for diagnosing and restructuring agent roles and a persistent file system that records evolution history, enabling escape from local optima in code generation.
Practical relevance
It enables more effective automated code optimization for GPU kernels, potentially improving performance of production systems.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction