https://github.com/jazzyalex/agent-sessions
Session browser + Agent Cockpit + Analytics + Limits tracker for Codex CLI/Desktop/VSC, Claude Code CLI/Desktop, OpenCode CLI, Gemini CLI, Pi CLI , GitHub Copilot CLI + OpenClaw & Hermes agents. Search/filter ALL past sessions, archive sessions, resume instantly, see rate limits in real-time. Native macOS app.
https://github.com/jazzyalex/agent-sessions
agentic-workflow agents ai antrophic claude-code codex codex-cli developer-tools gpt-5 indie-hacker macos openai orchestrator productivity-tools session-management usage-tracking vibe-coding
Last synced: about 20 hours ago
JSON representation
Session browser + Agent Cockpit + Analytics + Limits tracker for Codex CLI/Desktop/VSC, Claude Code CLI/Desktop, OpenCode CLI, Gemini CLI, Pi CLI , GitHub Copilot CLI + OpenClaw & Hermes agents. Search/filter ALL past sessions, archive sessions, resume instantly, see rate limits in real-time. Native macOS app.
- Host: GitHub
- URL: https://github.com/jazzyalex/agent-sessions
- Owner: jazzyalex
- License: mit
- Created: 2025-09-19T22:15:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-05-21T19:29:28.000Z (8 days ago)
- Last Synced: 2026-05-22T04:38:58.725Z (8 days ago)
- Topics: agentic-workflow, agents, ai, antrophic, claude-code, codex, codex-cli, developer-tools, gpt-5, indie-hacker, macos, openai, orchestrator, productivity-tools, session-management, usage-tracking, vibe-coding
- Language: Swift
- Homepage:
- Size: 192 MB
- Stars: 566
- Watchers: 2
- Forks: 34
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
- Agents: agents.md
Awesome Lists containing this project
- awesome-claude-code-and-skills - jazzyalex/agent-sessions - sessions?style=flat-square) (Productivity Tools / Desktop Applications & GUI Tools)
- awesome-ChatGPT-repositories - agent-sessions - ⭐ 302 / Session browser + Agents Analytics + Limits tracker for Codex CLI, Claude Code, OpenCode, Gemini CLI, Factory Droid , GitHub Copilot CLI & OpenClaw. Search/filter ALL past sessions, archive sessions, resume instantly, see rate limits in real-time. Native macOS app. (Browser-extensions)
- awesome-claude-code-toolkit - Agent Sessions
- awesome-gemini-cli - Agent Sessions - Local-first macOS app to search, browse, and resume Gemini CLI sessions alongside Codex CLI, Claude Code, OpenCode, and other agents, with live iTerm2 monitoring via Agent Cockpit. (Development Tools & Utilities)
- awesome-codex-cli - agent-sessions - Session browser + usage tracker for Codex CLI and Claude Code. Search ALL past sessions, filter by folder·repo, resume instantly (Tools / Session manager)
README
# Agent Sessions (macOS)
[](https://github.com/jazzyalex/agent-sessions/actions/workflows/ci.yml)

**Session management for [Codex](docs/guides/codex-local-history.html), [Claude](docs/guides/claude-code-jsonl-history.html), [OpenCode](docs/guides/opencode-sqlite-history.html), [Cursor](docs/guides/cursor-agent-local-history.html), GitHub Copilot CLI, Pi, Gemini CLI, [Hermes](docs/guides/hermes-agent-state-db-history.html), and [OpenClaw](docs/guides/openclaw-local-agent-history.html) 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.md` and `docs/security.md`
Download Agent Sessions 3.8.2 (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, Gemini CLI, 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 3.8.1
**TL;DR** - Resume workflows now support Warp across every supported CLI agent.
**Highlights:** Choose Terminal.app, iTerm2, or Warp once in Preferences, and Agent Sessions uses that shared terminal preference for supported Resume launches. Warp launches use terminal tab configs so Claude, Codex, Cursor, Gemini, GitHub Copilot, Hermes, OpenCode, and Pi Resume commands open in the intended terminal tab.
## Core Features
- Browse and search [Codex CLI, Codex Desktop, and Codex VS Code sessions](docs/guides/codex-local-history.html) in one place.
- Browse [Claude CLI and Claude Desktop sessions](docs/guides/claude-code-jsonl-history.html) with consistent labels and project context.
- Browse [Cursor Agent transcripts](docs/guides/cursor-agent-local-history.html) from Cursor's local storage, enriched with Cursor chat metadata when available.
- [Hermes Agent sessions](docs/guides/hermes-agent-state-db-history.html) participate in browsing, search, filtering, analytics, and resume workflows, including current `~/.hermes/state.db` storage.
- [OpenClaw sessions](docs/guides/openclaw-local-agent-history.html) 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.
- Local-only indexing designed for large histories.
## Agent Cockpit (Beta)
Agent Cockpit is the live command center for active iTerm2 [Codex CLI](docs/guides/codex-local-history.html), [Claude CLI](docs/guides/claude-code-jsonl-history.html), and [OpenCode CLI](docs/guides/opencode-sqlite-history.html) sessions, with shared active/waiting summaries and live Claude usage tracking.
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
1. [Download AgentSessions-3.8.2.dmg](https://github.com/jazzyalex/agent-sessions/releases/download/v3.8.2/AgentSessions-3.8.2.dmg)
2. Drag **Agent Sessions.app** into Applications.
### Option B — Homebrew
```bash
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):
```bash
defaults delete com.triada.AgentSessions SULastCheckTime
open "/Applications/Agent Sessions.app"
```
## Documentation
- Guides:
- [Codex local history: search Codex CLI, Desktop, and VS Code sessions](docs/guides/codex-local-history.html)
- [OpenCode SQLite history: browsing old runs](docs/guides/opencode-sqlite-history.html)
- [Claude Code JSONL history: what you can recover locally](docs/guides/claude-code-jsonl-history.html)
- [Cursor Agent local history: search Cursor Agent transcripts](docs/guides/cursor-agent-local-history.html)
- [Hermes Agent state database history](docs/guides/hermes-agent-state-db-history.html)
- [OpenClaw local agent history](docs/guides/openclaw-local-agent-history.html)
- 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/tmp`
- `~/.copilot/session-state`
- `~/.cursor/projects` and `~/.cursor/chats`
- `~/.factory/sessions` and `~/.factory/projects`
- `~/.hermes/state.db` and `~/.hermes/sessions`
- `~/.openclaw/agents` and legacy `~/.clawdbot/agents`
- `~/.pi/agent/sessions`
- `~/.local/share/opencode/opencode.db` and `~/.local/share/opencode/storage/session`
- Details: `docs/PRIVACY.md` and `docs/security.md`
## Development
Prerequisites:
- Xcode (macOS 14+)
Build:
```bash
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessions -configuration Debug -destination 'platform=macOS' build
```
Tests:
```bash
xcodebuild -project AgentSessions.xcodeproj -scheme AgentSessionsTests -destination 'platform=macOS' test
```
Contributing:
- `CONTRIBUTING.md`
## License
MIT. See `LICENSE`.