semantic-router: Dynamic Routing for Multi‑Model AI Deployments
From the repo · “A programmable Mixture-of-Models router for heterogeneous LLM inference”
Directs data to the right AI model with the semantic-router.
"A founder like Emily wants to create a chatbot that answers customer queries about product availability. Emily uses the semantic-router to direct customer data to the most accurate AI model, which returns an answer within seconds. The chatbot improves customer satisfaction and Emily can focus on growing the business."
- •When deploying AI models at scale and needing efficient traffic routing
- •In environments with diverse model types requiring smart routing decisions
- •For optimizing resource utilization in cloud, data center, or edge computing
Run './semantic-router -config config.yaml -model-dir /path/to/models' to start the router with a specific model directory
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/semantic-router && curl -fsSL https://workflowstacks.com/api/skills/semantic-router/claude-skill -o ~/.claude/skills/semantic-router/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Semantic-router: Dynamic Routing for Multi‑Model AI Deployments is a very large Go project (~959k lines across 4786 code files, plus 722 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, Apache-2.0 license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3src/fleet-sim/README.mdInside src/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/semantic-router && curl -fsSL https://workflowstacks.com/api/skills/semantic-router/claude-skill -o ~/.claude/skills/semantic-router/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/semantic-router?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More devtools tools founders pair with this one.