LanceZPF/agent-as-a-router
Agentic model router that routes coding tasks to different LLM backends under a performance-cost tradeoff.

Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history
ACRouter is an agentic routing system that selects among multiple LLM backends for coding tasks based on a performance-cost tradeoff. The repository provides the reproducible implementation, the CodeRouterBench dataset (OOD176), reference outputs, and small demos. It also includes runtime integrations for Claude Code Router and cc-switch, enabling gateway- or proxy-level routing before requests reach the selected backend model.
Frequently asked
- What is LanceZPF/agent-as-a-router?
- Agentic model router that routes coding tasks to different LLM backends under a performance-cost tradeoff.
- Is agent-as-a-router open source?
- Yes — LanceZPF/agent-as-a-router is open source, released under the MIT license.
- What language is agent-as-a-router written in?
- LanceZPF/agent-as-a-router is primarily written in TypeScript.
- How popular is agent-as-a-router?
- LanceZPF/agent-as-a-router has 1.2k stars on GitHub.
- Where can I find agent-as-a-router?
- LanceZPF/agent-as-a-router is on GitHub at https://github.com/LanceZPF/agent-as-a-router.