Understand AgentWorks architecture
AgentWorks separates lifecycle decisions from work already in progress. The control plane owns agent definitions, versions, releases, environments, deployments, and access. The run plane owns runs, events, checkpoints, effects, interactions, sessions, and worker leases.
Standalone topology
CLI / SDK / automation
|
v
AgentWorks REST API -------- embedded H2 (local development)
| control + run state
v
Run worker
/ | \
models MCP A2A
through DVARA Gateway when configured
The standalone service can host the control plane, REST API, and worker in one process. The loopback quickstart uses
embedded H2 and requires no PostgreSQL service. Set agentworks.console.enabled=false when no web interface should
be served.
A reachable or production standalone control-plane installation needs supported durable storage and backup. That is different from an enrolled runtime: it owns lifecycle state itself rather than receiving signed assignments from Flightdeck.
Flightdeck-managed topology
Users / automation
|
v
Flightdeck + AgentWorks control plane ---- PostgreSQL
|
| signed assignment, identity, decisions
v
AgentWorks Runtime ---- local SQLite run store
|
v
DVARA Gateway ---- models, MCP servers, A2A agents
Flightdeck hosts the AgentWorks control plane and product pages. A separate AgentWorks Runtime has no Flightdeck database credential. It receives a signed assignment, keeps run state in its local SQLite database, executes work, and sends accepted records back to Flightdeck.
Choose a storage composition
| Run plane | Control plane | Use |
|---|---|---|
jdbc | database | Standalone all-in-one server; embedded H2 is for loopback development, while a production control plane uses supported external persistence |
local | database | Standalone control plane with a runtime-local SQLite store; has lifecycle limitations |
local | flightdeck | Enrolled runtime-only process with SQLite; Flightdeck owns control-plane state |
Use the local SQLite run store for an isolated runtime only when its lifecycle and recovery boundaries fit the workload. With Flightdeck control-plane mode, a database configuration on the Runtime is refused instead of being used as a fallback. The Flightdeck-managed Runtime therefore never connects directly to PostgreSQL.
API-first operation
The versioned API is under /api/v1. The CLI, SDK, standalone Console, and Flightdeck-hosted product pages are
clients of public product behavior. Disabling the Console does not disable the API, workers, run streams, health, or
metrics.
The running server publishes its OpenAPI document at /api/v1/openapi.yaml. API errors use the RFC 9457 problem
format, and safe write operations use idempotency keys or ETags where required.
Durable execution boundary
A run remains pinned to the release that admitted it. Promoting a newer release changes new work; it does not swap new instructions or dependencies into a run already in progress. Checkpoints, effect records, and leases allow a compatible worker to continue recorded work without pretending every external effect can be exactly once.