Skip to content

Docs

Models and effort per role

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.

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. Run /bk:settings.

  2. 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.

Spend more model where judgment matters, such as on the reviewers, by naming a tier for a role.

  1. Open buildkeel.yaml at the root of the spec tree.

  2. Under process, add agents.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 }
  3. Run /bk:settings again 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.

  4. Commit the change with the spec tree.

Two tiers are ready to use:

  • standard: Sonnet at medium effort in Claude Code, flash in Antigravity;
  • principal: Opus at high effort in Claude Code, the conversation’s model in Antigravity.
  1. Under process, add agents.tiers, with a model and an effort for each host. Either can be inherit:

    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 }
  2. Name the tier for a role, or for Principal handoff.

  3. Run /bk:settings to 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.

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).

  1. Set agents.handoff under process: tier is the tier, and after the number of failed fix rounds before it, 1 or more.
  2. 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.

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.

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:

/bk-settings
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.