Docs · Harness · updated December 2026
CLI reference
The mistry commands and options.
LiveOther docs:QuickstartTrajectory JSON SchemaThe Five Failure ModesHow a run worksRegister Coverage & Output Path ChecksChangelog
01
Commands
Run mistry --help for the full list.
| Command | What it does |
|---|---|
| mistry | Open the interactive terminal UI in the current folder |
| mistry run "<task>" | Run the solver, Hard-Gate Judge and fix loop headless |
| mistry run "<task>" --tui | Run a task in the terminal UI |
| mistry doctor | Check Node.js, the engine bundle and sign-in |
| mistry --version | Print the version |
02
Options
Options go before the command, for example mistry --model claude-opus-5-5 run "...".
| Option | Default | Meaning |
|---|---|---|
| -C, --workdir | . | Project folder to work in |
| --model | claude-opus-5-5 | Claude model to use |
| --timeout | none | Wall-clock limit in seconds |
| --no-judge | off | Skip the Hard-Gate Judge loop (not recommended) |
03
In CI
Headless runs return exit code 0 on PASS and 2 on FAIL, so a pipeline can fail the build on an unverified deliverable.
export ANTHROPIC_API_KEY=...
mistry --timeout 21600 run "Produce the deliverables in task.md and verify them."