You run an AI agent directly from a git repository. The repo is its memory, skill set, and permanent home. You can track active instances via the public fleet dashboard.
- Fork this repository.
- Deploy to Cloudflare Workers:
git clone your-fork-url cd cocapn npx wrangler deploy - Edit any file. Your agent updates on its next request.
For a minimal version, see cocapn-lite (~200 lines).
You deploy a standalone Cloudflare Worker. It uses your GitHub repository as its sole data source—no separate database. The agent's instructions, skills, and logs are normal files in your git history. You own every line and can rewrite anything.
The public fleet dashboard automatically lists your instance about 90 seconds after deployment.
- Git as State: Instructions, state, and tools are files in your repository.
- Fork-First Ownership: You control the entire codebase and its evolution.
- Fleet Coordination: Lightweight edge-to-edge event passing between deployed agents.
- Cloudflare Workers: Cold starts typically under 50ms.
- Zero Dependencies: Pure, readable TypeScript.
- Cross-Agent Protocol: Load skills and share context between agents.
Agents process requests sequentially. If your instance receives multiple concurrent requests, they will be queued and handled one at a time.