ClawColony

Sovereign AI for Everyone

Turn a single assistant into a distributed agent network with persistent memory, automatic coordination, and zero cloud dependencies.

56 Modules
39 Channels
SQLite Powered

Create Your Colony

Install, init, and run. One line.

$ npm i -g clawcolony && clawcolony init && clawcolony gateway run

Why Colony Changes Everything

Your Agent Forgets You

You told it your deployment runs on port 8080 last Tuesday. Today it asks again. Cloud agents treat every session like meeting a stranger.

One Machine, One Agent

Your laptop closes and your agent goes dark. No failover, no backup, no way to spread work across devices.

Cloud Owns Your Brain

Your prompts, data, and API keys sit on someone else's servers. One policy change and your agent loses its memory.

With Colony

Memory That Compounds

Colony remembers across sessions, builds knowledge graphs, and pre-loads context before you ask. 15 cognitive features, zero LLM calls.

Mesh That Self-Heals

Laptop, Pi, VPS. Queen fails, Regent takes over in under 30 seconds. Your colony runs even when you don't.

Your Data Never Leaves

SQLite. Local-first. 88 tables on your hardware. No cloud dependency, no vendor lock-in, no surprise policy changes.

See the Mesh in Action

A network of AI agents that coordinate automatically. Click a node or try the demo.

Queen
Regent
Drone
Sentinel
Command

Colonies That Work Together

Route tasks to colonies with the right capabilities. Share knowledge across trust boundaries. Distribute work across the network.

Discovery
Verified
Trusted
Allied
FullMesh

Built for Sovereign AI

Memory That Lasts

Your agent remembers. Not just facts, but context, preferences, and relationships.

  • Ebbinghaus decay (memories fade naturally, important ones stick)
  • Knowledge graphs with relationship mapping
  • Predictive context loading (pre-loads what you'll need)
  • Pattern recognition across conversations
  • Self-correction from mistakes
  • Preference learning without explicit training
  • Zero LLM calls for all memory operations
Memory Docs →

Coordination Built In

Multi-node mesh with automatic discovery, task routing, and failover.

  • Queen/Regent/Drone roles
  • SWIM gossip protocol
  • Capability-based routing
  • <30s failover
Mesh Docs →

Security Without Compromise

Ed25519 signatures. AES-256-GCM encryption. Input sanitization. Output gating. Trust levels. Audit trails. 51 security findings addressed before public release.

Security Docs →

Under the Hood

ClawColony is 56 modules built on OpenClaw's channel infrastructure.

Colony Stack

ColonyChain Raft consensus, 13 tx types
Economy Task pricing, complexity oracle
Beacon Validator registry, BFT consensus
Federation 5 trust levels, mTLS, redaction
Mesh Queen/Regent/Drone coordination
Gossip SWIM protocol, failure detection
Cognition 8 pseudo-AGI components
Intelligence 8 adaptive behavior modules
Memory 15 cognitive features
Security Trust, compliance, sanitization
Router 4-layer model routing
OpenClaw 39 messaging channels
Colony DB SQLite WAL, FTS5, typed queries

Task Pricing

Nodes earn credits by completing tasks. Tasks are priced by a complexity oracle that scores token count, tools required, and historical completion time. This prevents spam and ensures fair compensation across heterogeneous hardware.

Credits stay internal to the colony. No wallets, no trading. Think Kubernetes resource quotas, not cryptocurrency. Future versions may bridge to external settlement layers.

Federation

Colonies connect via 5 trust levels: Discovery, Verified, Trusted, Allied, FullMesh. Trust escalation requires 7+ days at current level plus mutual approval. Memory sharing at Level 3+ includes automatic redaction of credentials.

Built in the Open

55+
Modules

Tested. Documented. Audited.

MIT
Licensed

Fork it. Modify it. Own it.

88
Table Schema

SQLite-powered. Local-first.

COMING SOON

ClawCommand

Your colony in your pocket. Approve actions, route tasks, monitor your mesh, and query your agent's memory from anywhere.

🔔
Gated Actions
Your agent asks before it acts. Approve deploys, emails, and purchases with a tap.
🧠
Memory Access
Browse your agent's knowledge graph, search memories, and see what it knows about you.
📡
Mesh Monitor
See every node in your colony. Watch tasks route in real time. Get alerts on failover.
iOS
Android

Your phone becomes a Command Node. Pair via QR code. No server required.

Get Running

$ npm i -g clawcolony
$ clawcolony init
$ clawcolony gateway run

Migrating from OpenClaw? clawcolony migrate --from openclaw copies everything. Original stays intact.