Skip to main content

A web viewer for AI agent coding sessions (Claude Code, Codex, etc.)

Project description

Agent Session Viewer

Browse, search, and revisit your AI coding sessions. Never lose track of that clever solution your AI pair programmer came up with three weeks ago.

Session Viewer

Why?

AI coding sessions pile up fast. Finding that one conversation where you solved a tricky bug or implemented a specific pattern means digging through session files by hand. This tool gives you instant full-text search across every session from Claude Code and Codex, organized by project.

Features

  • Full-text search - Find any message across all your sessions instantly
  • Live updates - Active sessions refresh automatically as new messages arrive
  • Auto-sync - Background sync every 15 minutes, plus manual sync with r
  • Keyboard-first - Vim-style navigation (j/k/[/]) for fast browsing
  • Project organization - Sessions grouped by codebase
  • Local-first - All data stays on your machine in ~/.agent-session-viewer/
  • Zero config - Works out of the box

Install

# With uv (recommended)
uv tool install agent-session-viewer

# With pip
pip install agent-session-viewer

Usage

# If installed via uv tool install or pip
agent-session-viewer

# Or run directly without installing
uvx agent-session-viewer

Opens a browser at http://localhost:8080.

Options:

  • --port 9000 - Use a custom port
  • --no-browser - Don't open browser automatically
  • --host 0.0.0.0 - Bind to all interfaces

Keyboard Shortcuts

Key Action
j / k Next / previous message
] / [ Next / previous session
o Toggle message order
r Sync sessions
⌘K Focus search
? Show all shortcuts

Supported Agents

  • Claude Code - syncs from ~/.claude/projects/
  • Codex - syncs from ~/.codex/sessions/

How It Works

The viewer syncs sessions from each agent's local storage into its own database with full-text search indexing. When you're viewing an active session, it watches the source file and updates the UI within seconds of new messages.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_session_viewer-0.1.1.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_session_viewer-0.1.1-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file agent_session_viewer-0.1.1.tar.gz.

File metadata

  • Download URL: agent_session_viewer-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for agent_session_viewer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 03e6d355688306a5d7d6f24b0792932c679af4f207144f217f1e212989de84c4
MD5 a28f113e4f561c84465359e0ccf2f70c
BLAKE2b-256 91cfef4a7b3939b34070ea99cbe4c2d223e03091a30ab8868075d1289aa16d8f

See more details on using hashes here.

File details

Details for the file agent_session_viewer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_session_viewer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb68c47a91cb7a6af765d9ab3f8f39d0d2eaea6b84054a038a5dea856e54ffa
MD5 942f950076ef3c2e0d9ddcd7ce5eb2f1
BLAKE2b-256 3238148108137b1c5e88fe271fd37cf30eeba1d9cbe22c8ea96d8104fa346c9b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page