evogit:A decentralized, Git-based multi-agent research framework for collaborative software development and evolution. The predecessor of EvoX Genesis.

A decentralized, Git-based multi-agent research framework for collaborative software development and evolution. The predecessor of EvoX Genesis.

Branch1Tags0

EvoGit Cover Image

Decentralized Code Evolution via Git-Based Multi-Agent Collaboration

๐Ÿ† EvoGit: 1st Place in AgentX Multi-Agent Track

Winner of the Multi-Agent Track at the AgentX Competition (Agentic AI Summit).

arXiv GitHub Stars Discord Server QQ Group EvoX Genesis

Important

๐Ÿš€ EvoGit has evolved into EvoX Genesis โ€” the successor project, born out of EvoGit! This repository contains the original decentralized Git-based multi-agent framework and research demos. Follow Genesis for ongoing development of the successor system.


๐ŸŽฌ EvoGit Animation (click to hide) EvoGit Animation

๐Ÿ‘‹ Table of Contents

  1. ๐Ÿš€ Overview
  2. โœจ Key Features
  3. ๐Ÿ“ฆ Live Demos
  4. ๐Ÿงฌ How to Explore the Results
  5. ๐Ÿ“š Paper

๐Ÿš€ Overview

EvoGit is a decentralized multi-agent framework that reimagines software development as a collaborative, evolutionary process. It deploys a population of independent coding agents that evolve a shared codebase asynchronously, without centralized coordination, explicit message passing, or shared memory.

All coordination emerges implicitly through a Git-based phylogenetic graph that tracks the complete version lineage. This graph allows agents to read from and write to the repository, enabling scalable parallel exploration while preserving a consistent, auditable history of every change.

For detailed methodology and experimental results, refer to our paper.

โœจ Key Features

  • ๐Ÿง  Decentralized Coordination: Agents operate independently and coordinate organically through the shared version graph. This resembles stigmergy in biological systems, where interactions are indirect and mediated by the environment.
  • โš™๏ธ Git-Native Evolution: The entire framework is built on Git. Evolutionary concepts map directly to Git primitives, making the process inherently compatible with standard developer tools.
  • ๐ŸŒฟ Traceable & Auditable Lineage: Every edit, merge, and decision is recorded as an immutable Git commit. This provides full transparency and reproducibility of the entire development process.
  • ๐Ÿค Sparse Human Oversight: The human's role shifts from a coder to a high-level Product Manager. You define initial goals and provide periodic, lightweight feedback to prune unproductive branches and promote promising ones.

๐Ÿ“ฆ Live Demos

Explore how EvoGit enables collaborative AI development across two real-world projects. For more details, please visit the respective GitHub repositories and inspect the Git history to see how multiple agents evolved the code.

A multi-agent AI system collaboratively builds a complete one-page interactive websiteโ€”from layout and UI to animations and dark mode. The project was initialized by a human product manager and guided with ~10 feedback interventions.

๐Ÿ” Result (click to expand)

The final web page demonstrates a polished UI with support for both light and dark themes.

EvoGit Example Web Page Light Mode EvoGit Example Web Page Dark Mode


AI agents iteratively evolve a meta-level algorithm designer, which itself generates and refines a solver for the classic Bin Packing Problem. This creates a two-layer pipeline: EvoGit โ†’ Auto Algorithm Designer โ†’ Bin Packing Solver A human manager provided an initial setup and ~5 rounds of feedback throughout the optimization process.

๐Ÿ” Result (click to expand)

The AI-generated automatic algorithm design program efficiently found a solver that minimizes bin usage, as shown in the final output script:

def bin_packing_solver(items: list[float], budget: int) -> list[int]:
    import time

    if not items or not all(0 <= w <= 1 for w in items):
        return []

    start_time = time.time()

    items_sorted = sorted(enumerate(items), key=lambda x: x[1], reverse=True)
    bins = []
    bin_indices = [-1] * len(items)

    for index, weight in items_sorted:
        placed = False
        for bin_index, bin_weight in enumerate(bins):
            if bin_weight + weight <= 1:
                bins[bin_index] += weight
                bin_indices[index] = bin_index
                placed = True
                break
        if not placed:
            bins.append(weight)
            bin_indices[index] = len(bins) - 1

    best_solution = bin_indices[:]
    best_bin_count = len(bins)

    def refine_solution():
        nonlocal best_solution, best_bin_count
        for _ in range(100):  # attempt refinement a number of times
            new_bins = []
            new_bin_indices = [-1] * len(items)
            new_solution = []
            for i in range(len(items)):
                weight = items[i]
                placed = False
                for bi in range(len(new_bins)):
                    if new_bins[bi] + weight <= 1:
                        new_bins[bi] += weight
                        new_bin_indices[i] = bi
                        placed = True
                        break
                if not placed:
                    new_bins.append(weight)
                    new_bin_indices[i] = len(new_bins) - 1
            new_bin_count = len(new_bins)

            if new_bin_count < best_bin_count:
                best_solution = new_bin_indices
                best_bin_count = new_bin_count

            if (time.time() - start_time) * 1000 > budget:
                break

    refine_solution()

    return best_solution

The optimized code is automatically saved as best_solution.py after the search process completes.

๐Ÿงฌ How to Explore the Results

EvoGit uses Git not only as a version control tool, but also as a transparent window into the code evolution process. Here's how to inspect our demos:

  1. ๐Ÿง‘โ€๐Ÿ’ป The human-initialized seed lives in the main branch.
  2. ๐Ÿค– AI-generated code lives in branches named: host<i>-individual-<j>, where i = host node index, j = agent index.
  3. ๐Ÿ” Each agent branch contains an independent development trajectory. You can explore these using GitHubโ€™s commit history or local Git tools.
  4. ๐Ÿ“ˆ Git diffs and logs reveal the precise changes made in each commit.
  5. ๐Ÿงญ Use git log --graph or GitHubโ€™s branch visualization (under Insights -> Network) to see how code diverged and converged over time.
๐Ÿ” Example Git Graph (click to expand)

EvoGit Example Git Graph

All changes are versioned and traceable. Every commit represents an autonomous decision by an agentโ€”captured, auditable, and reproducible through Git.

Note

GitHub may hide some branches. Click โ€œView all branchesโ€ on the repo page to see the complete version graph.

๐Ÿ“š Paper

Read the full framework design, evaluation methodology, and results in our paper:

๐Ÿ“ข Current Status

EvoGit has evolved into EvoX Genesis! ๐Ÿš€

This repository documents the original EvoGit framework and experiments. Genesis continues this research direction as a recursive agentic system for software development.

Follow Genesis for current development and documentation.

Introduction

A decentralized, Git-based multi-agent research framework for collaborative software development and evolution. The predecessor of EvoX Genesis.

Customize your domain