-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
dcluomax edited this page Jun 1, 2026
·
1 revision
Coop is an open-source AI agent farm OS in Rust. It ships as one daemon
(coopd) plus one CLI (coop), built from a small Cargo workspace.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β L4 Game XP Β· leaderboards Β· spectator Β· UI β
β L3 Economic Grain ledger Β· hen/roost lease Β· escrow β
β L2 Federation world.coop relay Β· registry Β· mailbox β
β L1 Coop OS coopd Β· brain adapter Β· tool ABI Β· vault β β this repo
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
This repo is L1 β the agent OS.
| Crate | Role |
|---|---|
coopd |
Main daemon: HTTP/WS API, orchestrator, Farm UI, brain factory, sandbox wiring. |
coopd-core |
Types, IDs, traits, manifest schema, net-policy types, errors. |
coopd-storage |
redb-backed persistence. |
coopd-vault |
Sealed BYOK secret store + the Azure Key Vault backend. |
coopd-tools |
Tool registry: bash, file_read, file_write, http, plus the OS sandbox + safe_net/safe_path guards. |
coopd-brain |
Anthropic adapter (routing + caching wrappers). |
coop-cli |
The coop binary. |
- A manifest (
examples/aria.yaml) defines a hen:name,brain,tools, optionalnetwork:policy. -
coop hen createβcoop hen hatchtransitions the hen through its state machine:Defined β Hatching β Idle β Working / Sleeping / Leased. - A job runs a per-job reason/tool loop. The brain factory resolves
brain.provider_idto an API key β from the local vault (vault:β¦) or Azure Key Vault (azure-kv://β¦, see BYOK Secrets) β and builds an Anthropic adapter. - Tool calls run through the registry;
bashexecutes inside the per-hen OS sandbox and is held to the hen's network policy (Network Isolation). - Events stream to the Farm UI over WebSocket; each hen exposes a live PTY shell.
Coop ships as open core:
-
coop(this repo, public, Apache-2.0) β agent OS, vault, tools, brain adapter, Farm UI, CLI. Fully usable on its own for single-farm / single-hen workflows. -
coop-market(separate, proprietary) β the cross-Coop Market layer (listings, bids, escrow, federation to the World relay).
The OSS daemon has zero market awareness β no market crate, dep, types, or code paths. This boundary is enforced by CI, not just docs.
- Crates:
crates/ - Operator docs:
docs/ - Starter manifest:
examples/aria.yaml - Contributor guide:
AGENTS.mdΒ·CONTRIBUTING.md
Coop is Apache-2.0 Β· pre-alpha (v0.1). Authoritative docs live in the repo.
Get started
Operate
Reference