DEV Community

Dhruv Anand
Dhruv Anand

Posted on

Unified session viewer for all AI coding assistants (Claude Code, Cursor, Codex, etc.)

Agent Session Viewer

Agent Session Viewer UI

A live multi-platform session viewer — browse AI coding assistant conversations across Claude Code, Codex, Cursor, OpenCode, Hermes, Antigravity, and messaging bots (nanoclaw, openclaw, picoclaw, and friends) in a unified dark-mode UI with markdown rendering, tool call cards, fuzzy thread search, and thinking blocks.

Install

npx (no install required)

npx agent-session-viewer
Enter fullscreen mode Exit fullscreen mode

Downloads and runs directly. Builds the sidebar cache on first run, then opens at http://localhost:3001.

npx agent-session-viewer --host    # LAN access (phone, tablet)
npx agent-session-viewer --open    # auto-open browser
npx agent-session-viewer --port 4000
npx agent-session-viewer --skip-cache  # skip cache build
Enter fullscreen mode Exit fullscreen mode

Homebrew (macOS)

brew tap dhruv-anand-aintech/tap
brew install agent-session-viewer
agent-session-viewer
Enter fullscreen mode Exit fullscreen mode

From source

git clone https://github.com/dhruv-anand-aintech/agent-session-viewer
cd agent-session-viewer
npm install
npm run setup    # detects platforms, builds sidebar cache
npm run local    # starts at http://localhost:5173
Enter fullscreen mode Exit fullscreen mode

To access from other devices on your network:

npm run local -- --host
Enter fullscreen mode Exit fullscreen mode

Features

  • Multi-platform — Claude Code, Codex, Cursor, OpenCode…

If you use more than one AI coding assistant, you know the pain: your sessions are scattered across different apps, formats, and storage locations with no single place to review what was done, search across conversations, or revisit a decision made three projects ago.

I built Agent Session Viewer to fix that.

It's a self-hosted dark-mode web UI that pulls sessions from every major AI coding tool into one place — live, with full markdown rendering, tool call cards, and thinking block support.

Install

npx (no install required)

npx agent-session-viewer
Enter fullscreen mode Exit fullscreen mode

Features

  • Multi-platform — Claude Code, Codex, Cursor, OpenCode, Hermes, Antigravity, and claw bots in one place, all auto-detected
  • Live updates — sessions appear as you work; SSE streaming keeps the UI current
  • Pretty mode — markdown rendering, thinking pills, tool call cards (Bash, Read, Edit, Write, Search…)
  • Platform filter — filter the sidebar by platform
  • Sub-agent runs — sub-agent sessions are visually distinguished with a ⤷ sub-agent indicator and indented border
  • Flat or grouped sidebar — all sessions sorted by last activity, or grouped by project
  • Session renaming — give sessions memorable names via the pencil icon
  • Thread search — fuzzy in-sidebar search across all sessions
  • Mobile-friendly — slide-in sidebar drawer, back button, safe-area aware
  • PIN-protected — simple cookie auth for remote access

Check out the source at: https://github.com/dhruv-anand-aintech/agent-session-viewer

Top comments (0)