Chio/Docs

Docs

Swarms & Congregates

Treaty-based coordination across independent organization kernels, using Chio capabilities, receipts, and trust checks.

Spec is frozen; production rollout is not

The specs are v1 and wire-frozen, and reference implementations ship in the Chio workspace: the governance ladder manifest, the pheromone store and relay, bilateral co-signed invocation, and selective disclosure all exist as tested crates. Cross-organization production adoption, treaty rosters, quorum ceremonies, and multi-organization deployments remain proposed work.

What it is, in one paragraph

A swarm is one organization’s kernel running its internal agent collective — recursive agent-to-agent delegation bounded by a task graph, budget pool, and revocation epoch. A congregate is the protocol for treaty-based coordination across organization kernels. It uses Chio capabilities, receipts, and federation checks, while remaining separate from runtime projects that implement one participant.

The swarm, concretely

chio-swarm-authority is a fail-closed verifier for recursive agent delegation. It validates a signed bundle — a SwarmTaskGraph (single root, acyclic, bounded max_depth and max_fanout), continuation tokens, a capability-attenuation-checked SwarmDelegationWitnessChain, join and route-plan receipts, a SwarmBudgetPool with per-hop allocations, a SwarmRevocationEpoch, and a SwarmTerminalGraphReceipt whose budget rollup is reconciled against the live allocations — through one entry point, verify_swarm_authority_bundle, before any child task runs. The runtime calls it from its pre-dispatch admission hook; the proof room calls the same function on untrusted input, so a delegated task is authorised under one shared definition or rejected.

Deployment boundaries

The congregate coordinates independent kernels. It does not supply a shared host, membership registry, or participant runtime.

  • No shared host. Each kernel remains independent. The congregate is defined by the federation relationships between kernels.
  • Routine actions use no electorate. Cross-organization coordination usually uses observation mode. Destructive actions use bilateral co-signing. The protocol has no token-weighted membership roster.
  • No central registration. Membership is the transitive closure of peers willing to co-sign within some scope. It is implicit in the bilateral handshakes you have completed and the receipts they jointly signed.
  • Separate from Chio runtimes. It is a coordination protocol separate from Chio runtime projects. Its two key components — the pheromone store and the governance ladder manifest with its consistency_model field — ship as tested Chio crates. Adopting them does not change a participant runtime; it lets such runtimes compose.
  • Participant runtime remains local. One swarm per organization handles the internal collective. The congregate defines their cross-organization behavior. A participant could use LangGraph, AutoGen, or a custom dispatcher internally and still join via tower middleware.

Hero use case

Cross-vendor agent action attestation. When Vendor A’s agent invokes Vendor B’s tool on a buyer’s behalf, both kernels produce a jointly-verifiable receipt the buyer’s auditor can verify without trusting either vendor unilaterally. Federated detection swarms across organization trust boundaries are a later application of the same primitives. See the Hero Scenario page for the buyer pitch and the 3-Vendor Walkthrough for the worked example.

Three layers

  1. Protocol layer (Chio). Capabilities, guards, receipts, passports, and lineage.
  2. Participant kernel. One swarm per organization. The fail-closed swarm-authority verifier (chio-swarm-authority) fixes the reference admission shape; other domains can pick a different dispatcher so long as they honour the disciplines above.
  3. Coordination discipline (the congregate). Bilateral co-signed receipts, revocation gossip, governance records, task allocation, and workflow receipts.

The participant kernel is a runtime outside Chio. The coordination discipline is a set of rules the participant kernel follows at the trust boundary; it is not installed as a separate service. See Three-Layer Architecture.

rendering…
Chio supplies capabilities, guards, receipts, and federation checks. A participant kernel runs one swarm per organization. The congregate defines the rules the kernel follows at the trust boundary.

Reading order

Read this page, then the Hero Scenario, then the 3-Vendor Walkthrough for an introduction. Otherwise, choose the path that matches your role.

Status snapshot

What the specs pin down:

  • Hero use case (cross-vendor agent action attestation), with federated SOC consortium as second-wave.
  • Bilateral co-signing as the default joint-commit primitive; FROST-aggregated quorum is the declared shape for action classes marked quorum-required.
  • Per-action-class consistency model (crdt-commutative, totally-ordered, quorum-required).
  • Pheromone wire format (v1, wire-frozen; the chio-pheromone reference crate and the chio-pheromone-relay operations tooling ship).
  • Governance ladder manifest schema (v1, wire-frozen; pinned at the federation handshake).
  • Selective disclosure via BBS+ default (v1, with a real-BBS implementation slice); the zkVM lane is deferred.
  • Trust-anchor bootstrap procedures.

What is open:

  • BBS+ projection ordering: alphabetical-by-serde-field vs schema-declared.
  • in-toto WG response on a bilateral-cosign-invocation predicate.