Agent Sessions app icon

Agent Sessions

• macOS • Open Source •

Local History Guide / Claude Code

Claude Code JSONL History: Search Local Claude Code Sessions on macOS

Claude Code transcripts often become the only durable record of an implementation: prompts, assistant responses, tool calls, command output, file paths, and errors. Agent Sessions indexes those local JSONL transcripts so old Claude Code work is searchable beside the other coding agents on your Mac.

Agent Sessions reads local transcript files in read-only mode. It does not upload Claude transcripts or claim access to hidden model/runtime state.

Download Agent Sessions 3.9.3 View on GitHub Product page
Agent Sessions showing Claude and Codex local history rows with transcript detail.
Primary storage~/.claude/projects
FormatsClaude Code project-scoped *.jsonl transcript files.
SurfacesClaude Code CLI and Claude Desktop local-agent-mode sessions.

Where Claude Code Stores Local Data

Standard Claude Code session history lives under:

~/.claude/projects/<encoded-cwd>/<session-id>.jsonl

Agent Sessions also scans configured Claude roots, CLAUDE_CONFIG_DIR, CLAUDE_CONFIG_DIRS, and Claude Desktop local-agent-mode roots when they are present.

What Agent Sessions Does

Recovery Boundary

The important boundary is transcript context versus hidden runtime state. Agent Sessions can search and display content Claude wrote to disk. It cannot recover model internals, encrypted state, remote-only context, or information that was never persisted locally.

Related Guides

Sources