shell command runtime
Agents run explicit commands and jobs, producing inspectable state transitions instead of hiding the system inside a single conversational context.
agentic systems as living infrastructure
we can learn a lot from ants and cells
operating model
colony2 moves agent work toward a shell-driven command runtime: agents invoke explicit commands, jobs, and operations instead of living inside one long chat. The runtime boundary is the process, the repository, and the command contract.
The stack is open source and intentionally decoupled. Memory, jobs, sandboxing, workflow durability, identity, operations, storage, and Git hosting can be used together as colony2 or adopted individually inside other agent platforms, CI systems, workflow engines, and internal tools.
A cell is an independent Git repository or repo-scoped workspace with its own local memory and context. Create many cells when goals, technology, ownership, or context diverge; split large cells into new cells they depend on when the work outgrows one boundary.
Agents run explicit commands and jobs, producing inspectable state transitions instead of hiding the system inside a single conversational context.
Each cell owns a Git boundary, local context, tool access, and memory. Cells can be services, product plans, marketing campaigns, infra modules, or review loops.
Memory, jobs, sandboxing, workflow state, identity, operations, storage, and Git hosting are separate open-source components with replaceable boundaries.
Cells depend on cells through package systems, repository state, or explicit cell configuration. A cell can create new cells when context gets too different or too large.
framework map
A colony2 cell is a repository-scoped runtime. The default stack uses colony2 components, but each boundary is intentionally explicit: you can host Git on c2r or another Git system, run SWF on colony2 or another durable workflow runtime, and replace individual layers without replacing the cell model.
c2j resolves the current cell and reads durable context through c2m.c2j submits and resumes work through the SWF runtime for durable execution state, wait points, human orchestration, and audit history.c2j executes c2ops; operations can run inside shai sandboxes with c2a capability checks.core technology
Open-source components for memory, jobs, sandboxing, workflow durability, identity, operations, distributed storage, and Git hosting. Use them together as colony2, or adopt individual pieces inside another system.
Git-native memory for coding agents. c2m stores durable repository knowledge under .agents/memory/, appends observations over time, and compacts them into reviewable summaries that survive branch switches.
Local job-oriented CLI for submitting and running recipe jobs through an SWF runtime. c2j supports current-cell targeting, embedded local execution, job continuation, and machine-readable job inspection.
Sandboxing shell for CLI-based AI agents. shai runs agents inside ephemeral containers with read-only workspaces by default, targeted writable overlays, network allowlists, resource sets, and controlled host-side calls.
Library of reusable job operations for c2j recipes. Ops use a simple JSON stdin/stdout contract and cover LLM calls, Codex-style coding loops, GitHub Actions execution, PydanticAI, Aider, and LiteLLM-backed tasks.
Durable workflow API and runtime for jobs, tasks, retries, timeouts, child workflows, human orchestration, external completion, artifacts, and audit-friendly execution history. The API is designed to run over multiple storage backends, including Postgres, Cloudflare Durable Objects, S3-style artifact storage, and other pluggable state layers.
coming soonEmbeddable distributed key-value database and storage subsystem with sidecar capabilities, built around Raft for replicated coordination and durable local-first state.
coming soon
Agent authorization and identity framework. c2a defines how cells, tools, jobs, humans, and sidecars prove identity, receive scoped capabilities, and leave auditable authorization trails.
Massively distributed Git hosting layer. c2r uses colony2 storage and coordination primitives to route repositories, isolate hot repos, manage refs, and support Git operations at distributed scale.
early access
Register for drops on c2m, c2j, shai, c2ops, swf runtime, c2kv, c2a, c2r, and the agent-cell runtime model behind colony2.