|
|
Session management for Codex, Claude, OpenCode, Cursor, GitHub Copilot CLI, Pi, Antigravity CLI, Hermes, and OpenClaw on macOS. Search, inspect, save, and resume local AI-coding sessions from CLI tools, desktop apps, and IDE agent surfaces. |
- Requires: macOS 14+
- License: MIT
- Security & Privacy: Local-only. No telemetry. Details:
docs/PRIVACY.mdanddocs/security.md
Download Agent Sessions 4.3.1 (DMG) • All Releases • Install • Resume Workflows • Development
New in 4.3.1 — A rebuilt first-run experience (single-screen setup, a What's New panel, in-app feedback) and one-click Fix for usage tracking: whenever Agent Sessions can't read your Claude or Codex usage, a guided dialog explains what's wrong and walks you through getting it back. See what's new ↓
Agent Sessions is a local-first Mac app for finding useful work that coding agents already wrote to disk. It brings Codex, Claude, OpenCode, Cursor Agent, Hermes, OpenClaw, Antigravity, GitHub Copilot CLI, and Pi histories into one searchable view, with transcript inspection, image browsing, saved-session recovery, and resume commands for supported CLIs.
New in 4.0 — Session Runway: live per-session quota burn-rate
Sessions search with transcript and image preview
Saved Sessions with restore actions
Image Browser for visual session outputs
- Local-first: session data stays on your Mac.
- No telemetry, analytics, remote logging, advertising identifiers, or session-history uploads.
- Reads local session folders you choose, plus supported default CLI locations.
- Builds local indexes/databases for search and navigation.
- Explicit actions may open Terminal/iTerm2 resume commands or run status/probe cleanup workflows.
- The only network activity is optional Sparkle update checks.
Details: docs/PRIVACY.md and docs/security.md.
TL;DR - A rebuilt first run and one-click "Fix" for usage tracking. Setup is now a single, focused screen with a What's New panel and in-app feedback; and whenever Agent Sessions can't read your Claude or Codex usage, a Fix button walks you through getting it back.
Highlights: The first-run experience is one clean screen — a live session count, per-agent toggles, and the Quota Meter always in view — plus a What's New panel that surfaces changes when you update and native feedback you can send without leaving the app. When usage tracking can't reach your account (an expired login or a signed-out CLI), every surface — menu bar, cockpit meter, window footer — shows a Fix… button that opens a guided dialog explaining the problem and the solutions to try in order (re-authenticate, then the Web API or CLI-probe fallback, then recheck). Expired Claude no longer reads as a misleading "0%", usage recovers after claude auth login without relaunching, and the Session Runway "+N sessions" overflow now counts hidden idle sessions.
New in 4.3.1:
- Rebuilt first run — a single-screen setup, a What's New panel on update, and in-app feedback.
- One-click "Fix" for usage tracking — a guided dialog on every usage surface that explains what's wrong and walks through the fixes in order.
- Honest usage states — an expired Claude login shows "reconnecting" and then "sign-in needed" instead of a misleading "0%".
- Faster recovery — usage returns after
claude auth loginwithout relaunching, and the "session expired" prompt now appears in ~90 seconds. - Runway fixes — "+N sessions" overflow counts hidden idle sessions, and the "active burn" countdown no longer lingers after a session goes idle.
- Non-ASCII transcripts — sessions with multi-byte content are no longer hidden by a too-strict decode.
Previous release — 4.3: Usage tracking that never cries wolf — real signed-out / expired-token detection, calm degradation, and in-app sign-in remediation. Full history in the changelog.
- Browse and search Codex CLI, Codex Desktop, and Codex VS Code sessions in one place.
- Browse Claude CLI and Claude Desktop sessions with consistent labels and project context.
- Browse Cursor Agent transcripts from Cursor's local storage, enriched with Cursor chat metadata when available.
- Hermes Agent sessions participate in browsing, search, filtering, analytics, and resume workflows, including current
~/.hermes/state.dbstorage. - OpenClaw sessions participate in browsing, search, filtering, deleted-session visibility, and resume workflows while ignoring trajectory traces.
- Pi CLI sessions now participate in browsing, search, filtering, and resume workflows.
- Unified browsing across supported agents, with strict filtering, saved sessions, and a single session list.
- Unified Search and Image Browser across sessions, plus in-session Find for fast transcript navigation.
- Readable tool calls/outputs and navigation between prompts, tools, and errors.
- Right-click Copy Resume Command or Resume for supported CLI sessions, with Terminal.app, iTerm2, and Warp launch targets.
- Agent Cockpit is the live command center for active Codex CLI, Claude CLI, and OpenCode CLI iTerm2 sessions, with a compact Quota Meter for always-on Codex and Claude usage visibility, freshness diagnostics, and projected run-out alerts.
- Local-only indexing designed for large histories.
Agent Cockpit is the live command center for active iTerm2 Codex CLI, Claude CLI, and OpenCode CLI sessions, with shared active/waiting summaries and live Claude usage tracking.
- Agent Sessions with Live Sessions enabled
- iTerm2
- Agents running in iTerm2
- Set the iTerm window title to the repo name
- Run that repo's agents in that window
- Give each tab/session its own clear name
- Use the same name for the tab, session, and badge
- One repo per desktop/Space if possible
- Or keep several on one desktop if you prefer
- Keep Agent Cockpit pinned in a corner so you can always see activity
- Click from the cockpit to jump straight to a session
- Download AgentSessions-4.3.1.dmg
- Drag Agent Sessions.app into Applications.
brew tap jazzyalex/agent-sessions
brew install --cask agent-sessionsAgent Sessions uses Sparkle for automatic updates (signed + notarized).
To force an update check (for testing):
defaults delete com.triada.AgentSessions SULastCheckTime
open "/Applications/Agent Sessions.app"- Guides:
- Release notes:
docs/CHANGELOG.md - Monthly summaries:
docs/summaries/ - Privacy:
docs/PRIVACY.md - Security:
docs/security.md - Maintainers:
docs/deployment.md
- Right-click any supported CLI session and choose Copy Resume Command to get the exact CLI command for that session.
- Open supported Resume sessions in your preferred terminal: Terminal.app, iTerm2, or Warp.
- Use Unified Search (across sessions) and Find (within a session) to jump to relevant tool calls and outputs quickly.
- Local-only. No telemetry.
- Reads agent session directories in read-only mode:
~/.codex/sessions~/.claude/projects~/.gemini/antigravity/brain~/.copilot/session-state~/.cursor/projectsand~/.cursor/chats~/.factory/sessionsand~/.factory/projects~/.hermes/state.dband~/.hermes/sessions~/.openclaw/agentsand legacy~/.clawdbot/agents~/.pi/agent/sessions~/.local/share/opencode/opencode.dband~/.local/share/opencode/storage/session
- Details:
docs/PRIVACY.mdanddocs/security.md
Prerequisites:
- Xcode (macOS 14+)
Build:
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessions -configuration Debug -destination 'platform=macOS' buildTests:
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessionsTests -destination 'platform=macOS' testContributing:
CONTRIBUTING.md
MIT. See LICENSE.

