Who it is forA developer with several independent tasks, such as separate research or code checks, who wants them run by other agents in parallel.
The problemIndependent tasks queue behind one agent session, and there is no single place to see what each delegated task used.
The outcomeIndependent tasks run as delegated Worker work, and each execution appears in local session views with its model, usage and cost.
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
- Install Hi Route on Linux with
curl -fsSL https://hiroute.ai/install.sh | sh, then start it withhiroute service start --output json. - Create an agent work plan that defines the independent tasks you want delegated.
- Expose a Worker plan for those tasks and publish it.
- Connect the delegating Agent client to the Worker plan.
- Open the sessions view and review each delegated task's category, model group and result.
Prompt for your agent
Using the HiRoute repo at https://github.com/higress-group/HiRoute, expose a Worker plan that delegates <list of independent tasks> to other agents. Report the status and model group of each delegated task. Verify that each delegated execution appears in the local session view with its usage and cost.
Caveat. The README says independent tasks can be delegated but does not name the delegation targets beyond connected agents, so confirm which agents your Worker plan can reach.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for higress-group/HiRoute and "Delegate independent tasks to other agents through a Worker plan"
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