AgentsView is a local-first analytics and session search tool for AI coding agents. It discovers the session files every agent CLI writes on your machine, syncs them into a local SQLite database, and serves a web UI that lets you browse, search, and track token costs across all of them. It is a single Go binary with no account, no hosted backend, and nothing that leaves your computer, which makes it a practical companion for anyone running more than one coding agent.
Key Features
- Universal session discovery: auto-detects sessions from Claude Code, Codex, Copilot CLI, Gemini CLI, OpenCode, OpenHands, Cursor, Pi, Kimi, OpenClaw, Hermes Agent, and more than 20 other harnesses.
- Full-text search: FTS5 index over every message, so you can find a past decision without remembering which agent you used.
- Token usage and cost dashboard: per-session and per-model cost breakdowns with daily spend charts, a fast local replacement for ccusage.
- Semantic and hybrid search: index message content with any OpenAI-compatible embedding endpoint and search by meaning, with citations back to the conversation unit.
- Analytics: activity heatmaps, tool usage, velocity metrics, and project breakdowns in the web UI.
- Fast reads: because session data is already indexed in SQLite, queries run over 100x faster than tools that re-parse raw session files each time.
- Live updates: SSE pushes as active sessions receive new messages, plus keyboard-first navigation.
Use Cases
Who Should Use This Tool?
- Multi-agent developers running Claude Code, Codex, and OpenCode side by side and losing track of where a decision happened.
- Cost-conscious teams who want to see token spend across every agent without piping each one into a separate tool.
- Reviewers and leads who need to answer "why is this code shaped this way" weeks later from a searchable thread.
- Anyone replacing ccusage who wants a rich web UI plus cost tracking in one binary.
Problems It Solves
- Session fragmentation: every agent stores transcripts in its own directory; AgentsView unifies them.
- Cost blindness: you get one dashboard instead of per-venue scraping.
- Cold-start context loss: full-text and semantic search let you recover a prior thread without restarting the work.
Pricing
| Plan | Price | Features |
|---|---|---|
| Open source | Free | Everything: session browser, search, cost dashboard, analytics |
| Desktop app | Free (release) | macOS / Windows builds via GitHub Releases or Homebrew cask |
There is no paid tier. The whole product is MIT-licensed and local-first, so the only cost is your own hardware to index the sessions.
Advantages & Unique Selling Points
- One binary, no accounts: it never phones home, so it works in air-gapped and compliance-heavy environments where hosted CCUs are not an option.
- More than cost: it pairs token tracking with search and analytics that most cost tools do not offer.
- Broad harness coverage: support continues to grow with each agent that gains session files.
Getting Started
- Install:
brew install --cask agentsview, grab a release archive, or rungo install github.com/kenn-io/agentsview@latest. - Serve: run
agentsview serveto index discovered sessions and open the web UI athttp://127.0.0.1:8080. - Daily cost check: run
agentsview usage dailyto print a per-day spend summary from the terminal.
Frequently Asked Questions
Does it store anything remotely?
No. Everything is a local SQLite database and local web server. Only the optional semantic-search call to your own embedding endpoint leaves the machine.
Can it replace ccusage?
For per-session and per-model cost breakdowns across all agents, yes, and it is faster because it reads from the index rather than re-parsing session files.
How many agents does it support?
More than 20, including Claude Code, Codex, Copilot CLI, Gemini CLI, OpenCode, OpenHands, Cursor, Pi, Kimi, OpenClaw, Hermes Agent, and more.
Alternatives
- ccusage: leaner CLI for Claude Code token cost; better if you want a minimal terminal-only tool.
- OpenCode: not a direct analog; this is a session index, not an agent runtime.
Conclusion
AgentsView is the local-first control plane your coding agents have been missing. If you run more than one harness, it gives you a single searchable index of every session plus honest cost data, all in one MIT-licensed binary that never leaves your laptop. Start at the AgentsView site or the GitHub repo.
Comments
No comments yet. Be the first to comment!
Related Tools
ccusage
github.com/ccusage/ccusage
Open-source CLI that analyzes token usage and costs from local coding agent logs across Claude Code, Codex, OpenCode, and more.
T3 Code
t3.codes
Open-source agent harness control surface for Claude Code, Codex, Cursor, Grok Build, and OpenCode with desktop, web, and mobile apps.
Orca ADE
www.onorca.dev
Open-source Agent Development Environment (ADE) for running Claude Code, Codex, OpenCode and other coding agents side by side in isolated worktrees.
Related Insights
Seven AI Coding CLIs, Six Months: No Matter How Strong the Model, Work Needs Supervision
Claude Code, Codex, opencode, pi, omp and DeepSeek Harness all have personalities. After six months of deep use I run a division of labor: pi for the fastest cheapest reviews, omp for complex PRs, DeepSeek Harness on V4 Flash for high-frequency low-cost review, and Claude Code, Qoder and Cursor for writing. No matter how strong the model, work needs supervision — ideally from an independent third party.
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.
What Locks Codex Is the Picker, Not the Models
You already pay for OpenCode Go, Grok, and Z.ai, but the Codex picker still shows mostly GPT. The community project codex-router does not teach another install ritual. It puts subscriptions you already bought back into the selector, keeps keys on the machine, and leaves native GPT alone.