Repository navigation
burnrate v1.0.0: Flagship Production 1.0 Release
⚡ burnrate v1.0.0 Production Flagship Release
Never wake up to an unexpected 0 Claude Code or Cursor bill again.
Terminal HUD, hard spend breakers, prompt-cache linting, model cost cascade routing, multi-agent quotas, and velocity brakes in pure Rust.
🌟 Flagship Architecture
- In-Line Hard Spend Circuit Breaker (
src/budget.rs): ImmediateHTTP 402termination when session caps are hit. - Prompt-Cache Invalidation Linter (
src/cache_linter.rs): Catches prefix drift (dynamic timestamps, unsorted JSON) that bust the 90% cache discount. - Token-Cost Optimal Cascade Router (
src/router.rs): Dynamically downgrades tasks when budgets run low to preserve funds. - Team Budget Pool & Multi-Agent Partitioning (
src/team.rs): Partition shared budget pools across subagents (e.g. planner, coder, reviewer). - Sliding-Window Token Velocity Brake (
src/velocity.rs): Guards against runaway infinite loop consumption. - Prometheus Observability (
/metrics&src/metrics.rs): Enterprise Prometheus text exposition format for Grafana dashboards. - Zero-Lag SSE Streaming Counter (
src/streaming.rs): Tracks stream consumption on the wire. - Native MCP stdio Server (
burnrate mcp): Drop-in Model Context Protocol server for Claude Desktop, Cursor, and Hermes. - Official Client SDKs: Python (
burnrate-agent) & TypeScript.
📦 Installation
cargo install burnrate-agent🧪 Verification & Benchmarks
- 12/12 Tests Passing across all modules.
- Published to Crates.io: https://crates.io/crates/burnrate-agent