Govrix Documentation
Govrix is the AI agent control plane — a transparent Rust proxy that sits between your agents and LLM APIs, giving you full observability, cost control, and compliance enforcement without changing a line of agent code.
What you get
- <1ms p50 latency — Rust hyper proxy, no Python overhead
- Real-time cost attribution per agent, per session
- PII detection on every prompt and response (5 types, 25+ patterns)
- Kill switch — block rogue agents instantly with HTTP 403
- Budget enforcement — per-agent + global daily token/cost caps
- Session forensics — full audit trail with SHA-256 Merkle lineage hashes
Quick navigation
Architecture
Your Agent → govrix-scout (port 4000) → OpenAI / Anthropic
↓ (fire-and-forget, never blocks hot path)
PostgreSQL 16 + TimescaleDB
↑
Dashboard (port 3000) + Management API (port 4001)Every request is recorded with a session_id, timestamp, lineage_hash (SHA-256 Merkle), and compliance_tag — enforced at compile time in Rust.
Editions
| Feature | Scout (OSS) | Govrix (Enterprise) |
|---|---|---|
| Transparent proxy | ✅ | ✅ |
| Cost tracking | ✅ | ✅ |
| PII detection | ✅ | ✅ |
| Kill switch | ✅ | ✅ |
| Budget enforcement | ✅ | ✅ |
| Session forensics | — | ✅ |
| YAML policy engine | — | ✅ |
| mTLS A2A | — | ✅ |
| Multi-provider routing | — | ✅ |
Last updated on