Meta's GitSwarm Solves All 30 Olympiad Proofs by Giving AI Agents Shared Memory
A new multi-agent framework uses a shared Git repository as working memory, letting parallel LLM workers inspect, extend, and build on each other's attempts.
Takeaways
- GitSwarm uses a shared Git repo as persistent memory for parallel LLM agents working long-horizon tasks.
- Scores 79.4% on ProgramBench vs 65.1% for the strongest baseline under matched budget.
- Solves all 30 IMOProofBench-Advanced olympiad problems in a single run with GPT-5.5.
- 94.7% of worker contributions get built upon, and selected solutions inherit from 82-93% of the graph.
- Homogeneous workers emerge into roles like construction, repair, verification without any explicit assignment.
- Authored by researchers at Meta FAIR, Mila, CMU, Princeton, and Oxford including Weston, Salakhutdinov, and Arora.
Inference-time scaling, the compute spent after a model has been trained, commonly uses independent best-of-N samples or one extended chain-of-thought trajectory. Independent samples repeat dead ends because they cannot inspect their peers’ work, while long trajectories can lose details when context is compacted. GitSwarm stores intermediate work in a shared Git repository so later model workers can inspect, extend, test, or reject it.
Researchers from Meta FAIR, Mila, Carnegie Mellon, Princeton, and Oxford describe the system in the GitSwarm paper. The team includes Jason Weston, Ruslan Salakhutdinov, Sanjeev Arora, Aaron Courville, and Anirudh Goyal. Using GPT-5.5, the authors report solving all 30 problems in IMOProofBench-Advanced in one run. GitSwarm also records a 79.4% mean score on ProgramBench, compared with 65.1% for the strongest reported baseline under the stated compute budget.
How cumulative inference works
The authors call the approach compounding inference: intermediate results persist so subsequent workers can reuse evidence, challenge assumptions, combine branches, and repair earlier attempts. A failed experiment remains discoverable hours later, complete with its files, history, and relationship to other work.
A Git repository provides that institutional memory through familiar mechanisms. Commits preserve bounded changes, branches isolate competing approaches, and history records how the project developed. GitSwarm adds semantic dependency metadata so workers can credit useful work from branches outside a commit’s direct ancestry.
Git supplies the coordination layer
GitSwarm separates task selection from capacity management through three design choices:
- Decentralized task selection: Workers inspect the repository and choose their own contribution. No central planner assigns subtasks.
- Homogeneous workers: Every worker receives the same prompt and tools, without fixed roles such as planner, implementer, or critic.
- Asynchronous execution: A scheduler maintains
Cconcurrent workers and starts a replacement whenever one exits.
A worker turns the current repository state into one bounded contribution through a cycle that keeps provenance attached to every change:
- Clone the shared repository.
- Inspect prior commits, branches, artifacts, and activity.
- Select a specific contribution.
- Implement and test the change.
- Record it as an atomic Git commit.
- Optionally nominate a candidate solution.
The final answer is the candidate with the most nominations, according to the paper’s system description. The scheduler keeps workers available, while repository state guides their decisions.
Branches allow contradictory hypotheses to develop concurrently without overwriting one another. Workers can also add an informed_by= dependency when a contribution reuses evidence, reasoning, or code from another branch. Git parentage and these semantic links form an auditable contribution graph that later workers can navigate.
Results improve as workers accumulate
The evaluation covers two long-horizon benchmarks and three open-ended neural architecture research tasks. ProgramBench contains complex, multi-file software assignments, while IMOProofBench-Advanced contains olympiad-level proof problems. The paper denotes the total worker budget as B and concurrency as C.
| Benchmark | Task | Reported GitSwarm result |
|---|---|---|
| ProgramBench | Multi-file software engineering | 79.4% mean score, versus 65.1% for the strongest reported baseline under the stated budget |
| IMOProofBench-Advanced | Olympiad-level mathematical proofs | 30 of 30 problems solved in one run using GPT-5.5 |
The benchmark comparisons use sequential agents that are prompted to continue after reaching a stopping condition. As the worker budget increases, GitSwarm’s reported performance continues to rise and its lead over those baselines widens.
The research experiments use iterative hill climbing, where workers retain successful changes and continue exploring from them. GitSwarm modifies Residual Matrix Transformers, explores looped transformer variants initialized from work by Geiping and collaborators, and jointly optimizes architecture and training systems for Karpathy’s NanoChat.
During the Residual Matrix Transformer experiment, one worker revisited a failed modification 49.5 hours after its original attempt and extended it successfully. A later worker incorporated that result into the final architecture, demonstrating reuse across branches and long time intervals.
The contribution graph records reuse
Contribution-graph metrics test whether improvements arise from accumulated work across the swarm. On ProgramBench, 94.7% of contributions are subsequently built upon. The selected solution’s transitive ancestry covers 82% to 93% of the graph, depending on the worker budget.
Transitive ancestry includes every contribution reachable by repeatedly following Git parent links and informed_by= dependencies. High coverage indicates that selected solutions incorporate work from much of the swarm instead of originating in an isolated trajectory.
The benchmarks produce distinct graph shapes. ProgramBench solutions integrate broad stretches of prior work, often through cross-branch dependencies. IMOProofBench produces shallower ancestry because later workers increasingly evaluate and compare existing proof candidates after viable constructions appear.
Repository state produces specialized behavior
Every worker receives the same prompt and tools, yet their behavior changes with the repository’s needs. ProgramBench workers continue construction and repair throughout a run, with nominations becoming more frequent near the end. IMOProofBench workers shift earlier toward verification and comparison as additional proof construction yields less value.
These patterns resemble assigned roles without requiring separate planner, researcher, implementer, and critic prompts. Workers specialize through their choices after inspecting the shared project state, which reduces the orchestration logic that developers must encode in advance.
Tasks that fit repository memory
The repository design suits long-running work that produces inspectable files, measurable outputs, and reusable failures. Its overhead and dependence on verifiable artifacts narrow the range of tasks where it is practical.
| Category | Examples and constraints |
|---|---|
| Strong fit | Multi-day software engineering, formal proofs, architecture search, reproducible experiments, and workflows where failed attempts retain useful evidence |
| Weak fit | Short interactive queries, tasks without verifiable intermediate artifacts, and budgets that cannot support many worker episodes |
| Open questions | Total cost, sensitivity to the underlying model, conflict handling, repository maintenance, and protection against buggy or adversarial contributions |
Production use would also require controls around test execution, credentials, untrusted code, branch growth, and stale artifacts. Git records provenance, but provenance alone does not establish that a contribution is correct or safe to execute.
Reproduction still requires reconstruction
The arXiv submission does not appear to include an official public implementation at the time of writing. A community Locust project has begun publishing design notes derived from the paper, but independent researchers must currently reconstruct GitSwarm from the published description.
The missing implementation limits inspection of practical details such as scheduler behavior, prompt construction, repository maintenance, nomination handling, and exact compute accounting. Independent replication will be necessary to confirm the reported scaling curves and compare costs under equivalent model and worker budgets.
Persistent artifacts become the scaling unit
GitSwarm treats the persistent artifact as the unit around which inference compute accumulates. Git contributes parallel branches, atomic commits, provenance, and mature inspection tools; semantic dependencies connect useful work across branch boundaries.
The reported results support an agent architecture centered on shared, inspectable memory. Its broader value will depend on reproducibility, cost, repository integrity, and performance across models and tasks beyond the paper’s benchmarks.