CodeSeshv1.5.3

Search & replay every
local AI coding session

Automatically discover local history from Claude Code, Codex, Cursor, and 17 other agents. Browse messages, tool calls, file changes, and costs by project.

npx codesesh
Explore live preview

MIT open source · 100% local & read-only · No Node? brew / curl / Scoop

The whole story.
In one place.

Sample data
Overview10-09 → 10-15
Last 7 days
3 agents · 6 projects · vs previous 7 days
Tokens▲ 12%
412.6M
58.9M/day · 97% cache hits
API valueEst.▲ 8%
$286.40
$40.91/day
Sessions▼ 6%
64
4,812 messages · 75.2/session
Token mix412.6M
Input3.1M0.8%
Output1.9M0.5%
Cache write5.2M1.3%
Cache read402.4M97.5%
Daily tokensInputOutputCache writeCache readAPI value
38M
52M
61M
95M
74M
48M
44M
10-0910-1010-1110-1210-1310-1410-15

Discover, organize, recover, replay.
History becomes useful after all four.

01

Discover

  • Zero configuration

    Run one command and scan supported agent sessions on your filesystem.

  • Unified timeline

    Browse histories from 20 AI coding agents in one interface.

  • Live refresh

    Add local session changes to the index without restarting the UI.

02

Organize

  • Project and session tree

    Group by repository and keep subagent sessions under their parent.

  • Smart tags

    Label fixes, refactors, features, tests, docs, planning, and more.

  • Session aliases

    Give key sessions memorable names that persist in search and bookmarks.

03

Recover

  • Structured global search

    Search titles, messages, tool output, and paths, then filter the results.

  • File activity index

    Start with a file and find sessions that read or changed it.

  • Keyboard navigation

    Switch views, focus search, and move through groups from the keyboard.

04

Replay

  • Full conversation replay

    Keep messages, tool calls, and reasoning steps in sequence.

  • Cost and token visibility

    Compare tokens, cache hits, recorded cost, and model estimates.

  • Local SQLite index

    Use one local database for fast restore, search, and schema migrations.

Your history.
On your machine.

Your sessions and search index stay on your computer by default. No account. No session telemetry.

Read about your data
Your machine
  1. Agent logs
    ~/.claude · ~/.codex · …
  2. CodeSesh scan
    Rust · incremental
  3. SQLite index
    messages · FTS · cost
  4. Web UI
    localhost:4521
Cloud upload
never in standalone mode

Optional Workers send sessions to a Hub you host yourself. Attachments and source files are never transferred.

Many machines.
One history.

Run a Hub where you browse, and pair a Worker on each computer you code on. Workers collect locally and upload to your self-hosted Hub. The Hub handles search, cost estimates, and the Web UI.

  1. 01

    Pair once

    A one-time token, valid for 10 minutes, becomes a revocable per-node credential. The Hub stores only its digest.

  2. 02

    Keeps working offline

    When the Hub is unreachable, Workers keep collecting, queue uploads on disk, and catch up after reconnecting.

  3. 03

    See every source

    The source-node panel shows collection progress and errors, starts rescans, and replaces Workers. Background services run on macOS, Linux, and Windows.

Collect history from multiple computers

Different agents.
Same workspace.

20supported agents

Follow the product,
not the commit log.

Latest updatev1.5.3

Quieter background watching, faster incremental scans, and new agent guides

CodeSesh 1.5.3 cuts idle watcher work and repeated rescans across macOS, SQLite-backed agents, and large transcript folders by indexing active watch sets, storing source fingerprints incrementally in SQLite, reading local Git remotes directly, and keeping more active session checkpoints in memory. The product site also adds Cursor, OpenCode, and Gemini CLI session history guides.

  • Lower idle CPU in macOS file watching
  • Incremental fingerprints and fewer redundant rescans
  • Direct local Git lookup and new agent history guides
Read the product changelog

Frequently asked questions

What is CodeSesh?

CodeSesh is a local developer tool for discovering, aggregating, searching, and replaying AI coding session history. It turns local records from Claude Code, Qoder, Qoder CN, Cursor, Droid, Kimi-Cli, Kimi-Code, Codex, Grok, Pi, oh-my-pi, OpenCode, ZCode, MiniMax Code, DSH, DeepChat, Cherry Studio, Antigravity Desktop, Antigravity CLI, and Gemini CLI into a project-aware engineering memory layer.

Does CodeSesh upload local AI session data?

In default standalone mode, session data stays on your computer in a local SQLite index. Optional Workers send session content and metadata, including paths, usage, and costs, to your configured self-hosted Hub. Attachments and source files are not transferred. No account is required, and no session telemetry is collected.

How do I install and start CodeSesh?

Run npx codesesh in a terminal. CodeSesh scans supported local AI coding sessions and opens its Web UI at http://localhost:4521. If the default port is busy, it tries the next available port. The npm launcher requires Node.js 22 or later. The standalone native executable does not require Node.

Session history guide

Why is a session missing?

CodeSesh opens with sessions active in the last 7 days and keeps scanning older history in the background. Switch the time range in the UI to 30 days, 90 days, All, or a custom range to see older sessions. Until the first scan finishes, older records may be incomplete. If a session is still missing, check the agent filter, source files, and custom data directories. CodeSesh cannot recover deleted source records.

Troubleshoot missing sessions

How does CodeSesh stay responsive with a large history?

The first scan persists backfill progress and can resume after interruption. Later starts restore from the local SQLite cache, while file watchers incrementally update changed sessions. Long conversation timelines use viewport virtualization instead of rendering every message at once.