Documentation Agent integrations

Connect your Agent to HiRoute

Keep the Agent you work in and combine your subscriptions, APIs or local models in one route. Let an economical model read code and gather facts, bring in your primary model for harder turns, and hand independent work to another Agent when its tools suit the job.

Download HiRoute · Get started with HiRoute

Pick the Agent you use

Every guide follows the same four steps: get models, configure smart routing, connect your Agent, and explore task delegation. Routing instructions and screenshots are included on each page.

Connect more model sources

From model sources to an execution Agent

  1. Connect models. In Models → General models → Add models, connect a subscription, scan supported configurations on the device or add an API. If Magpie is already running, add its local API.
  2. Route by difficulty. Choose Difficulty routing under Smart routing and add Regular and Primary models. Start with heuristic rules if you want local decisions. Add a decision model for stage scoring and low-score protection. See model routing.
  3. Connect your Agent. Map the published route to your everyday Agent and select it in the client's model picker.
  4. Delegate when needed. Bind an executor in a plan and enable Task routing in the main Agent. Try a lightweight Pi route for log triage or test checks.
Regular and Primary model groups in a HiRoute difficulty routing plan
Give routine work to Regular models and hard turns to Primary models. You can add several candidates to each group.

Start with a small task. See which models ran in Sessions → Routing timeline, and see the executor and outcome in Agent → Task history. Follow the delegation walkthrough