LLM routing rules
Quick reference for llm routing rules.
Context
Project: Agentic Quant Platform
Repository: agentic_quant_platform
This note is a compact reference for a local-first quant research and trading platform with FastAPI, Celery, Postgres, Iceberg, DuckDB, MLflow, Redis-backed RAG, strategy factories, agents, bots, streaming, and paper trading.
Checklist
- Route calls through router_complete
- Declare model choice in AgentSpec
- Do not call vendor SDKs from agent bodies
- Capture telemetry through AgentRuntime
Commands and inspection
# Start with the project README, then narrow to the subsystem docs.
rg "LLM" .
# For Kubernetes-backed components, inspect the namespace before changing it.
kubectl get pods --all-namespaces
Usage note
Keep this note close to the implementation. If the command, manifest, or API changes, update the reference before writing a narrative post about the change.