Skip to content

Concepts ​

The words this documentation uses: one line each, and the rest under In depth (click to open). The pages after this one in Architecture are the long form: Architecture for the components and the lifecycles, Orchestrator for the ports, the event model and the data.

Thread ​

One conversation, with an owner, a state and an event log.

More on the thread

Its state is one of queued, working, verifying, blocked, done, failed or cancelled. Only the pure core moves it, by transition(&state, &event). Thread state

Job ​

The work a message starts on a thread that has no open job.

More on the job

A job is started by a message on a thread that has no open job. It is kept on the thread as its job ledger (the attempt, the pushed commit, the check results). Job lifecycle

Event log ​

The append-only record of everything that happened on a thread. It is the chat: the screen is a projection of it.

Where it lives, and what else persists

It lives in Postgres (SQLite when the orchestrator is embedded, ADR 0076). What else persists is listed under invariant 3 of the agent guide, each kept beside the log, not in it. ADR 0001

Agent ​

Something the orchestrator hands work to: a remote agent, reached by an A2A agent-card URL, or one hosted in-process.

Hosts, and the in-process option

Remote agents are reached by an A2A agent-card URL. The orchestrator has no code path of its own for any one agent. Agent hosts

The in-process option

Behind the off-by-default feature agent-local a worker may host adam agents in-process (ADR 0015).

Dispatcher ​

The worker loop that carries a command to an agent and brings back what the agent reports.

What it does, step by step

It claims a row of the outbox, talks to the agent over A2A and turns what the agent reports into events applied to the thread. Any replica may run it. Event flow What it claims is the Outbox.

Outbox ​

The table of commands the core decided on, written in the same transaction as the state change.

The commands, and a row that dies

The commands are delegate, cancel, verify, ask and others. A row that dies re-enters the core as a delivery failure, so the thread goes blocked (retryable) or failed, never on as if it was sent. Command lifecycle

Extension ​

An optional, capability-detected addition to a standard protocol.

How an extension behaves

An example is an A2A extension an agent lists on its card. It is read live, fails closed and can be removed without breaking plain A2A. A2A extensions, ADR 0008