AI cost analytics for coding agents — know where your tokens and money go
# budi [](https://github.com/siropkin/budi/actions/workflows/ci.yml) [](https://github.com/siropkin/budi/releases/latest) [](https://github.com/siropkin/budi/blob/main/LICENSE) [](https://github.com/siropkin/budi) **Local-first cost analytics for AI coding agents.** See where your tokens and money go across Claude Code, Cursor, and more. ```bash brew install siropkin/budi/budi && budi init ``` Everything stays on your machine by default. Optional cloud sync pushes aggregated daily cost metrics to a team dashboard at `app.getbudi.dev` — prompts, code, and responses never leave your machine. <p align="center"> <img src="assets/dashboard-overview.png" alt="budi dashboard — cost overview" width="800"> </p> <details> <summary>More screenshots</summary> **Insights** — cache efficiency, session cost curve, tool usage, subagent costs <p align="center"> <img src="assets/dashboard-insights.png" alt="budi insights" width="800"> </p> **Sessions** — searchable session list with drill-down to individual messages and session health <p align="center"> <img src="assets/dashboard-sessions.png" alt="budi sessions" width="800"> </p> </details> ## What it does - Tracks tokens, costs, and usage per message across AI coding agents - **Local proxy** (port 9878) sits between your agent and the LLM provider, capturing every request in real time — streaming responses pass through with no visible lag - Attributes cost to repos, branches, tickets, and custom tags - **Session health** — detects context bloat, cache degradation, cost acceleration, and retry loops with actionable, provider-aware tips - **Cloud dashboard** at [`app.getbudi.dev`](https://app.getbudi.dev) — team-wide cost visibility across
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.