Colony: A Local-First Coordination Layer That Cuts Multi-Agent Handoff Tokens from 30K to 400

Colony is a local-first coordination layer for multi-agent coding setups. It sits between your agent runtimes (Claude Code, Codex, Cursor, Gemini CLI, OpenCode) and a local SQLite store, cutting handoff overhead from ~30,000 tokens to ~400 tokens per session end.
Key Features
- Claims before edits — Agents claim a file before touching it; other agents see the live claim and stand down, avoiding race conditions and duplicate PRs.
- Compact handoffs — At session end, Colony writes a structured receipt (PR link, merge SHA, changed files, verification results, cleanup status). Next agent reads ~400 tokens instead of replaying ~30,000.
- Health diagnostics —
colony healthdetects silent coordination failures: stale claims, lifecycle bridge mismatches, plan-claim adoption gaps. - Persistent memory — Compressed at rest (~70% prose compression, byte-perfect for paths/code/commands). Searchable via FTS5.
What It Is Not
- Not a hosted control plane — local-first by default, data never leaves disk.
- Not an agent runner — Codex, Claude, Cursor still execute work.
- Not orchestration — stigmergic: agents leave traces, useful ones get reinforced, stale ones evaporate.
Handoff Receipt Format
When a session finishes, agents return a structured response with PR link, merge SHA, changed files, verification results, and worktree cleanup status. Colony captures it as one observation; the next agent reads instead of re-deriving context. mcp_metrics records the cost.
Installation
npm install -g /colony-cli
colony install --ide codex
colony healthRequires Node 20+. MIT licensed. All data stored in ~/.colony/data.db.
Upcoming Improvements
The author is working on auto-resolving same-file claim conflicts and a colony heal --apply command that runs the fix-plan instead of just printing it.
📖 Read the full source: r/ClaudeAI
👀 See Also

Canopy: Terminal Dashboard for Managing Multiple Claude Code Agents
Canopy is an open source terminal UI that provides a single dashboard view for tracking multiple AI coding agents running across git worktrees. It shows agent states (running, idle, waiting for input, done, errored) and lets you jump into sessions or send input without fully switching.

Maestro v1.5.0 adds Claude Code support for multi-agent orchestration
Maestro v1.5.0, an open-source multi-agent orchestration platform, now runs as a native plugin on Claude Code in addition to Gemini CLI. The update includes deeper design planning, a 42-step orchestration backbone, agent capability enforcement, and security hardening.

Calmkeep: An External Continuity Layer to Counter LLM Drift in Extended Sessions
Calmkeep is an external continuity layer designed to counteract LLM drift in extended sessions, showing 85% integrity vs 60% for standard Claude in a 25-turn backend build test and 100% vs 50% in a legal session.

Cloken: A Chrome Extension That Shows Real-Time Claude Context Usage as a Percentage
Cloken is a free Chrome extension that displays your current Claude.ai chat context usage as a percentage — including messages, files, images, and system prompt.