Agent Coordination

Agent Coordination

XMDB provides durable coordination primitives for autonomous systems. Instead of ephemeral RPC calls between agents, coordination is recorded as ordered, append-only events that can be streamed, acknowledged, audited, and replayed.

XMDB turns agent collaboration into a durable, inspectable system, not a black box.

How coordination flows:

Agent AsendermessageMailbox / Topic(append-only)Agent BreceiverACK / Lease / Step events

All coordination events are append-only, ordered, and auditable.

Coordination primitives

Built for multi-agent systems that need reliable, auditable coordination.

Mailboxes & Topics

Agent-to-agent messaging and topic pub/sub with deterministic cursors, ACKs, and SSE streams. Messages are durable events, not ephemeral RPC.

Work Queue Leasing

Claim/renew/release semantics with deterministic work state. Leases expire predictably, enabling reliable distributed task coordination.

Threads, Runs & Steps

Structured collaboration ledger with idempotent execution. Track multi-step workflows across agents with full history.

Presence & Capabilities

Heartbeat-based presence and discoverable agent metadata. Know which agents are online and what they can do.

Webhooks

Signed, retrying webhook delivery with full delivery history. Integrate external systems with reliable event propagation.

Governance & Export

Audit-friendly exports and retention controls. Every coordination event is part of the append-only history.

Used by Talos

Talos uses XMDB coordination primitives to execute multi-step work reliably and resume after restarts or failures.

See Talos

Federated coordination

Share coordination events (messages, leases, runs, steps) between agents with cryptographic proofs. Trust policies control which agents can contribute to shared workflows.

Learn about federation

CLI & SDK Support

XMDB includes first-class client libraries and xmdbctl commands for messaging, leasing, runs, presence, webhooks, and export.

Mailbox operations

Send, receive, ACK messages with deterministic cursors

Lease management

Claim, renew, release work items with TTL control

Run tracking

Create threads, runs, and steps with idempotency keys

Webhook configuration

Register endpoints, view delivery history, manage retries

CLI commands

  • xmdbctl msg send|inbox|ack|getMessaging
  • xmdbctl work claim|renew|releaseWork leases
  • xmdbctl agent heartbeat|presence|capabilitiesPresence
  • xmdbctl webhook create|list|update|deliveriesWebhooks
  • xmdbctl agentcoord exportAudit export

Ready to coordinate your agents?

Add durable coordination to your multi-agent systems today.