Skip to content
agent-dump

CLI · AI session export

Export your AI coding sessions.

One command lists, dumps, searches, and summarizes sessions across seven AI coding tools.

Seven tools, one URI grammar

Every session is addressable by its provider scheme. Point agent-dump at a URI and read it anywhere.

What it does

Agent Dump gives developers one command-line interface for local AI coding session history across seven tools. It turns provider-specific session stores into readable exports, direct URI views, search results, stats, and collection reports.

Reads every local session

Codex, Claude Code, ZCode, Kimi, OpenCode, Cursor, and Pi, from their native stores.

agent-dump --interactive

Exports in your format

JSON, Markdown, raw files, or straight to the terminal for piping.

agent-dump <uri> --format markdown

Searches and filters

Full-text search across titles, messages, and reasoning; filter by provider, role, or path.

agent-dump --search "auth timeout"

Collects summaries

High-signal session digests for project management and insight reports.

agent-dump --collect

Install

Works with uv, npm, pnpm, and bun.

Install globally

uv tool install agent-dump

Run without installing

uvx agent-dump --help

Or add it as an agent skill

npx skills add xingkaixin/agent-dump

FAQ