Harnesses and roles
Every agent harness Gantry drives, the environment keys that configure each one, and which role runs which stage of the pipeline.
The harnesses
Agent harnesses — 4 rows exported from
src/engine/harness/mod.rs
Claude
picked with c
| field | environment key | if that is unset |
|---|---|---|
| bin | GANTRY_CLAUDE_BIN | GANTRY_CLAUDE |
| model | GANTRY_CLAUDE_MODEL | GANTRY_MODEL |
| small_model | GANTRY_CLAUDE_SMALL_MODEL | GANTRY_COMMIT_MODEL |
| args | GANTRY_CLAUDE_ARGS | the harness's own default |
OpenCode
picked with o
| field | environment key | if that is unset |
|---|---|---|
| bin | GANTRY_OPENCODE_BIN | the harness's own default |
| model | GANTRY_OPENCODE_MODEL | the harness's own default |
| small_model | GANTRY_OPENCODE_SMALL_MODEL | the harness's own default |
| args | GANTRY_OPENCODE_ARGS | the harness's own default |
Codex
picked with x
| field | environment key | if that is unset |
|---|---|---|
| bin | GANTRY_CODEX_BIN | the harness's own default |
| model | GANTRY_CODEX_MODEL | the harness's own default |
| small_model | GANTRY_CODEX_SMALL_MODEL | the harness's own default |
| args | GANTRY_CODEX_ARGS | the harness's own default |
Gemini
picked with g
| field | environment key | if that is unset |
|---|---|---|
| bin | GANTRY_GEMINI_BIN | the harness's own default |
| model | GANTRY_GEMINI_MODEL | the harness's own default |
| small_model | GANTRY_GEMINI_SMALL_MODEL | the harness's own default |
| args | GANTRY_GEMINI_ARGS | the harness's own default |
The roles
Harness roles — 4 rows exported from
src/domain/mod.rs
| role | stages it runs |
|---|---|
| plan | Brief, Plan, Test setup, Replan |
| build | Execute, Fix, Investigate, Troubleshoot, Resolve |
| review | Review |
| util | Test, Merge, Support, Done |
The stages
Pipeline stages — 14 rows exported from
src/domain/mod.rs
| stage | shown as | run by |
|---|---|---|
| environment-build | Brief | plan |
| plan | Plan | plan |
| gate-build | Test setup | plan |
| execute | Execute | build |
| gate | Test | util |
| fix | Fix | build |
| investigate | Investigate | build |
| troubleshoot | Troubleshoot | build |
| review | Review | review |
| replan | Replan | plan |
| merge | Merge | util |
| resolve | Resolve | build |
| support | Support | util |
| done | Done | util |