Skip to main content

AgentsView: A practical look at your AI agent sessions

With the change to token based billing, I pay a lot more attention on what my AI agents are doing. Although some info is available, I was missing the tools to evaluate my token consumption and have an in-depth understanding of what's going on.

Until I discovered AgentsView.

AgentsView is a local-first desktop and web app that reads those files and gives you a proper UI to work with them: browse sessions, search across all message content, see tool calls and thinking blocks, and get a quick health grade for each session. Let's install it and see what it actually looks like.

Installation

There are a few ways in, pick whatever fits your workflow.

As a Windows user I decided to grab the latest .exe or .AppImage from the GitHub Releases page. The desktop app is fully bundled and auto-updates. Executing the downloaded executable will walk you through an installation wizard.

Remark: There is also a CLI which uses the same data directory.

Running it

If you went the CLI route:

agentsview serve

That's it. On first run, AgentsView:

  1. Creates a SQLite database at ~/.agentsview/sessions.db
  2. Discovers and indexes session files from all supported agents
  3. Starts watching those directories for new sessions
  4. Opens the web UI at http://127.0.0.1:8080

If you went for the Desktop version (like I did), you can just start the installed application:

What you get

Session browser

The main view is a session list across all your projects. You can filter by project, agent, date range, or message count. 

Clicking into a session shows the full conversation: user prompts, assistant responses, thinking blocks, and every tool call — the same level of detail as from the Agent tool itself:

This is immediately useful if you've ever lost track of what a long agent session actually did. You can scroll through tool calls, see exactly where it started retrying, and find the moment it decided to restructure your entire folder layout.

Full-text search

All message content is indexed with SQLite FTS5, so you can search across every session. Useful for "what was that conversation where I figured out the right EF Core query" from three weeks ago. Search results link directly to the session and message.

Session intelligence

Each session gets a health score and a session analysis. The score is penalty-based.

Sessions get classified as completed, abandoned, errored, or unknown, each with a confidence level. The classifier uses heuristics — sessions ending on an assistant turn skew completed, sessions ending on a user turn skew abandoned, a final failure streak skews errored. These are signals for triage, not ground truth.

You'll see a grade badge (A through F) in the session header. Clicking it opens a signal panel that shows exactly which penalties were applied.

Token usage and costs

AgentsView includes a Usage view that shows the token count and cost.

Coverage currently includes Claude Code, Codex, Copilot CLI, OpenCode, Gemini, and a few others. The pricing comes from the LiteLLM catalog, fetched on each invocation and cached locally. Pass --offline to use the embedded fallback instead.

Analytics section

The analytics section has activity heatmaps, tool usage breakdowns, velocity metrics, and cost attribution by project, model, or agent. The cost attribution panel includes a treemap and a cache efficiency breakdown, which is handy for spotting prompts that are spending heavily on cache creation without getting many cache reads back.

Multi-agent support

AgentsView supports 29 agents out of the box, including Claude Code, Copilot CLI, Codex, Cursor, Gemini, and a bunch of others I've never heard of. It auto-discovers session directories for the common defaults. If your sessions live somewhere non-standard, point it with environment variables:

There's also a PostgreSQL sync option for multi-machine or team setups, where session data is pushed to a shared database and the UI is served from there.

Should you give it a try?

If you're running AI coding agents regularly and you've ever wanted to understand what a session actually did — not just what files changed, but the full conversation and tool call history — AgentsView is a solid tool for that. The health scoring is a useful triage signal even if the heuristics aren't perfect, and having full-text search across months of session history is genuinely handy.

The cost tracking is a bonus if you're on usage-based billing. Knowing that yesterday cost $23 across three projects before you've had coffee is the kind of feedback loop that changes how you prompt.

It's MIT-licensed, actively developed, and installs in under a minute.

Should you give it a try? In my opinion, absolutely YES!

More information

The docs are thorough if you want to dig into the Session API, PostgreSQL sync, or remote access configuration.

Popular posts from this blog

Podman– Command execution failed with exit code 125

After updating WSL on one of the developer machines, Podman failed to work. When we took a look through Podman Desktop, we noticed that Podman had stopped running and returned the following error message: Error: Command execution failed with exit code 125 Here are the steps we tried to fix the issue: We started by running podman info to get some extra details on what could be wrong: >podman info OS: windows/amd64 provider: wsl version: 5.3.1 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:2655: connectex: No connection could be made because the target machine actively refused it. That makes sense as the podman VM was not running. Let’s check the VM: >podman machine list NAME         ...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

VS Code Planning mode

After the introduction of Plan mode in Visual Studio , it now also found its way into VS Code. Planning mode, or as I like to call it 'Hannibal mode', extends GitHub Copilot's Agent Mode capabilities to handle larger, multi-step coding tasks with a structured approach. Instead of jumping straight into code generation, Planning mode creates a detailed execution plan. If you want more details, have a look at my previous post . Putting plan mode into action VS Code takes a different approach compared to Visual Studio when using plan mode. Instead of a configuration setting that you can activate but have limited control over, planning is available as a separate chat mode/agent: I like this approach better than how Visual Studio does it as you have explicit control when plan mode is activated. Instead of immediately diving into execution, the plan agent creates a plan and asks some follow up questions: You can further edit the plan by clicking on ‘Open in Editor’: ...