Who it is forA team lead or developer who wants cheap models for first drafts and a stronger model for review, without one model handling both.
The problemA single routing rule cannot tell drafting work from review work, so review either gets an underpowered model or drafting wastes premium usage.
The outcomeHi Route picks a task category first, then the simple or complex degree within it, so drafting and review use different model groups.
What you need first
- macOS 15 or later on Apple silicon or Intel, or Linux x86_64 or ARM64 (aarch64) for the headless CLI and daemon
- An existing Codex or Claude Code subscription, a registered API, or a compatible custom API to connect
- A decision model connection (Bailian, OpenRouter Jev, TypeSafe, or a compatible endpoint) for model-based judgment
- An Agent client such as Codex or Claude Code configured to use HiRoute
Steps
- Run
hiroute service start --output jsonafter installing Hi Route, then runhiroute system status --output jsonto confirm the service is up. - Connect the decision model you want to use for judgment under Models, then Decision models.
- Create a routing plan with custom task branches for drafting and review, giving each category a regular group and, where needed, a primary group.
- Publish the routing plan and connect your Agent client or expose it as a Worker plan.
- Review the sessions view to confirm each turn shows its category and the model group that actually ran.
Prompt for your agent
Using the HiRoute repo at https://github.com/higress-group/HiRoute, configure a routing plan with separate drafting and review custom task branches for <target project>. Report which model group each branch uses and the category HiRoute chose for two sample turns. Verify that a low drafting score does not change the review category.
Caveat. The README describes custom branches but does not list the exact category names or model group limits, so check the routing plan editor before publishing.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for higress-group/HiRoute and "Route drafting and review to separate model groups"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer