I got tired of one model doing everything badly.
πΈ Expensive reasoning on simple searches.
π Fast models hallucinating on architecture.
π« Rate limits with no fallback.
So I built a task router. One prompt, zero config hell.
β‘ What it does:
- π§ Smart routing β says "plan this", "debug that", "review this PR" and sends it to the specialist that handles it best
- β‘ Instant response β you never wait at a blank screen. Agents work async, results appear when done
- π Live status β every 2 minutes, a heartbeat tree shows exactly which agent is running, blocked, or done
- π Auto fallback β rate limit hit? Switches to the next best model. You never notice
- π‘οΈ No hallucination β hard constraints: never invent files, never guess imports, always search first
- π°Cost smart β simple tasks get cheap fast models, complex ones get deep reasoning. No waste
π What a session looks like:
π Router
βββ ποΈ plan (Microservices arch) β [RUNNING]
βββ β‘ fast (Find auth module) β [FINISHED: src/auth/]
βββ π Summary: Architecture in progress, auth found
π οΈ Setup:
Drop 2 files in your OpenClaw workspace. That's it.
AGENTS.md β the router prompt
openclaw.json β the agent definitions with fallback chains
Works with OpenCode models out of the box, or swap in any provider you want.
π Full config + docs: https://github.com/FaridLU/openclaw-task-router
MIT licensed. Questions and suggestions are welcome π
Top comments (0)