> ## Documentation Index
> Fetch the complete documentation index at: https://ade-ac1c6011-dependabot-github-actions-actions-cache-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Workers

> Workers are named agent identities the CTO delegates scoped work to — each with a role, model, budget, and activity history, running in its own lane.

**Workers** are named agent identities that the CTO can wake for delegated work. The CTO owns the team; each worker runs inside a lane with its own role, model settings, budget, and activity history. When the CTO splits a plan into lane-sized tasks, it hands each task to a worker, and they run in parallel under the CTO's coordination.

<video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl" src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/demos/subagentsDemo.mp4?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=2f67cfd1d63cb6f229f0e0702a404e7c" data-path="media/demos/subagentsDemo.mp4" />

## What a worker has

| Field           | Meaning                                                                                                            |
| --------------- | ------------------------------------------------------------------------------------------------------------------ |
| Name & role     | A human-readable identity (e.g. `test-writer`) and a role: engineer, QA, designer, devops, researcher, or general. |
| Adapter & model | How the worker runs and which model it uses.                                                                       |
| Budget          | A soft monthly spend cap, tracked per worker and across the team.                                                  |
| Heartbeat       | Whether the worker stays running or wakes only when called.                                                        |
| Activity        | Recent runs, sessions, and outcomes in its feed.                                                                   |

## Create a worker

The Team tab's two-step wizard makes adding a worker quick.

<Steps>
  <Step title="Pick a template">
    Start from a template — backend engineer, frontend engineer, QA tester, devops, researcher, or custom. Each seeds a sensible role and capabilities.
  </Step>

  <Step title="Configure">
    Set the name, role, capabilities, model, and a monthly budget. Save persists the identity and records a config revision.
  </Step>
</Steps>

<Note>
  Worker config is strict about secrets: raw API keys are rejected. Reference secrets as `${env:VAR_NAME}` so credentials never land in a saved worker config.
</Note>

## Adapters

A worker dispatches through exactly one of three adapter types. Anything that wraps an external runtime does so as a `process` adapter — there are no other types.

<CardGroup cols={3}>
  <Card title="claude-local" icon="robot">
    Spawns the Claude CLI locally.
  </Card>

  <Card title="codex-local" icon="robot">
    Spawns the Codex CLI locally.
  </Card>

  <Card title="process" icon="gear">
    A generic managed subprocess for a long-lived or out-of-tree worker runtime.
  </Card>
</CardGroup>

## Budgets and heartbeats

<CardGroup cols={2}>
  <Card title="Budgets are soft" icon="wallet">
    Each worker has a monthly cap tracked per worker and across the team. Nothing blocks execution when a cap is hit — the UI surfaces a warning chip so you can step in.
  </Card>

  <Card title="Heartbeats are optional" icon="heart-pulse">
    A worker with a heartbeat stays "always running"; with it off, the worker only comes to life when the CTO wakes it or a Linear workflow dispatches to it.
  </Card>
</CardGroup>

## Basic flow

<Steps>
  <Step title="Ask the CTO for a plan">
    Describe the goal and ask how it should be split.
  </Step>

  <Step title="Approve the shape">
    Confirm lanes, worker roles, and validation expectations.
  </Step>

  <Step title="Let workers execute">
    Each worker runs in its own lane. Watch active sessions and runs from Work, Lanes, and History.
  </Step>

  <Step title="Review the output">
    Inspect diffs, tests, proof, and PRs before merging.
  </Step>
</Steps>

<Frame caption="The CTO dispatches work to its team and surfaces their activity.">
  <img src="https://mintcdn.com/ade-ac1c6011-dependabot-github-actions-actions-cache-6/mZiHD0-x8whDsXL3/media/features/cto/subagents.webp?fit=max&auto=format&n=mZiHD0-x8whDsXL3&q=85&s=e62e054a8c72e04c5b70420138032c24" alt="The CTO dispatching work to a team of worker agents" width="1280" height="782" data-path="media/features/cto/subagents.webp" />
</Frame>

<Note>
  Workers are still coding agents. Review their output like any other contribution — nothing merges without your review.
</Note>

<CardGroup cols={2}>
  <Card title="CTO overview" icon="crown" href="/cto/overview">
    How the project-level operator plans and delegates.
  </Card>

  <Card title="Multi-agent setup" icon="users-gear" href="/guides/multi-agent-setup">
    Patterns for splitting work cleanly across agents.
  </Card>
</CardGroup>
