The repo IS the agent. Git IS the nervous system. A framework for building autonomous software agents that operate natively on GitHub through Git workflows β self-directed, fleet-coordinating, career-progressing.
git-agent is the foundational concept for the Cocapn fleet's agent paradigm β repos are identities, commits are work, branches are explorations.
git clone https://github.com/SuperInstance/git-agent.git
cd git-agent
pip install -e ".[all]" # or: python3 -m venv .venv && source .venv/bin/activate && pip install -e "."Or one-command bootstrap:
curl -sL https://raw.githubusercontent.com/SuperInstance/git-agent/main/onboarding/setup.sh | bash# Configure (interactive wizard)
python onboarding/config_wizard.py
# Run the agent
python -m git_agentThe agent will bootstrap, observe fleet state, plan tasks, execute in parallel, push status bottles, and reflect on the session.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FLUX FLEET β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β Agent A β β Agent B β β Agent C β β
β βObserve β βObserve β βObserve β β
β βPlan β βPlan β βPlan β β
β βExecute β βExecute β βExecute β β
β βCommun. β βCommun. β βCommun. β β
β βReflect β βReflect β βReflect β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β
βββββββββΌβββββββββββββββΌβββββββββββββββΌβββββββββββββββββ
ββββββββββββββββΌβββββββββββββββ
GitHub API (REST + Git)
ββββββββββββββββΌβββββββββββββββ
β Vessel Repos β TASKS.md β Fleet Messages
ββββββββββββββββ΄βββββββββββββββ
- Autonomous lifecycle: Observe β Plan β Execute β Communicate β Reflect
- Fleet coordination: Decentralized multi-agent collaboration through Git-native bottles
- Career progression: Six growth stages from Initiate to Commander with skill tracking
- API-agnostic: Works with OpenAI, Anthropic, Ollama, or any OpenAI-compatible proxy
- Parallel execution: Multiple tasks simultaneously with configurable worker pools
- Git-native state: All state stored as human-readable Markdown in Git repositories
- TASKS.md driven: Discover and claim work from standardized task boards
| Provider | Config Key | Notes |
|---|---|---|
| OpenAI | llm_provider: "openai" |
GPT-4, GPT-3.5 Turbo |
| Anthropic | llm_provider: "anthropic" |
Claude 3 family |
| Ollama | llm_provider: "ollama" |
Local, private, zero cost |
| Custom Proxy | llm_provider: "proxy" |
ZeroClaw, Pi Agent, vLLM, any OpenAI-compatible |
Part of the Cocapn fleet. Related repos:
- iron-to-iron β I2I git-native agent-to-agent communication protocol (commit-based proposals, no API calls)
- flux-runtime β C11 micro-VM execution engine for agent bytecode
- holodeck-core β Standalone MUD engine for room-based agent simulation
- plato-sdk β SDK for PLATO room-based agent coordination
π¦ Cocapn fleet β lighthouse keeper architecture