Repository navigation
Pipelines
Jackson Sá edited this page Oct 21, 2026
·
1 revision
A project's agentux.yaml declares its pipeline (ADR 0005). Without one, the built-in pipeline applies.
version: 1
roles:
planner: { harness: claude-code, model: opus }
implementer: { harness: claude-code, fallback: [opencode] }
reviewer: { harness: codex } # another vendor than the implementer
checks:
- name: lint
run: just lint
- name: test
run: just test
timeout: 20m
pipeline:
- step: plan
role: planner
approve: true # wait for the human before implementing
- step: implement
role: implementer
- step: gate
checks: [lint, test]
on_fail: implement # loop back with the failure output
max_attempts: 3
- step: review
role: reviewer
on_changes_requested: implement
max_rounds: 2
- step: pull_request
isolation:
mode: podman # run checks in a rootless container (none: on the host)
bus:
max_turns_per_exchange: 6
budget:
max_usd_per_run: 10 # pause the run and ask the human when exceeded-
Roles map to harnesses:
claude-code,codex,opencode,antigravity.modelis passed when the harness supports it;fallbacklists the harnesses that take the role while its own is at a usage limit ([]: wait). -
Steps:
plan,implement,gate,review,pull_request,custom(a prompt of your own).approve: truepauses for the human (after an agent step, beforepull_request). - Loops only point backwards and carry a limit.
- Unknown keys, unknown roles or checks and invalid loops are refused with the line and column.
aux validatechecks a file.
The built-in pipeline is plan (approve) → implement → gate (lint and test commands detected from the project; no gate when none) → review → pull_request, with roles planner, implementer and reviewer. Its harnesses come from the user's preferences and the usable agents; see Harnesses.
A run keeps the file it started with: editing agentux.yaml does not change a run in progress.