Docs
Models and effort per role
On this page
Each agent BuildKeel starts plays one of ten roles. The implementer uses your session’s model and effort, and every other role, each a check, runs on the standard tier, until you give it another. This page shows how to set a model and effort for a role, how tiers work, and what Antigravity does with them.
Before you start
Section titled “Before you start”You need a repository where /bk:init has been run. Roles and tiers are settings in the process section of the spec tree’s buildkeel.yaml, in either mode, committed with the tree so the whole team uses them. See Change your configuration.
1. See how each role runs now
Section titled “1. See how each role runs now”-
Run
/bk:settings. -
Read the “Agents” part. It shows each role as it runs on your host, and how Claude starts each agent. In Claude Code:
/bk:settings Agents, as they run in Claude Code:- The implementer: the principal tier: opus at high effort.- The spec reviewer, after each task: the standard tier: sonnet at medium effort.- The quality reviewer, after each task: the standard tier: sonnet at medium effort.- The final spec reviewer, at finish: inherits the session's model and effort.- The final quality reviewer, at finish: inherits the session's model and effort.- Break-it: the standard tier: sonnet at medium effort.- The readiness readers: the standard tier: sonnet at medium effort.- Edge-case suggestions: the standard tier: sonnet at medium effort.- The designers: the standard tier: sonnet at medium effort.- The note checker: the standard tier: sonnet at medium effort.- Principal handoff's round: the principal tier: opus at high effort.An example of a team that gave the implementer the principal tier and its final reviewers the session’s model. Yours shows your own.
2. Give a role a tier
Section titled “2. Give a role a tier”Spend more model where judgment matters, such as on the reviewers, by naming a tier for a role.
-
Open
buildkeel.yamlat the root of the spec tree. -
Under
process, addagents.roles, naming a tier for each role you want to change:process:agents:roles: { implementer: principal, spec-reviewer: standard, quality-reviewer: standard }handoff: { tier: principal, after: 2 } -
Run
/bk:settingsagain to check each role. A role that names a tier that does not exist is reported by validation, and runs on the session’s model and effort. -
Commit the change with the spec tree.
3. Change a tier or add your own
Section titled “3. Change a tier or add your own”Two tiers are ready to use:
- standard: Sonnet at medium effort in Claude Code,
flashin Antigravity; - principal: Opus at high effort in Claude Code, the conversation’s model in Antigravity.
-
Under
process, addagents.tiers, with a model and an effort for each host. Either can beinherit:process:agents:tiers:careful: { claude-code: { model: opus, effort: max }, antigravity: { model: pro } }roles: { implementer: principal, final-spec-reviewer: careful }handoff: { tier: careful, after: 2 } -
Name the tier for a role, or for Principal handoff.
-
Run
/bk:settingsto check, and commit the change.
A tier name is lower-case letters, digits and hyphens. In Claude Code, an effort is inherit or one of low, medium, high, xhigh and max; validation reports any other. Giving a built-in tier’s name changes that tier: what you leave out keeps its built-in value.
4. Set Principal handoff
Section titled “4. Set Principal handoff”Principal handoff is the tier for one more round of fixes when the fix rounds do not clear a review’s finding (see Reviews and the fix loop).
- Set
agents.handoffunderprocess:tieris the tier, andafterthe number of failed fix rounds before it, 1 or more. - To turn it off, set
tier: none: the run then stops and asks you after the fix rounds.
By default it is the principal tier after 2 rounds.
The ten roles
Section titled “The ten roles”| Role | Setting key | What it does, and when | Default |
|---|---|---|---|
| The implementer | implementer |
builds each task | inherit |
| The spec reviewer | spec-reviewer |
after each task | standard |
| The quality reviewer | quality-reviewer |
after each task | standard |
| The final spec reviewer | final-spec-reviewer |
at finish | standard |
| The final quality reviewer | final-quality-reviewer |
at finish | standard |
| Break-it | break-it |
writes tests that try to break the code, in /bk:build, /bk:done and /bk:review |
standard |
| The readiness readers | readiness-readers |
the readiness check | standard |
| Edge-case suggestions | edge-cases |
when a test plan or scenarios are drafted | standard |
| The designers | designers |
design options, in /bk:capture |
standard |
| The note checker | note-checker |
checks each drafted working note against its source, at checkpoints and pauses | standard |
inherit is your session’s model and effort; standard is sonnet at medium effort in Claude Code, and flash in Antigravity.
In Antigravity
Section titled “In Antigravity”Antigravity sets an agent’s model only in the agent’s own definition, and has no effort setting for agents. So BuildKeel ships two of each agent there, one on the conversation’s model and one on flash, and Claude starts the one the role’s tier names. An effort is ignored there, and a tier that names a model other than flash runs on the conversation’s model. /bk:settings says so:
Agents, as they run in Antigravity:- The implementer: the principal tier: the conversation's model.- The spec reviewer, after each task: the standard tier: flash.When agents cannot be started at all, Claude does the work here, says so, and labels the result: see Build.