🐙 Git Agent
Repo-native agent — the shell IS the agent, git history IS the memory
The Hermit Crab Pattern: the agent IS the crab, the repo IS the shell. Change the repo URL and agent name → get a different specialist. Parameterized embodiment proven with 4 shells (Oracle1, Forgemaster, JC1, CCC).
Install
pip install git-agent
Quick Start
from git_agent import GitAgent
agent = GitAgent(name="my-agent", repo_url="https://github.com/user/my-agent-vessel")
agent.init()
# Agent works through commits
agent.act("analyze codebase and submit tiles")
agent.act("write README for new module")
# History IS memory
log = agent.log(limit=10)
for entry in log:
print(f"{entry.message}")
The Hermit Crab Pattern
Agent = Crab (behavior, personality)
Repo = Shell (memory, context, work output)
Change shell → different specialist
Same crab → same core capabilities
Part of Cocapn · Agent Infrastructure
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cocapn_hermitcrab-0.1.0.tar.gz
(85.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cocapn_hermitcrab-0.1.0.tar.gz.
File metadata
- Download URL: cocapn_hermitcrab-0.1.0.tar.gz
- Upload date:
- Size: 85.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c45e046682d29a1f37353f016be52242daf1008cb67d12d6772e054bc2df5b2
|
|
| MD5 |
eb1373c6b26ac136062738ff7ba691d3
|
|
| BLAKE2b-256 |
65e415c15a5f51a9ae3486837afaf389e3e042d94fc6ae4d264374f7020ae40b
|
File details
Details for the file cocapn_hermitcrab-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cocapn_hermitcrab-0.1.0-py3-none-any.whl
- Upload date:
- Size: 76.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adbeac6df5cd8fc42d2e3340b76b19a2746b0fd89f4ffb5a18f3d134dd135862
|
|
| MD5 |
4a1bfec3d204102f12114691989a8edb
|
|
| BLAKE2b-256 |
a641ccb6dd1326aff54364ccf45e4e058d50573ffd3bb28d218204695a4c8280
|