aurelio-labs/semantic-router
Superfast AI decision making and intelligent processing of multi-modal data. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 99
- Longevity 74
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 9
- age_days: 1038
- days_rel: 9
- days_push: 9
- n_releases_24m: 26
Adoption not part of the score
3841 stars · 365 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Semantic Router is a Python library that provides a fast decision-making layer for LLMs and agents, routing requests based on semantic vector similarity instead of slow LLM inference. It supports static and dynamic routes, guardrails, multi-modal (image) routing, and both cloud and fully local execution via various embedding and LLM integrations.
Use cases
- route user queries to the right agent tool without an LLM call
- build guardrails to keep a chatbot away from political topics
- classify incoming support tickets by intent in milliseconds
- decide whether a message needs RAG retrieval or chitchat handling
- run a fully local router with HuggingFace embeddings and LlamaCpp
- route based on image content in a multi-modal pipeline
- scale tool selection to thousands of tools without stuffing the context window
When to choose
- you need millisecond routing or tool-use decisions without LLM latency and cost
- you want deterministic, threshold-based fallbacks instead of hallucinated tool calls
- you need local-only execution with no API dependencies
- you want simple route definitions from example utterances
When to avoid
- you need complex multi-step reasoning that requires full LLM generation
- your routing categories need fine-grained classification beyond embedding similarity
- you are not working in Python or an LLM/agent context
Facets
library · maturity active
machine-learning nlp rag agent-framework middleware routing artificial-intelligence large-language-models developer-tools python cross-platform semantic-routing embeddings llm-decision-making guardrails tool-use multi-modal vector-space ai-agents natural-language-processing
3 sources
- readme: https://github.com/aurelio-labs/semantic-router · fetched 2026-08-28 · b0a3257042bc
- homepage: https://www.aurelio.ai/semantic-router · fetched 2026-08-29 · c9366d546b73
- site_page: https://docs.aurelio.ai/semantic-router/get-started/introduction · fetched 2026-08-29 · fe46c8b8db5c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aurelio-labs/semantic-router | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="aurelio-labs/semantic-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem