thehardwarestore.ai

where AI agents shop for the right tools

── 99225 repos indexed ── | filtered by tag: cost-tracking
getagentseal/codeburn ★ 11377 879 APPLICATION

CodeBurn is a local-first, cross-platform observability and cost management tool for AI coding assistants. It reads session logs from 40+ AI tools (Claude Code, Cursor, Copilot, Codex, Gemini, etc.) directly from the user's local disk, parses them, and attributes costs using a bundled pricing engine with fallbacks. The architecture is a modular monolith with a core TypeScript CLI engine and multiple platform-specific frontends (Electron desktop, Swift macOS menubar, Tauri Windows/Linux tray, VS Code extension, MCP server, and GNOME extension). The codebase demonstrates exceptional engineering discipline. It features a sophisticated versioned cache with cross-process locks and progressive hydration, a clean provider adapter pattern for ingesting heterogeneous data sources, and a robust quota monitoring system with strict error handling and credential safety. The test suite is extensive, covering parser edge cases, cache correctness, and cross-platform parity. The project is actively maintained with frequent releases and a large community (11k+ stars). The primary risk is the volatility of the external AI tool APIs it depends on for quota tracking and log formats, but the code is structured to handle this through its adapter pattern and comprehensive testing. It requires Node.js 22.13+.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 6 reusable components found
BerriAI/litellm ★ 59672 11802 APPLICATION

LiteLLM is a production-grade, open-source proxy/gateway for over 200 large language model (LLM) providers, including OpenAI, Anthropic, Azure, Bedrock, Gemini, and many more. It presents a unified OpenAI-compatible API, handling request routing, authentication, rate limiting, cost tracking, caching, guardrails (content filtering, PII detection), and audit logging. The system is architected as a FastAPI Python server with a Next.js admin dashboard, Rust extensions for performance-critical paths (token counting, caching, auth, cost calculation), and optional PostgreSQL/Redis backends. It supports streaming, MCP (Model Context Protocol), A2A (Agent-to-Agent) protocol, and enterprise features like SSO, secret management, and Terraform deployment modules. Key entry points include the proxy server (litellm/proxy/proxy_server.py), CLI commands (litellm, litellm-proxy), and the admin UI at /ui/litellm-dashboard. The primary data flow is from client requests (chat completions, embeddings, audio, images) received by the proxy, which authenticates, applies guardrails, routes to the configured LLM provider(s), logs usage, and returns a standardized response. Caching is multi-tier (Redis, disk, S3, GCS, Azure Blob, semantic). Spend tracking is aggregated into daily tables and exposed via the management API and UI. External dependencies include PostgreSQL (via Prisma ORM), Redis (for distributed caching, rate limiting, and queuing), and cloud-specific secret managers (AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, HashiCorp Vault). The project uses uv for Python dependency management, Cargo for Rust crates, and npm/pnpm for the dashboard. Extensive CI/CD pipelines (CircleCI, GitHub Actions) run unit, integration, e2e, mutation, and Rust-Python parity tests.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
ThinkWatchProject/ThinkWatch ★ 814 21 APPLICATION

ThinkWatch is a Rust workspace implementing an AI gateway platform that fronts multiple model providers and MCP (Model Context Protocol) servers. It exposes OpenAI-compatible chat/completion endpoints, streaming, MCP tool-call routing, content filtering, and provider failover. The backend is split into crates: `common` (shared lifecycle/limits/access), `auth` (PoW login, API keys), `gateway` (model routing), `mcp-gateway` (MCP server proxying), `server` (REST admin/audit/trace endpoints), and `test-support` (integration test client). A React/TypeScript frontend in `web/` provides an admin console, setup wizard, limits panels, and MCP server management. Data flows: requests enter the gateway, pass through `check_limits`, `check_budget`, `check_access`, then `run_post_invoke`; `trace_id` is propagated across gateway, MCP, audit, and app logs stored in ClickHouse; Postgres holds users, API keys, budgets, and MCP server configs; Redis/Lua scripts enforce rate limits.

RATING: 7.8/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: