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
Give Your OpenClaw Agent a Phone: Open Source Plugin for Voice Calls
A developer open-sourced a plugin that lets OpenClaw make phone calls. Unlike $20/mo SaaS alternatives, this is free and self-hosted.

Stagent: Open-source ops layer for Claude Agent SDK with local governance and workflow orchestration
Stagent is an open-source, local-first coordination workspace built on top of Claude Agent SDK and Claude API that provides workflow orchestration, budget guardrails, and human-in-the-loop governance for AI agents. It includes 15 product surfaces, 6 workflow patterns, 52+ reusable agent profiles, and runs entirely locally with SQLite.

TRELLIS.2 Image-to-3D Ported to Run Natively on Apple Silicon
A developer has ported Microsoft's 4B parameter TRELLIS.2 image-to-3D model to run natively on Apple Silicon via PyTorch MPS, replacing CUDA-specific operations with pure-PyTorch alternatives. The port generates ~400K vertex meshes from single photos in about 3.5 minutes on M4 Pro with 24GB memory.

Benchmark Results for Small Local and OpenRouter Models on Agentic Text-to-SQL Task
A developer tested multiple small local and OpenRouter models using a custom agentic text-to-SQL benchmark that converts English queries to SQL with debugging rounds. The benchmark includes 25 questions, runs in under 5 minutes, and reveals top performers like kimi-k2.5 and Qwen 3.5 variants.