Skip to content

The right model for each job

No single model is the best at everything. One has the better eye for layout, another is the one you trust to write and test the logic, a third is the reviewer you want reading the result.

Kestrel has a router built in. You tell it once which model you prefer for each kind of work, and from then on each part of a task goes to the right one, whichever agent you happened to start the conversation with.

A design task goes to your favourite model for visual work without you asking for it. The build goes to your builder. You stay in one conversation.

RoleThe kind of workYou choose
DesignVisual work: layout, styling, how a component looksThe model with the best eye
BuildImplementation: wiring a design in, logic, testsThe model you trust to write the code
ReviewReviewing a change before a pull requestA second opinion. It is never the session that wrote the change
OrchestrateLeading: splitting a task, handing out the parts, putting the results togetherThe model that plans and coordinates best

A role you leave on Use the session’s current model is not routed; that work stays with the session you are in.

In Settings → Models & roles:

  1. Under Model presets, make a preset for each combination you want to use: an agent, a model and an effort level, with a name of your own.
  2. Under Who does what, give each role a preset.
  3. For each role, choose how it is routed:
SettingEffect
Route automaticallyThe work is sent without asking, when the session is in Auto or Bypass
Ask me firstA card always asks you before the work is sent
OffYour choices are kept, but nothing is routed

You can also say in your own words when a role should be used, for instance which kinds of change count as design in your projects.

A model can be unavailable: its agent is not connected, not signed in, or out of usage. For each role you can list more than one preset, in order. If the first cannot run, Kestrel goes to the next.

By default it asks you first. Set If the top choice cannot run to Use the next one and tell me to have it carry on without stopping.

A session that hands parts of its task to others has become the lead of that work. From its next turn it moves to your Orchestrate preset, when that preset is on the same agent, so the coordinating is done by the model you chose for coordinating.

The Review role is used when you open a pull request: the Create pull request form offers a review by your reviewer before or after the pull request is opened. See Pull requests and reviews.

Routing decides which model does a part. Projects decide where: a part that belongs to another project is done by a session in that project. The two work together, so a design change to your app is made by your design model, in a session that knows the app. See Workstreams.