Claude Code · OpenAI Codex · 100% local · No telemetry

Every Claude Code & Codex
session in one place.

Lens is a cross-platform desktop browser for the two AI coding tools you actually use. Search, resume, and understand every conversation Claude Code and OpenAI Codex write to disk — without ever leaving your machine.

Download for your platform Star on GitHub
macOS 13+ Windows 10+ Linux x64 10 languages
Lens main window — sessions list, conversation detail, code blocks, profile card
2
AI tools supported
10
UI languages
0
Telemetry
Sessions searchable

You have hundreds of sessions. Now what?

Claude Code and Codex stash every conversation as JSONL under ~/.claude/projects/ and ~/.codex/sessions/. After a few weeks of heavy use, the problems compound:

Lens is the local-only browser that closes the loop.

What you can do

Six things you'll use every day — without ever opening a terminal to grep your JSONL files.

Search

Find any session in seconds

Instant filter on title, project, branch, or model. When metadata isn't enough, drop into full-text grep across every JSONL body.

  • Timeline view groups results by day — remember when you fixed what
  • Card and list layouts persist per user
  • Search results sortable by relevance, recency, tokens, or messages
Search view with timeline grouping
Resume

One click. Right back to coding.

Open the session in Terminal or iTerm at the original cwd, or copy the resume command to your clipboard.

  • No remembering UUIDs
  • No cd-ing into the right repo first
  • Works for both claude --resume and codex resume
Session header with Resume button highlighted
Usage

See where your tokens went

Per-tool dashboards with rolling 5h / 24h / 7d / 30d buckets — broken down by model and project, with an activity heatmap and streak stats.

  • Live subscription quota — opt-in probe of your Claude Code OAuth token
  • Codex limits via local codex app-server probe (no consent needed)
  • Activity heatmap, longest streak, most active day
Usage dashboard with hero metrics, live quota, heatmap
Workspace

Map your agent's environment

Browse CLAUDE.md, AGENTS.md, Skills, Commands, Hooks/Rules, Plugins, and Settings — everything that shapes how the agent behaves, in one view.

  • Read rendered Markdown or raw config side by side
  • Jump to any file in Finder with one click
  • Per-source split: Claude's plugins vs Codex's rules
Workspace browser showing CLAUDE.md content

Two AI tools. One unified app.

Flip between Claude Code and Codex from the sidebar. Sessions, usage charts, workspace browser, plan badge — everything rescopes to the active source.

Sidebar source switcher between Claude Code and Codex

Claude Code

~/.claude/projects/

Anthropic's CLI for coding. Lens reads every JSONL it writes, surfaces the Anthropic OAuth quota, and resumes sessions via claude --resume.

OpenAI Codex

~/.codex/sessions/

OpenAI's terminal coding agent. Lens parses its rollout files, pulls live limits from codex app-server, and resumes via codex resume.

Light, dark, ten languages

System theme detection on first launch. Switch any time. Localized into ten languages — auto-detected from your OS.

Lens in light theme
☀ Light Default
Lens in dark theme
🌙 Dark Easy on the eyes

Available in

English简体中文Türkçe日本語한국어DeutschFrançaisEspañolPortuguêsРусский

Reclaim your AI coding history.

Free, open source (MIT), 100% local. macOS, Windows, and Linux.