Runs

A run is an agent Coordigent starts and supervises for you, in a new git worktree and branch.

Two kinds of run

  • Headless (default). Coordigent starts Claude Code (claude -p) or Codex (codex exec) with no terminal, watches it to the end, and collects a result: summary, branch, files and diff.
  • Interactive (--interactive). A normal agent in its own terminal window, which you watch and type into.

A run spends your model credits, so it starts only when you ask. Nothing starts, restarts or resumes one on its own. It writes only a new local branch and never pushes.

Starting a run

Start a headless run from this checkout; returns at once

coord sessions start "add a test for parseConfig"

Continue another agent's work and follow progress

coord sessions start --from a3f2 --wait "finish the TODOs"

Open the run in a new terminal window instead

coord sessions start --interactive "add a test for parseConfig"
  • It branches from your current commit, so uncommitted changes are left out. You are warned.
  • --from branches from that agent's branch, and the prompt carries its handoff.
  • --client codex runs Codex instead of Claude Code.
  • One headless run at a time, stopped after 30 minutes.

While it runs

A run is an agent like any other: it holds files, warns and is warned, and can be in a conflict. Message it with coord sessions message. coord sessions marks it run <id>.

A headless run can't ask you anything. It may edit files in its worktree and use an allowed list of tools.

  • Other tool calls are denied, the run carries on, and its result lists the denials.
  • --allow-tool <pattern> adds tools for one run.
  • Stuck on a decision, it stops and lists Questions for you: in its summary.

When it ends

A headless run ends done, failed, stopped or timed_out. Uncommitted work is committed on the run branch, the worktree is removed, and the branch stays. Unless you stopped it, you get one desktop notification, and it sits on Needs you until you open it.

What is going and what finished

coord runs

The result, with the diff

coord runs show <id> --diff

Stop a run that is going

coord runs stop <id>

Delete a finished run's branch, worktree and record

coord runs discard <id>

Clear finished runs older than 14 days

coord runs prune

An interactive run has no supervisor, timeout or automatic commit. It ends when you close its agent; its worktree and branch are always kept. Stop it by closing its window, or with coord sessions stop <agent>.

A run branch you changed, checked out elsewhere or pushed is yours. It is never deleted without --force.

Where you see runs

  • CLI. coord runs, and run <id> in coord sessions.
  • VS Code. The Runs view lists runs going and finished, with Start headless agent…, Show run result…, Stop run… and Discard run….

Next