Getting Started¶
Everything you need to get StrataRouter running — from installation to your first production deployment.
Installation
Install via pip, Docker, or build from source.
→
Quickstart
Build and run your first router in 5 minutes.
→
First Router
Step-by-step tutorial for your first semantic router.
→
Core Concepts
Understand routing, embeddings, and confidence scoring.
→
Configuration
Tune thresholds, scoring weights, and HNSW parameters.
→
FAQ
Common questions about installation, usage, and performance.
→
At a Glance¶
| Property | Value |
|---|---|
| P99 Latency | Sub-10ms |
| Accuracy | 95.4% routing accuracy |
| Throughput | 10K+ requests/second |
| Memory | ~64MB for 1,000 routes |
| Language | Python + Rust core |
Quick Install¶
Minimal Example¶
from stratarouter import Router, Route
router = Router(dimension=384)
router.add_route(Route("billing"))
router.add_route(Route("support"))
router.build_index(embeddings)
result = router.route(query, embedding)
print(result.route_id) # "billing"
print(result.confidence) # 0.94
print(result.latency_ms) # 1.2ms
Next Steps¶
- Core Engine — The Rust-powered routing brain
- Runtime — Production execution with caching and batching
- Integrations — LangChain, CrewAI, AutoGen and more