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
Metadata
Release files for cocapn-git-agent 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cocapn_git_agent-0.1.2.tar.gz | 111.7 kB | Without provenance | Details for cocapn_git_agent-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cocapn_git_agent-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for cocapn_git_agent-0.1.2-py3-none-any.whl |
Total release size: 245.6 kB
Release files / cocapn_git_agent-0.1.2.tar.gz
| Download URL | cocapn_git_agent-0.1.2.tar.gz |
|---|---|
| Size | 111.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd8d57af5ec735b3e412772806fa896160b7f3a4dd4dc9ed7c3dd8f04ea45d85
|
|
BLAKE2b-256 checksum How to use checksums |
80c5fdce915db1a8becbe2dedff7a8d6799310584a5baa5cc413d1d8fe8a69e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / cocapn_git_agent-0.1.2-py3-none-any.whl
| Download URL | cocapn_git_agent-0.1.2-py3-none-any.whl |
|---|---|
| Size | 133.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
411b751b380b613799779c6ff54c338b870921bec5257f49dc890b0ffed387ab
|
|
BLAKE2b-256 checksum How to use checksums |
94cf68ed3cc933261c270715da3a09dba1dc597c99e3da08b4a4d72a89e79a20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for cocapn-git-agent 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.