agentsview
Browse, search, and track costs across your AI coding agents. Your session
archive stays on your machine unless you choose a feature that shares it.
This README and the documentation follow main.
The latest release is v0.47.0. Check the
changelog for what it includes.
Version 0.47.0 adds the
Friction Log, a daily review
of corrections, tool errors, and recurring problems that can file Kata issues.
Find the session and prompt behind a line of code with
agentsview why, and
turn on search by meaning from
Settings without editing configuration. Usage and search are much faster on
large archives. Choose message colors and a color-blind safe chart palette, and
import Open Interpreter sessions. Commands are now grouped under source,
report, replica, and index; older names still work. The main branch also
supports Muse Personal sessions, collected by an AgentsView that runs on your
Muse's hosted machine rather than your laptop.
Install
For this fork's Cloudflare R2 setup, start with the R2 installation
guide or give the agent setup guide to
your coding agent.
macOS and Linux:
curl -fsSL https://agentsview.io/install.sh | bash
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://agentsview.io/install.ps1 | iex"
Or download the desktop app (macOS / Windows) from
GitHub Releases or via
homebrew: brew install --cask agentsview
On macOS, see
Use the bundled CLI
for terminal setup and the required first launch. For Macs managed over SSH, use
the standalone CLI installer above.
Or run the published Docker image:
docker run --rm -p 127.0.0.1:8080:8080 \
-v agentsview-data:/data \
-v "$HOME/.claude/projects:/agents/claude:ro" \
-v "$HOME/.forge:/agents/forge:ro" \
-e CLAUDE_PROJECTS_DIR=/agents/claude \
-e FORGE_DIR=/agents/forge \
ghcr.io/kenn-io/agentsview:latest
Quick Start
agentsview serve # start the server in the foreground
agentsview daemon start # alternatively, start the same server in the background
agentsview daemon status # show daemon status
agentsview daemon restart # restart from current configuration
agentsview daemon stop # stop the server, web UI, and sync
agentsview session list # read from the daemon if warm, otherwise SQLite
agentsview index embeddings build # turn on search by meaning
agentsview report usage daily # print daily cost summary
On first run, agentsview discovers sessions from every supported agent on your
machine, syncs them into a local SQLite database, and serves a web UI at
http://127.0.0.1:8080.
The daemon is the server: the web UI, API, session sync, and file watchers share
one process. Choose serve for a foreground process or daemon start for a
background process. Running serve when a compatible daemon is already running
reports its URL and exits with an error (status 1) in the foreground.
daemon stop and serve stop both stop that writable server, including sync;
serve stop also stops read-only replica servers for the same data directory.
For custom directories, additional agent homes, and supported S3 sources, see
Session discovery.
The same guide explains how to choose
what content to archive.
The desktop app and ordinary session CLI commands share a detached local daemon
and start one when needed. Dedicated diagnostics such as
db adopt-machine --list and doctor sync read the archive without starting
it. Commands such as sync, usage, token-use, pg push, and
clickhouse push auto-start the daemon when needed. Daily usage reports read
saved archive data; run agentsview source sync first to include new source
changes. The server remains running after these commands exit and also serves
the web UI. For a one-shot sync with no background server, stop the daemon first
and run AGENTSVIEW_NO_DAEMON=1 agentsview source sync.