agentsview CLI
Local browsing, search and cost tracking for Claude Code, Codex and other agent sessions in one web UI
- 6,291 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Reads agent session logs that may contain secrets
- Runs a local web server
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/agentsviewDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Reads agent session logs that may contain secrets
- Runs a local web server
This is third-party code. Review the repository files before installing.
What it does
agentsview discovers session logs of supported agents on the machine, syncs them into a local SQLite database and serves a web UI at 127.0.0.1:8080. You can search sessions, view analytics and token spend, and the terminal offers session lists and daily cost summaries. The server runs as a background daemon watching for new files. For teams there are PostgreSQL and DuckDB modes, and Claude and Codex sessions can be read from S3 storage.
Who it is for. For developers who use several agents and want session history and costs in one place.
Good fit when
- You need to find an old agent session by text
- You want to know token and money spend per day or per project
- You need a shared session archive across machines
Not a fit when
- You use a single agent and its built-in history is enough
- You cannot run a background server on the machine
Example request
Start agentsview and show the daily agent cost summary for the last weekLimitations
It reads local session logs that may contain code and secrets, so keep the UI on loopback unless --require-auth is enabled. In Docker only mounted agent directories are visible. Remote access through port forwarding needs --public-url.
How to disable. Stop the server with agentsview daemon stop and remove the binary or app.
FAQ
Is data sent anywhere?
Per the README everything stays local with no account; external storage is only used when you configure it.
Is there a desktop app?
Yes, for macOS and Windows in GitHub releases and via brew install --cask agentsview.
Discussion
No questions or reviews yet.
Related
CLI toolsToken and cost reports for Claude Code, Codex, Gemini CLI and other agents from local logs, by day, month and session
cc-lens
Claude Code Lens (cc-lens)
Local Claude Code analytics: a dashboard of sessions, tokens, cost and projects from your ~/.claude data, no cloud
A CLI and MCP server that tally token spend across 41 tools and agents, break it down by project and model, and help cut wasted tokens
TokenTracker counts tokens and spend across Claude Code, Codex, Cursor, Gemini CLI and other agents from local logs and shows them on a local dashboard
Claude Code History Viewer
claude-code-history-viewer
A desktop app for browsing, searching and analyzing conversation history from Claude Code, Codex CLI, Gemini CLI, Cursor, Cline, Aider and other agents
Agent Client for Obsidian
Agent Client
An Obsidian plugin that runs Claude Code, Codex and other agents via the Agent Client Protocol right inside your notes vault
README in short
The README starts with install via script, Homebrew and Docker, then shows the main commands: serve, daemon, session list, usage daily. It details the daemon, remote access with DNS rebinding protection, Docker runs with mounted agent directories and PostgreSQL and DuckDB modes. Cost reports are covered separately. MIT licensed.