HeadlessRun a loadout from your shell.
A loadout is a YAML recipe for one run: its Agents, models, checks or review, network, budgets and prompt. axocoatl run hands one to a running daemon (axocoatl dev or the service) and never starts one. It prints a summary and can write JUnit, a record bundle and the run's signed receipt. Its exit code gives a script the outcome: 0 pass, 1 a check failed, 2 needs attention. A refusal before admission has no run receipt; a signing failure is recorded without changing the run verdict. Verify the receipt separately when you require one.
The built-in fix loadout runs one writer, your repository's check command and a required review. Onboarding requires different models. A same-model pair inherited from setup is refused; explicitly choosing both models permits it with a warning. With a local or OpenRouter writer it uses the writer and reviewer onboarding set up; with Claude Code or Codex as the writer, run fix-claude-code or fix-codex instead, with the same flags (below). --model writer=… or --model reviewer=… chooses others for one run.
The run detects the repository's language from package.json, pyproject.toml or requirements*.txt, go.mod or Cargo.toml, runs in that language's official image, and installs the dependencies, such as npm ci or pip install -e '.[test]', with only that ecosystem's package registries open for that step; then the writer works, and the host runs the check, such as npm test, pytest or go test ./.... Repository toolchains →
Use the second terminal while the daemon stays running. Replace the repository path and task, start from a clean checkout or disposable copy, and run its tests first. The evidence directory stays outside the repository. Keep this terminal open to retain its variables, and copy the evidence elsewhere if you need it after temporary files are cleared. --require-pass requires a passing verdict as well as a valid receipt; read the diff before committing.
Complete first-fix guide → ·
axocoatl run reference →
second terminal · local or OpenRouter writer
cd /absolute/path/to/your/repository
git status --short
AXO_TASK='Paging skips the last item'
AXO_EVIDENCE=$(mktemp -d "${TMPDIR:-/tmp}/axocoatl-first-fix.XXXXXX")
printf 'Run evidence: %s\n' "$AXO_EVIDENCE"
axocoatl run fix --task "$AXO_TASK" \
--junit "$AXO_EVIDENCE/junit.xml" \
--record "$AXO_EVIDENCE/run.axorecord.jsonl" \
--receipt "$AXO_EVIDENCE/receipt.json"
AXO_EXIT=$?
printf 'Run exit code: %s\n' "$AXO_EXIT"
git diff
axocoatl receipt verify "$AXO_EVIDENCE/receipt.json" \
--key "$(axocoatl receipt key)" --repo . \
--record "$AXO_EVIDENCE/run.axorecord.jsonl" --require-pass