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.
The roles
Section titled “The roles”| Role | The kind of work | You choose |
|---|---|---|
| Design | Visual work: layout, styling, how a component looks | The model with the best eye |
| Build | Implementation: wiring a design in, logic, tests | The model you trust to write the code |
| Review | Reviewing a change before a pull request | A second opinion. It is never the session that wrote the change |
| Orchestrate | Leading: splitting a task, handing out the parts, putting the results together | The 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.
Setting it up
Section titled “Setting it up”In Settings → Models & roles:
- 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.
- Under Who does what, give each role a preset.
- For each role, choose how it is routed:
| Setting | Effect |
|---|---|
| Route automatically | The work is sent without asking, when the session is in Auto or Bypass |
| Ask me first | A card always asks you before the work is sent |
| Off | Your 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.
When your first choice cannot run
Section titled “When your first choice cannot run”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.
The orchestrator
Section titled “The orchestrator”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.
Reviews
Section titled “Reviews”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.
Where the work is done
Section titled “Where the work is done”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.