AgentsView logo

AgentsView

Visit

Local-first session search, analytics, and token cost tracking for coding agents, supporting Claude Code, Codex, and 20+ other harnesses.

Share:

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

  1. Session fragmentation: every agent stores transcripts in its own directory; AgentsView unifies them.
  2. Cost blindness: you get one dashboard instead of per-venue scraping.
  3. 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

  1. 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.
  2. More than cost: it pairs token tracking with search and analytics that most cost tools do not offer.
  3. Broad harness coverage: support continues to grow with each agent that gains session files.

Getting Started

  1. Install: brew install --cask agentsview, grab a release archive, or run go install github.com/kenn-io/agentsview@latest.
  2. Serve: run agentsview serve to index discovered sessions and open the web UI at http://127.0.0.1:8080.
  3. Daily cost check: run agentsview usage daily to 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!