Agent Sessions (macOS)
June 28, 2026 · View on GitHub
|
|
Session management for Codex, Claude, OpenCode, Cursor, GitHub Copilot CLI, Pi, Antigravity, 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.0 (DMG) • All Releases • Install • Resume Workflows • Development
Overview
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.
Sessions search with transcript and image preview
Saved Sessions with restore actions
Image Browser for visual session outputs
Security & Privacy
- 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.
What's New in 4.0
TL;DR - The Quota Meter takes center stage with Session Runway — see in real time which sessions are burning your Codex and Claude quota. Plus recoverable Codex Side Chats, the new Antigravity provider replacing Gemini CLI, and visibility + restore for archived Claude sessions.
Highlights: The Quota Meter shows at a glance how much of your Codex and Claude 5h and weekly limits is left and when it resets. Its marquee 4.0 addition, Session Runway, adds live per-session burn-rate bars so you can spot which active session is eating your quota fastest before it costs you the window.
Also new in 4.0:
- Codex Side Chats — recover Codex Desktop side chats as searchable session rows with their own
sidebadge and parent context; filter with#side(and#side phraseto search within them). - Antigravity provider — replaces Gemini CLI support; discovers Antigravity CLI session transcripts, resumes with
agy --conversation <id>, tracks live sessions, and surfaces local screenshots in the transcript and image browser. - Restore archived Claude sessions — Claude Code can archive Desktop sessions but can't bring them back; Agent Sessions surfaces them (an
archivedpill and an archived-only filter) and restores them in place. Since the app is otherwise read-only, restore is an explicit opt-in, off by default — it only writes to Claude's files once you enable it. - Transcript identity strip — a compact strip showing session identity,
side/sublabels, and parent context, so the transcript stays identifiable even when the list loses focus. - Claude dynamic workflows — Claude Code's Workflow tool spawns subagents dynamically at runtime; those subagents now nest under the session that launched them with a
workflowbadge and a fan-out marker on the parent, instead of cluttering the list as standalone rows. - Codex reset credits — when Codex grants a free "reset your usage now" credit, the Quota Meter and menu bar now show it and when it expires, so you can see how many resets you have banked.
- Unified Sessions performance — fixed several hangs on large histories (full-payload SwiftUI diffing, Project-column JSON re-parsing, foreground-return rebuilds) and backgrounded side-chat discovery so big Codex logs no longer block refresh.
- Claude usage accuracy — OAuth/Web refreshes preserve recent hard-probe 5h limit/reset data, projected-exhaustion alerts use fractional usage, and Claude Code 2.x
/usagegaps are treated as unavailable rather than false 0% readings. - Maintenance: re-verified agent-format support across all supported CLIs (Codex, Claude, Antigravity, Copilot, OpenCode, Hermes, OpenClaw, Cursor, Pi), updating parsers where formats changed.
Core Features
- 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 (Beta)
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.
Quota Meter with Session Runway per-session burn
Agent Cockpit
Agent Cockpit Setup
Prerequisites
- Agent Sessions with Live Sessions enabled
- iTerm2
- Agents running in iTerm2
Ideal Setup
- 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
Layout
- 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
Install
Option A — Download DMG
- Download AgentSessions-4.0.dmg
- Drag Agent Sessions.app into Applications.
Option B — Homebrew
brew tap jazzyalex/agent-sessions
brew install --cask agent-sessions
Automatic Updates (Sparkle)
Agent 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"
Documentation
- Guides:
- Release notes:
docs/CHANGELOG.md - Monthly summaries:
docs/summaries/ - Privacy:
docs/PRIVACY.md - Security:
docs/security.md - Maintainers:
docs/deployment.md
Resume Workflows
- 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.
Privacy & Security
- 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
Development
Prerequisites:
- Xcode (macOS 14+)
Build:
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessions -configuration Debug -destination 'platform=macOS' build
Tests:
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessionsTests -destination 'platform=macOS' test
Contributing:
CONTRIBUTING.md
License
MIT. See LICENSE.