Observed since 20 Oct, 22:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Agentic LLM router for classification and decision making.
Agentic Router is a domain-agnostic, zero-shot classification and routing engine designed for modern LLM applications.
Instead of writing rigid if/else statements or hardcoding API logic, Agentic Router allows you to define complex routing topologies and classification guardrails using simple Python dictionaries and arrays. It dynamically compiles these into robust framework-agnostic prompts to intelligently route user queries to the correct database or pipeline.
pip install agentic-router
Define your project's unique routing rules, and the Agent will dynamically strictly enforce them:
from agentic_router import AgenticRouter
from llama_index.llms.openai import OpenAI
llm = OpenAI(model="gpt-4o")
router = AgenticRouter(llm=llm)
# A Customer Support topology
support_topology = {
"Tech_Support": "User is asking about a software bug or failure.",
"Billing": "User is asking about refunds or credit cards."
}
route = router.route_query(
query="I was charged twice on my visa.",
topology=support_topology,
fallback="Tech_Support"
)
print(route) # Output: Billing
Classify inputs on the fly strictly adhering to your defined arrays:
# A tabletop RPG setting
rpg_vibes = ["Ominous", "Peaceful", "Combat", "Tavern"]
query = "The floorboards creak as three figures step out of the shadows with drawn daggers."
vibe = router.classify_vibe(query=query, valid_vibes=rpg_vibes)
print(vibe) # Output: Ominous
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 11 Mar 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c18fe39c978a1460b4134d6cc6058d2b8f08febeeb68bad551baecf0d7b1b859