Flight recorder for CLI agents

Every session your agent runs, captured, replayable, exportable.

Agent Recorder wraps any command in a pseudo-terminal — Claude Code, Codex, Aider, or a plain shell — and transparently records input, output, and session metadata to SQLite. Nothing to configure, nothing to instrument.

Get started Browse recorded sessions

Live replay

Playing — · —
agent-recorder

    

Recorded sessions

These are real sessions recorded by this project's own recorder during development — not staged demo data. Click one to replay it above.

What it captures

One event bus, one SQLite database, four kinds of subsystems feeding it.

Record

Spawns the agent in a real PTY and mirrors stdin/stdout while publishing prompt, response, and exit events.

Store

Every event lands in an append-only SQLite schema — sessions, events, commands, git diffs, patches — indexed for fast queries.

Replay

Play a session's output back to your terminal at real-time pace, or instantly, from a full id or a short prefix.

Export

Flatten any session to plain JSON — the same pipeline that generated the data feeding this page.

Install

# clone and build
git clone https://github.com/mrmoe28/agent-recorder.git
cd agent-recorder
npm install
npm run build

# record any agent
node dist/cli/index.js claude

# list and replay sessions
node dist/cli/index.js sessions
node dist/cli/index.js replay <sessionId>