Skip to content

adam-rs docs ​

adam-rs is a Rust framework for durable AI agents: an agent saves its state after every step, so a worker that dies loses nothing. Start with the root README, then pick the line below that matches what you want to do. Every crate also has a README.md next to its Cargo.toml.

These pages are for people. The procedures and evidence that coding agents use live in .agents/docs/, and each page that has a counterpart there links to it (ADR 0079).

Get started ​

PageWhen
Get startedyou want one success in minutes: the stack up and a folder agent answering over A2A
Try the agentsyou want to chat with the Assistant, give Adam a task and write your own agent, all on mocks, then on a real model
Run it locallyyou want the coder and the general agent running on your machine in minutes

Guides ​

GroupPageWhen
UseWrite an agentyou want an agent that is a folder of Markdown, or one with #[tool] functions
DeployDeploy the coderyou are installing the image and the Helm chart on Kubernetes
DeployReleasesyou want a fixed version for production: what a release is, how one is cut, which tag to pin, how to check its signature
OperateUpgrade an adam deploymentyou move a running coder to a newer image: what to read, what needs your hand, what the database does
OperateThe egress proxy and the network of run podsa build in a run pod cannot reach a host, or you want to let it
OperateRead a run's state when it is stucka task does not finish: is it waiting, or is it stuck, and where to look in the store
OperateTroubleshoot by error classa pod exited or a task failed: from the class of the error to what to do
OperateTroubleshooting a local run, the chart's known riskssomething does not work on your machine, or you want to know what can go wrong in a cluster
ExtendEmbed adamyou host adam agents inside your own Rust program, a server
ExtendEmbed adam in an applicationadam runs inside your application (a desktop or a phone), with no server and nothing on the network of its own
ExtendStore adaptersyou add a database behind the Store trait

Reference ​

GroupPageWhat it answers
APIThe A2A serverthe methods, follow-ups, continuing a finished task, push notifications, ListTasks, the extended card and its signature, the steps, text and reasoning streams, and the A2A extensions an agent serves
APIExtensionsevery A2A extension URI an adam card can list: when it is listed, whether it is served, and its contract on the system's site
ConfigurationEnvironment variablesevery variable of the binaries, the compose stack and the tests
ConfigurationAgent files and #[tool]the folder layout and formats, validation, skills, subagents, MCP, dev reload, the macro
ConfigurationThe chartevery value of the coder's Helm chart
ConfigurationParity of the surfacesevery setting and feature by surface (coder, folder agent, embedded engine, orchestrator, platform), and the gaps
ErrorsErrorserror classes, the variant-to-class tree, A2A codes and exit codes
Rust APIRustdoc of the library cratesthe generated API of every library crate (published with the site); the crate map says which crate does what, and each crate's README is its guide
BehaviourThe coder agentits flow and states, the rules its tools enforce, how a run ends
BehaviourChild runs and remote taskshow a subagent waits, and every failure interleaving
BehaviourWorkspace and environmentsplacement, a run's slots, devcontainers and run pods
BehaviourStore adapterswhat each database adapter guarantees and how, data caveats
Local stackThe local stackcompose services, mocks, scripted models

Architecture ​

PageWhat it answers
Conceptsthe ideas in one screen (run, journal, lease, store, host role, agent folder, tool, A2A server) and a glossary of terms with their files
Architecturethe mental model, the crate map, the ports, the path of a task, the run lifecycle, the data schema, signals, errors

Decisions ​

Decisions: every ADR, with its decision in one line. ADRs are history: a change to a past decision is a dated Amended note, never a silent edit.

Plans and reviews ​

PageWhat it is
Roadmapwhat the library has built and what it has not; the product roadmap is ROADMAP.md in another-agentic-system
Optimisation review, 2026-11-18where the framework's RAM, CPU and I/O go, and the ranked fixes

Contributing ​

PageWhen
Contributingyou want to pick an issue, build, test and open a pull request
Testingyou want to run or add tests, the end-to-end scripts, or check the chart
Securityyou found a vulnerability: report it privately
The benchmark harnessyou want to compare adam-coder and OpenCode on real tasks, with a hard cap on spend

Writing these docs ​

  • Short pages, the answer first: tables and diagrams over prose, a link instead of a copy.
  • A process gets a Mermaid pair: a sequenceDiagram for the interaction and a stateDiagram-v2 for the lifecycle.
  • A change that alters behaviour updates its page in the same pull request.
  • Facts about third parties are marked verified (date and source) or unverified.
  • Evidence, procedures and checks go on the agent page of the same path, not here.

Which page a change updates, and how the docs are checked: writing docs.