AgentsView is an open-source observability tool designed to track, search, and analyze costs across various AI coding agents. The system operates by discovering session data from diverse sources—including Claude Code, Cursor, Copilot CLI, Aider, and Windsurf—and synchronizing them into a local SQLite database. Users can interact with their data through a web UI served at localhost:8080 or via a command-line interface. For advanced analytics, the tool supports exporting data to PostgreSQL or ClickHouse for team-wide dashboards. Technically, AgentsView provides granular metrics, including per-session token usage, peak context window statistics, and cost estimations calculated via LiteLLM and OpenRouter rates. It features sophisticated search capabilities, including full-text search (FTS5) for message content and optional semantic search using OpenAI-compatible embeddings. Additionally, the tool offers "stats" functionality to provide window-scoped analytics, such as session duration distributions, tool-per-turn metrics, and cache economics. The architecture supports a background daemon for continuous session monitoring and can be deployed via Docker, ensuring that session archives remain local unless explicitly shared through configured remote backends.
Read original
github-trending/go