EvoGit: Decentralized Code Evolution via Git-Based Multi-Agent Collaboration
Beichen Huang, Ran Cheng, Kay Chen Tan · 2025
Read EvoGit: Decentralized Code Evolution via Git-Based Multi-Agent Collaboration by Beichen Huang, Ran Cheng, Kay Chen Tan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-02049.txt.
Introduction
Beichen Huang, Ran Cheng, and Kay Chen Tan present EvoGit, a frame where many coding agents evolve one codebase with no central boss. Their paper from twenty twenty-five casts each agent as an independent editor. Agents never pass messages or share memory. All coordination flows through a Git-based family tree of versions.
Agents read and write the shared repository out of sync with each other. The tree tracks full lineage, which supports fine branching and parallel work. A steady history keeps the record straight. Humans set the goals, scan the tree now and then, and nudge or prune lines with light feedback. Tests built a web app from scratch and bred a solver for bin packing. The authors see a path to continual, decentralized software growth. Code is open.
Catalog record
| CREATOR | Beichen Huang, Ran Cheng, Kay Chen Tan |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 55 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-02049
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
EvoGit: Decentralized Code Evolution via Git-Based Multi-Agent Collaboration Beichen Huang, Ran Cheng, Kay Chen Tan Abstract We introduce EvoGit, a decentralized multi-agent framework for collaborative software development driven by autonomous code evolution. EvoGit deploys a population of independent coding agents, each proposing edits to a shared codebase without centralized coordination, explicit message passing, or shared memory. Instead, all coordination emerges through a Git-based phylogenetic graph that tracks the full version lineage and enables agents to asynchronously read from and write to the evolving code repository. This graph-based structure supports fine-grained branching, implicit concurrency, and scalable agent interaction while preserving a consistent historical record. Human involvement is minimal but strategic: users define high-level goals, periodically review the graph, and provide lightweight feedback to promote promising directions or prune unproductive ones. Experiments demonstrate EvoGit’s ability to autonomously produce functional and modular software artifacts across two real-world tasks: (1) building a web application from scratch using modern frameworks, and (2) constructing a meta-level system that evolves its own language-model-guided solver for the bin-packing optimization problem. Our results underscore EvoGit’s potential to establish a new paradigm for decentralized, automated, and continual software development. EvoGit is open-sourced at github.com/BillHuang2001/evogit . † † footnotetext: Contact Emails: [email protected] , [email protected] , [email protected] 1 Introduction Large language models (LLMs) have significantly advanced the automation of software development, excelling at tasks such as code generation, debugging, and documentation Zhao et al. 2023 ; Minaee et al. 2024 ; Yang et al. 2024a ; Team et al. 2023 ; OpenAI et al. 2024 . Building upon this foundation, recent efforts have embedded LLMs into autonomous coding agents Qian et al. 2023 ; Yang et al. 2024b ; Hong et al. 2024 ; Islam et al. 2024 , enabling the execution of multi-step development workflows through tool usage, memory, and interaction policies Yao et al. 2023 ; Xi et al. 2023 ; Wang et al. 2024 . While promising, current frameworks face critical limitations. Most rely on scalar reward signals, ground-truth unit tests, or dense human feedback to supervise agent behavior. These assumptions are ill-suited for open-ended software engineering, where success criteria are emergent and multifaceted. Furthermore, agent collaboration is typically centralized and synchronous, requiring a global orchestrator and shared memory, which restricts scalability and robustness. Critically, the development process often lacks traceability: as code branches diverge and recombine, it becomes increasingly difficult to understand the provenance of design decisions or to reproduce successful outcomes. To overcome these limitations, we present EvoGit—a decentralized, Git-native framework for collaborative software evolution. EvoGit models software development as an asynchronous, multi-agent search over a version space. Each autonomous agent independently proposes mutations or crossovers of existing code, and all code versions are stored as nodes in a directed acyclic graph (DAG) maintained through Git. Edges denote valid semantic transitions between versions, capturing evolutionary lineage without enforcing global synchronization or communication. Rather than relying on reward functions or predefined tests, EvoGit organizes development around structural traceability and partial-order semantics. This version graph acts as both the memory and substrate of interaction: agents read from it, evolve code through local transformations, and write back new branches, enabling highly scalable parallel exploration. Human developers remain in the loop only at key moments, such as initialization, periodic inspection, and minimal high-level feedback. Key features of EvoGit include: • Decentralized evolution: Agents evolve code independently, coordinating solely through the shared version graph. • Reward-free development: Progress is driven by structural transformations and lineage growth, not scalar optimization. • Lineage-aware crossover: Merges between branches preserve semantic context and inheritance relationships. • End-to-end traceability: Every edit is recorded as a commit, enabling inspection, reproducibility, and rollback. To demonstrate EvoGit’s effectiveness, we evaluate it on two real-world tasks. The first task involves evolving a fully interactive single-page web application from an empty scaffold, testing agents’ ability to coordinate UI layout, modular structure, and logic without any visual feedback. The second task benchmarks EvoGit’s support for meta-level development by constructing an automated algorithm design pipeline, i.e., a system that evolves its own LLM-guided solver for the bin-packing problem. Together, these experiments highlight EvoGit’s capacity for both user-facing application development and self-adaptive meta-coding. An overview of the EvoGit architecture is shown in Figure 1 . By treating code as a population and development as an open-ended evolutionary process, EvoGit offers a scalable and inspectable paradigm for autonomous software creation. Figure 1: The EvoGit workflow. A human initializes the system by defining high-level goals and providing a seed codebase. Multiple autonomous coding agents independently explore, mutate, and recombine software artifacts on separate branches. All versions are recorded in a shared Git-based version graph, which serves as the coordination substrate. The human can periodically inspect the graph, select promising branches, and provide minimal feedback to guide further evolution. 2 Methodology Figure 2: Overview of the EvoGit methodology. (a) EvoGit comprises two types of participants: a population of autonomous coding agents and a human product manager. The core of the system is a Git-backed phylogenetic graph that captures the complete history of code evolution. (b) The graph is composed of nodes representing code versions; agents operate on a dynamic subset of the current best versions. (c) Each agent proposes a minor code modification, which is locally evaluated using a pairwise comparison mechanism. If accepted, the new version is added as a node in the graph, and the agent continues from that point. (d) EvoGit supports two primary operations: mutation (one parent, one child) and crossover (two parents, one child), enabling both fine-grained updates and structural recombination across divergent branches. 2.1 Core Components EvoGit conceptualizes software development as a multi-agent evolutionary process grounded in a shared and decentralized structure: phylogenetic graph , which records the full lineage of all code versions. The system is composed of four core components: • Autonomous Agents: Each agent operates independently and is powered by a large language model. Agents navigate the version space by proposing minor code edits ( mutations ) or combining different versions via structured crossovers , thereby contributing new nodes to the evolving graph. • Human Product Manager: A human oversees the development process by defining the initial design intent and periodically interacting with the graph to select promising branches, prune ineffective ones, or provide sparse, high-level guidance. • Phylogenetic Graph: This is a directed acyclic graph (DAG) rooted at an initial version. Each node encodes a complete snapshot of the codebase, while edges represent validated evolutionary steps. The graph induces a partial order over all code versions, enabling multiple developmental trajectories to coexist and recombine. • Git Backend: The graph is implemented directly on top of Git, ensuring compatibility with standard tools such as GitHub. This design supports reproducibility, distributed development, version control, and fine-grained tracking of code changes. This decentralized architecture enables fully asynchronous agent operation without centralized scheduling or inter-agent communication. Coordination emerges implicitly through shared interaction with the evolving version graph, where each agent’s contribution is grounded in the common structure rather than explicit messaging or shared memory. 2.2 Code Evolution as Graph Expansion EvoGit conceptualizes software development as a continual expansion of a phylogenetic graph . This structure facilitates safe, incremental, and traceable development by representing all version transitions explicitly: • Each node encodes a