vibe-replay

Turn Claude, Cursor, Codex, OpenCode, Hermes, Muse, Pi, and Grok Bot sessions into shareable, interactive replays — then analyze them with local insights, AI Studio, and Ask Replay.
The problem
AI agents write code in long, complex sessions — dozens of tool calls, hundreds of file edits, thousands of lines of reasoning. When the session ends, all that context disappears. Your PR diff shows what changed, but reviewers can't see why. Teammates can't learn from your prompting. You can't even replay your own session next week.
The fix
One command. One self-contained HTML file. Every prompt, every thought, every tool call — animated, searchable, and ready to share.
npx vibe-replay
Release note: Muse support, Quick Share, and vibe-replay relay are on current main and will ship in the next npm release. npx vibe-replay runs the currently published package.
Also available as a Claude Code plugin — your agent generates replays automatically during PR creation.
Watch a live demo →
What You Get
All your sessions, one place
Launch with npx vibe-replay -d and see every Claude, Cursor, Codex, OpenCode, Hermes, Muse, Pi, and Grok Bot session across all projects — with a daily activity snapshot, activity heatmaps, cost totals, and project analytics. Search sessions, filter by git repo, tool, MCP server/tool, skill, or context compaction, expand any session to see its own tool/MCP breakdown, and generate any replay in one click.
Switching dashboard tabs starts a fresh list; returning from a replay restores your previous filters. Clear a search with Escape or the × button, and use Clear filters when a search has no matches. Replay playback supports 1×, 5×, and 10× speed on desktop and mobile.
Remote SSH sources
The dashboard can also include JSONL sessions from any OpenSSH-compatible host. Add targets from the
dashboard's Settings tab, or directly in ~/.vibe-replay/config.json:
{
"remoteSources": [
{
"id": "remote-dev",
"label": "Remote dev",
"sshHost": "devbox",
"providers": ["codex", "claude-code", "pi"]
}
]
}
The Settings form validates source ids, provider selections, and connection timeouts, and can run a
bounded SSH probe before you refresh the catalog. It uses your existing OpenSSH keys, aliases, and
ProxyJump configuration; credentials are never stored by vibe-replay.
sshHost can be a normal hostname or an alias from ~/.ssh/config, so existing keys, agents, ProxyJump, and ProxyCommand configuration continue to work. No private key or password belongs in this file. Remote Codex (including .jsonl.zst cold rollouts), Claude Code, and Pi JSONL files are copied into a per-target local cache and parsed by the same providers as local sessions; source cards show the configured location label. A transcript that is still being written is kept at its last stable cached version instead of making the whole SSH source unavailable. Codex titles match /resume: explicit names from session_index.jsonl take precedence over the read-only state_5.sqlite title. The live database and WAL are never copied. Hosts with Python sqlite3 or the sqlite3 CLI unavailable still use cached metadata. Sessions whose source is missing, unreadable, or contains no meaningful human prompt remain visible with an explicit status and cannot be generated into an empty replay. Remote repository identity is retained for local filtering but omitted from shareable replay data. Remote Live mode is intentionally unavailable. Remote sessions stay in local insights and are excluded from optional cloud insight sync.
Remote live sharing (vibe-replay relay)
No inbound ports, no SSH tunnel — just one outbound WebSocket. On the machine that holds your sessions:
vibe-replay relay
It prints a share URL like https://<relay>/live/<boxId>#<key>. Open it on your laptop or phone
and you get the session list, search, full replay reading, and live tail of the remote machine —
read-only, through an end-to-end encrypted pipe.