Skip to content

SuperInstance/git-agent

git-agent

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.

Brand Line

git-agent is the foundational concept for the Cocapn fleet's agent paradigm β€” repos are identities, commits are work, branches are explorations.

Installation

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

Usage

# Configure (interactive wizard)
python onboarding/config_wizard.py

# Run the agent
python -m git_agent

The agent will bootstrap, observe fleet state, plan tasks, execute in parallel, push status bottles, and reflect on the session.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    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
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Features

  • 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

Supported LLM Backends

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

Fleet Context

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

About

πŸ¦€ Repo-native agent that lives in git β€” the shell IS the agent.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors