kenn-io/agentsview

Local-first session search, analytics, insights, and token use statistics for coding agents, supporting Claude Code, Codex, and more than 50 other agents.

What it solves

When you work with multiple AI coding assistants like Claude Code, Codex, or Forge, their conversation and session records are scattered in different directories on your machine. agentsview gathers all of those sessions into one local archive, so you can browse, search, and track token usage and compute costs without sending your data anywhere. It also gives you analytics about how your agents actually work, such as activity patterns, tool usage, and changes to your code.

How it works

agentsview runs a local server (the daemon) that discovers session files from every supported agent on your computer, syncs them into a SQLite database, and serves a web interface at http://127.0.0.1:8080. You install it via a script, a desktop app, or a Docker container. The command-line tool lets you start the server, list sessions, build semantic search indexes, and generate usage reports. All data stays on your machine unless you explicitly opt into features that share it, like publishing to GitHub Gist. Search includes full-text (FTS5) with optional Chinese/Japanese/Korean support, and opt-in semantic search using local embeddings. Cost tracking uses pricing from LiteLLM and OpenRouter, with offline fallback and cache-awareness. You can generate daily cost summaries, per-model breakdowns, and per-session diagnostics.

Who it’s for

Developers and teams who use multiple AI coding agents and want a unified view of their work. It’s useful for tracking spending, reviewing past sessions, understanding which tools and models are used, and maintaining a searchable archive of what agents have done. It works for individual developers and also for those who want to run it in Docker or forward access to a remote environment.

Highlights

  • Local-first: sessions stay on your machine unless you choose to share them.
  • Supports many agents: Claude Code, Codex, Forge, Cline, Aider, and more (full list in README).
  • Full-text search with optional CJK support and opt-in semantic search by meaning.
  • Cost tracking with automatic pricing, per-model breakdown, and cache-aware calculations.
  • Analytics dashboards: activity heatmaps, tool usage, velocity, project breakdowns, and more.
  • Tool sequences: follow errors, retries, and tool switches back to recorded calls.
  • Recent Edits feed: see which files agents changed, linked to the responsible message.
  • Keyboard-first navigation and live updates via SSE.
  • Eight interface languages.
  • Export sessions as HTML or publish to GitHub Gist.

Related

  • Project
  • Project
  • Project
  • Project
  • Project