surface

Your first Crew run.

Define a bounded coding task for Crew, choose its engines and verification commands, and review workspace preparation, checkout mirroring, and budgets.

Written for
Code users delegating a longer implementation task.
You need
Kaitoi CLI installed and signed in for Code's managed tools; A trusted workspace and any required external engine installed and authenticated

For setup and updates, see Install and update. Check kaitoi --version and use kaitoi code --help to confirm available commands. Older builds may interpret unsupported code acp or code serve commands as model prompts.

Crew carries a bounded coding task through implementation and configured checks in a durable run. It can keep working after the interactive conversation ends. Start with a concrete outcome and a real verification command.

Write an acceptance brief

Describe the behavior to change, files or areas in scope, existing work to preserve, and how success will be checked. For example:

Add an empty state to the saved-search page. Keep the existing search behavior. Verify the component tests and production build. Report the changed files and any unresolved failures. Keep the candidate out of my checkout.

Choose commands that actually exist in your project. A run needs at least one test, build, or smoke command. A named tester role also needs a verification entrypoint; merely assigning a tester does not define what it should test.

Configure the run in Code

/run config
/crew Add the empty state described in the acceptance brief

/run config displays the profile. Edit with /run config roles, budgets, verification, preparation or reset, adding --global where supported. Settings live in ~/.kaitoi/code/crew-profile.json, with global defaults and per-workspace overrides; there is no project configuration file. Verification and tester entrypoints are per-workspace only. Saving settings does not start a run. Review the resolved proposal even when you have saved defaults.

A Crew start proposal turns an outcome into explicit authority and checks.

A run brief names the outcome. Its admission sheet adds the repository, implementer and optional reviewer or tester, verification commands, preparation permissions, and bounded time or spending authority. Checkout mirroring is a separate choice and is on by default. Review these values before starting. An accepted run ID means work was admitted, not that the checks passed.

The implementer can use Claude, Codex, or Penny. Optional planner, reviewer, and tester roles use supported external engines. Configure their installed clients and authentication first. External engines use their own account arrangements; Kaitoi login alone does not authenticate them. A Penny implementer spends your Kaitoi credits and cannot run commands. Token, credit and cost caps are off unless you set them. Review the resolved start proposal and choose caps before starting a paid run.

Check the workspace and preparation

An existing Git repository normally needs a clean checkout and its canonical repository root. Code's start proposal can use workingTree: ignore_uncommitted to exclude dirty work and turn checkout mirroring off. The direct CLI has no such flag and requires a clean checkout. Crew refuses unsupported nested-root and symlinked-Git arrangements.

Crew can also initialize an eligible missing or empty directory. The direct CLI can admit a directory containing only the exact supplied task file; Code's path without a task file needs an empty directory apart from allowed operating system metadata. Initialization creates Git metadata, a main branch, and a base commit, and appears in the approval proposal. A non-Git folder containing an ordinary project is not treated as empty.

Preparation defaults to --verification-environment locked and --verification-network registry: registry-only network access for dependency setup, not unrestricted internet for verification commands. Use disabled or denied respectively to turn those off. The current locked recipe supports npm package-lock v1 and runs npm ci --ignore-scripts. --allow-lifecycle-scripts reserves permission for a future admitted recipe; it does not enable scripts in the current one. --allow-lockfile-repair allows the supported lockfile-only repair with scripts disabled.

Crew always uses a private worktree, but checkout mirroring is enabled by default. Eligible changes can appear in your original checkout as unstaged files. Disable mirroring in the proposal when you want a private candidate only. See results and mirroring before starting alongside other work.

Start directly from the terminal

For a Python project whose verification command is python -m pytest -q:

kaitoi crew run "Add the agreed empty state and verify it" \
  --repo /path/to/project \
  --implementer codex \
  --implementer-commands allowed \
  --test-command "python -m pytest -q" \
  --background --no-mirror

Replace the task, path, and check with your project's actual values. Supply a task argument or --task-file PATH, not both. Command authority permits implementation commands; it is a substantive choice. --no-mirror keeps this run's changes out of the original checkout. --background returns an accepted run ID before the task finishes.

Keep the run bounded and inspect its result

Review time, dispatch, token, cost, and automatic-continuation allowances. Provider usage may arrive after an activity, and unknown costs remain unknown; a bound is not a guaranteed final bill. Start only the scope you intend.

Save the run ID. Use /run status, /run progress, /run result, and /run evidence to inspect that same run. An interrupted or budget-limited run may contain useful saved work without verified completion. A completed run and its candidate still need integration and any separately intended release steps.

Last reviewed against Kaitoi on 26 October 2026. View this page as Markdown

Type at least two characters.