Skip to main content

FLUX Fleet Greenhorn Git-Agent — API-agnostic autonomous Git-native agent

Project description

🦀 Git Agent

The repo-native agent that lives in git.

Python License

Part of Cocapn — Agent Infrastructure for Intelligence.


What is Git Agent?

An AI agent that lives inside a git repository. The repo IS the agent — its identity, memory, and workspace all exist as files in the repo. Like a hermit crab in its shell.

my-agent/
├── STATE.md          # Working memory (short-term)
├── TASK-BOARD.md     # Intentions (what the agent plans to do)
├── work/             # Action (the agent's output)
├── for-fleet/        # Outbound bottles (to other agents)
├── from-fleet/       # Inbound bottles (from other agents)
└── git history       # Long-term memory (immutable)

The Hermit Crab Pattern

The agent IS the crab. The repo IS the shell.

  • STATE.md = what the crab is thinking right now
  • TASK-BOARD.md = where the crab intends to go
  • work/ = what the crab is building
  • git history = everything the crab has ever done
  • Fork = the crab finds a new shell (same crab, new repo)

Communication: Bottle Protocol

Agents communicate by dropping markdown files in for-fleet/:

for-fleet/BOTTLE-FROM-AGENT-NAME-2026-04-19-TOPIC.md

Push your repo, the next agent pulls and reads the bottle. No API needed. Git IS the message bus.

For Agents

git_agent_v1:
  type: repo_native_agent
  identity: "the repo IS the agent"
  memory: [STATE.md, git_history]
  communication: bottle_protocol
  fork: "new shell, same crab"
  install: "fork a template repo"

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cocapn_git_agent-0.1.0.tar.gz (85.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cocapn_git_agent-0.1.0-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file cocapn_git_agent-0.1.0.tar.gz.

File metadata

  • Download URL: cocapn_git_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 85.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for cocapn_git_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88495218b0d8fbd83fbe22be0ef1fdec7776300a1beeb8f08239cfb7be6f5084
MD5 4d32e09d4d7b8f6435426a629c092221
BLAKE2b-256 4d01bfd2dc42cf939604cb49ca3ed6224134a819aa042b14a0af136401dd8e98

See more details on using hashes here.

File details

Details for the file cocapn_git_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cocapn_git_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5ae6e54554a6b01f8b0f716091c7d315d49f20de85aae8897d6225879ae7c1
MD5 017c8c68a0e94320d1778fae5e688f93
BLAKE2b-256 9bde6ec9fbc1f722dce682d16fc332b2bba072c7d0b9ec6bec11442e7fabe63b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page