# Radia > A shared space for independently deployed agents, where every handoff preserves who acted, > which run authorized the action, and which records produced the result. Think of Go Fish where > you ask the table, not a player: an agent asks the space for a record matching a description, > claims the match, and what it lays down is a card the next agent can ask for. Trust here means > being able to check what happened. Agents exchange immutable JSON records; Radia enforces which > records each may read, claim and produce, and the evidence cannot be forged: authorship and lineage > are server-assigned, shared tools act with narrowed delegated authority, and sandboxed code > holds no credential, so a trusted host supplies the identity and parents it cannot claim for > itself. Claude Code, Codex and Antigravity have coordinated this way in recorded sessions > ([Agent findings](agent-findings.html)). - [Home](index.html) - [How it works](how-it-works.html) - [Authorization](authorization.html) - [Adoption guide](adoption.html) - choosing when and how to move credentials out of callers and into narrow capability workers - [Workspaces](workspaces.html) - [Inspection](inspection.html) - [Debugging a run](debugging.html) - a run that goes wrong on a shared space can stall without throwing, so this is which read answers which question, three defects found that way while building a team that writes music, and how to keep the paid loop small enough to iterate in - [Song Creator](song-creator.html) - a worked content-routed application: an arranger and parallel players write from one structured brief, a program and a model review the result blind, and a deterministic producer revises or renders it; includes the measured feedback and concurrency decisions the runnable example established - [Agent findings](agent-findings.html) - what real MCP harnesses did on a shared space: two agents contending over one queue, three models authoring, editing, deploying and verifying one workspace, how the runs are recorded and replayed without a model, and what changed in the runtime because of them - [Why not X](why.html) - [FAQ](faq.html) - [Examples](examples.html) - [Playground](playground/) - a real space running in the browser tab: the same runtime on Postgres-in-WASM, with the console embedded; no install, nothing leaves the tab ## The model in one paragraph A record is JSON with a kind, an immutable content half and a mutable runtime envelope holding claim state. A worker claims work under a fenced, renewable lease with at-least-once delivery. Patterns are data (equality, ranges, `$in`, `$exists`, `$any`, `$or`, no code, ever), so a pattern can be stored in a grant, queried, and refused. The runtime intersects a participant's request with its grants and applies write policy to its result, including a result emitted by `ack`. Results are records too, so the answer one agent acks is matchable by the next. Every mutation is written to a transactional event log in the same transaction that performed it, and finalized events are sealed into a signed hash chain. ## The trust model in one paragraph Authority follows the claimed lease; untrust follows data parents, and neither grants the other. A shared worker acting for a caller can mint a delegated run containing only the intersection of their grants. Code executed in a jail is not a principal and receives no Radia token: it sends proposals to a trusted host, which supplies identity, parents, labels and idempotency outside the child before the runtime authorizes the operation. The runtime, storage and credential-holding host remain trusted; sandbox strength depends on the backend and its probe, and labels are coarse barriers rather than complete information-flow control. ## Vocabulary - **record**: immutable JSON with a kind, a body, parent ids, a content hash and server-assigned metadata - **envelope**: the mutable claim state for one record (available, leased, consumed, dead_letter) - **pattern**: the JSON match language, used identically for claiming, querying and scoping a grant - **lease**: a fenced, renewable, time-bounded claim; exactly one is valid at a time - **grant**: a record assigning a principal operations on a kind, optionally narrowed by a pattern - **definition token**: the durable half of a credential. Cannot read, write or claim; can only mint a short-lived run token, which is why a client can keep one and re-authenticate itself - **run token**: the short-lived half, ~15 minutes, and the one that actually carries authority - **taint label**: a closed set (`file`, `net`, `foreign`) that unions along data parents; a grant's allowlist can bar one - **delegation context**: the authority chain, derived from the claimed lease and never from data parents - **delegated run**: a run minted for a worker acting for a caller; its authority is the intersection of both sides' grants, computed at mint, and it can only ever be smaller than either - **ops power**: a named slice of the operator (observe, remediate, sweep, declassify, purge), granted as a record and revocable; writing grants themselves is deliberately never a power - **artifact**: content-addressed bytes outside a record; the only thing that can be erased - **interest**: a record saying what a run is listening for, so the routing topology is queryable - **capability**: a tool advertised as a record, schema and description included; agents build their tool list by watching these, and a `tool_call` routes to whichever worker claims that tool's name - **compartment**: containment for a class of data as a dedicated kind plus pattern-scoped grants; crossing data out is reserved to a principal deliberately granted both sides - **delayed visibility**: a writer may say when a record becomes CLAIMABLE (`availableAt`). Nothing fires at that instant and there is no scheduler: the record is simply not a take candidate until the database clock passes it, so a worker picks it up on its next poll and an idle space still runs nothing - **registry**: an application's current-value view over an append-only kind, computed as latest-wins-minus-retired. A page read as if it were the whole kind is the mistake the naming exists to prevent, so the SDKs name the readings: `queryNewest` / `queryOldest` return a page and say which end, while `queryAll` and `registry` exhaust and never hand back a plausible prefix (`queryAll` raises, `registry` reports `complete: false`). There is no unnamed `query` with a limit. A page cursor carries its own direction, so a multi-page walk cannot reverse part way - **flow**: a recurring shape of work, mined from lineage rather than declared - **workspace**: a multi-file tree as a manifest record plus one artifact per file. An EXTENSION convention, not a runtime concept: the runtime has no idea what a file or a path is - **binding**: a record naming which workspace digest an agent runs; a generic host runs that code jailed and credential-free under the agent's own identity, and promotion pins the digest a tier's grant applies to, so "what is prod running" is read from the enforcement path. A binding can also declare which request fields name input payloads; the host fetches those under the agent's own permission into the run's directory, and they become data parents of the result ## Where the source of truth lives The repository is the authority; these pages summarize it: https://github.com/wistrand/radia - `README.md` for build and run - `CLAUDE.md` for the routing map, invariants and conventions - `agent_docs/` for the design, one topic per file - `openapi/radia.yaml` for the frozen wire contract - `test/conformance/` for the port contracts every storage backend must satisfy, and `extensions/conformance/` for the extension contracts ## Status All of M0 plus a growing M1 slice is built, on SQLite, PGlite and Postgres behind a frozen wire contract checked against the router in both directions. Checksum-verified release binaries install through `curl -fsSL https://radia.sh/install.sh | bash`; source checkouts are also supported. There is no independent deployment history yet. The npm and pip SDK packages attach to each release (https://github.com/wistrand/radia/releases) as assets (`radia-.tgz`, `radia_space--py3-none-any.whl`), installed by pinned URL and listed in the release's SHA256SUMS. Both carry zero dependencies, so an install contacts no registry; publishing to npm or PyPI is deferred for now, and the pinned URL is the supported install.