- Get Started

The Workspace Fleet

The workspace fleet is the collection of Coder workspaces OpenFlows provisions and supervises to actually get work done. It comes in two flavors: one long-lived orchestrator workspace and many short-lived worker workspaces.

The two kinds of workspace

The NEXUS (orchestrator) workspace is long-lived and trusted. It runs the Controller brain. It is the only workspace that legitimately holds credentials and talks to Coder’s API. Think of it as headquarters.

Worker workspaces are short-lived and disposable — one per agent per ticket. They are created when work is assigned and torn down when it completes. Think of them as temporary job sites.

Inside a worker workspace

A worker workspace contains only what its one agent needs to do its one job:

Diagram of a worker workspace: a thin, isolated, disposable Coder workspace holding one agent, one ticket, the repository checkout, and the role's skills — with no LLM keys and no raw credentials inside.
A worker workspace is thin, isolated, and disposable — one agent, one ticket, no secrets.

And deliberately nothing more:

Lifecycle of a worker workspace

  1. Provision. The Controller creates the workspace from the role’s template.
  2. Boot. The workspace installs its coordination tooling, gets the repository, and starts a liveness beacon.
  3. Bind task. The Controller attaches the specific ticket and role to the workspace.
  4. Work. The agent does its job, reporting through the coordination surface.
  5. Record. Durable results are written to the coordination store.
  6. Tear down. On merge, the workspace is deleted and its liveness beacon removed.

Why workspaces are isolated

The isolation between workspaces is what makes the system’s central promise — trustworthy adversarial review — hold:

Liveness: knowing who’s alive

Each worker keeps a liveness beacon: a small, self-expiring record refreshed on a cadence. If the beacon stops updating, it expires on its own, which tells the Controller "this workspace has gone silent." No external watcher needs to poke every container.

When a workspace goes silent, the Controller declares it stale and recovers it — tearing it down, re-provisioning a replacement, and re-assigning the ticket — up to a bounded number of attempts before escalating to a human.

The overall security posture

Taken together, the workspace fleet embodies the security-by-design idea:

Why it’s governed: the fleet makes safety structural

If you understand this fleet, you understand why OpenFlows can let AI agents run end-to-end and still be called "governed."