Discover, query, and browse AI coding agent conversations. Works with Claude Code, Codex, and Pi.
Use as a CLI (agentconvos --context --json), a Python library (from agentconvos import scan_projects), or an interactive TUI (agentconvos).
uv tool install "agentconvos[ai] @ git+https://github.com/testy-cool/agentconvos.git"Without Gemini analysis: drop [ai]. Requires Python 3.12+.
agentconvos --last # most recent conversation for cwd
agentconvos --last 3 # last 3
agentconvos --context # last 5 with summaries
agentconvos --context --json # structured, for piping to other toolsagentconvos --search "auth middleware"
agentconvos --search "auth" --source claude --jsonagentconvos --list
agentconvos --list --source codex --after 2026-05-01 --json
agentconvos --list --json | jq '.projects[].conversations[].summary'agentconvos --resume <id> # resume in native CLI
agentconvos --handoff # export context, start new session
agentconvos --handoff select # pick from list
agentconvos --handoff codex # latest Codex conversationagentconvos --concat <id> # markdown export
agentconvos --concat <id> --detail tools # include tool call summaries
agentconvos --concat <id> --detail full # include everythingRequires GEMINI_API_KEY env var or .env file. Get a key at aistudio.google.com.
agentconvos --analyze <id>
agentconvos --analyze <id1> <id2> --model gemini-3.1-pro-preview
agentconvos --analyze <id> --prompt "What tools were used most?"--json works with --list, --search, --last, and --context. Output includes session summaries, token estimates, file paths, and UUIDs.
from agentconvos import scan_projects, parse_jsonl, search, get_meta, get_stats
# Discover and filter
projects = scan_projects(source="claude", after="2026-05-01")
# Parse into normalized turns
turns = parse_jsonl(projects[0].conversations[0].path)
# Search across all sessions
hits = search([c.path for p in projects for c in p.conversations], "auth")
# Token and cost stats
stats = get_stats(projects[0].conversations[0].path)agentconvosInteractive tree grouped by agent (Claude Code, Codex, Pi) with search, multi-select, preview, export, and Gemini analysis.
| Key | Action |
|---|---|
/ |
Search/filter |
S |
Toggle select |
R |
Resume session |
H |
Handoff to new session |
E |
Export markdown |
A |
Analyze with Gemini |
Tab |
Switch panels |
Q |
Quit |
| What | Where |
|---|---|
| Claude Code logs | ~/.claude/projects/{project}/*.jsonl |
| Codex logs | ~/.codex/sessions/*.jsonl, ~/.codex/conversations/*.json |
| Pi logs | ~/.pi/agent/sessions/**/*.jsonl |
| Summaries | ~/.claude/convo-explorer/summaries/ |
| Analyses | ~/.claude/convo-explorer/analyses/ |
MIT