Local-first macOS app to browse, search, analyze, and resume supported AI coding-agent session history across Codex, Claude Code, OpenCode, Cursor Agent, Antigravity, Hermes, OpenClaw, Copilot CLI, and more.
854
stars
2,111
commits
Swift
primary language
Sep 10, 2026
updated
|
|
Live per-session quota burn for Codex and Claude — see which session is eating your 5-hour and weekly limits, priced per model. Plus searchable transcripts across Codex, Claude, OpenCode, Cursor, GitHub Copilot CLI, Pi, Kimi Code, Grok CLI, Qwen Code, Devin CLI, fx, Antigravity CLI, Hermes, and OpenClaw, with image browsing and one-click resume where the source supports them. macOS, local-only. Session-Bench: how ten agents' session formats score — 20 pass/fail gates, evidence behind every cell. |
If Agent Sessions hands you back something you thought you'd lost, star the repo. It is the only thing this project asks for.
docs/PRIVACY.md and docs/security.mdDownload Agent Sessions 5.0.2 (DMG) • All Releases • Install • Resume Workflows • Development
New in 5.0 — agents are now plug-in adapters, Qwen Code joins as the thirteenth source, and adding the agent you use is a documented recipe (26 shared files before, 12 now). See what's new ↓
Run three agents at once and a normal quota meter tells you "60% used" — not which one spent it. Agent Sessions attributes burn to the individual session, live, against your Codex and Claude 5-hour and weekly windows. Pick the lens you want (5-hour, weekly, tokens/hour, or dollars); the $ lens prices each model in a session at its own rate, so an Opus orchestrator driving Sonnet subagents is costed per model instead of blended into one number.
It's also a local-first Mac app for finding useful work coding agents already wrote to disk — Codex, Claude, OpenCode, Cursor Agent, Hermes, OpenClaw, Antigravity, GitHub Copilot CLI, Pi, Kimi Code, Grok CLI, Qwen Code, Devin CLI, and fx histories in one searchable view, with transcript inspection, image browsing, saved-session recovery, and resume commands for supported CLIs.
Session Runway — read the same burn as % of quota, tokens/hour, or cost/hour
Sessions search with transcript and image preview
Saved Sessions with restore actions
Image Browser for visual session outputs
Details: docs/PRIVACY.md and docs/security.md.
TL;DR - Two more coding agents: Devin CLI and fx (vercel-labs). Both land in the same searchable list as the rest, each with a Settings pane and a resume command.
New in 5.1:
devin --resume <id>. Devin keeps only active sessions, so there is no archived history
to browse, and image extraction is not yet supported.~/.fx/sessions,
with every kind of turn rendered: ordinary replies and their narrated tool steps,
background commands and where their output went, the summary that replaces auto-compacted
history, and interrupted turns with whatever finished before the cut. Text fx stored as
raw bytes rather than UTF-8 decodes back to readable output instead of disappearing.steward wanted until someone running the CLI
confirms resume end to end; the support matrix says so on every surface.Recent releases — 5.0: agents became plug-in adapters and Qwen Code joined as the thirteenth source. 4.8: Grok CLI joins as the eleventh agent source, and Analytics counts every agent you have enabled. 4.7: Kimi Code joins as the tenth source, and active Claude cloud sessions appear in the Quota Meter. 4.6.4: Compact and Full Agent Cockpit retired, leaving the Quota Meter as the only mode. 4.6: paste-a-cookie Claude web usage, no CLI or Full Disk Access needed. Full history in the changelog.
~/.hermes/state.db storage.sessions.db under the CLI data directory, with working directories read from the sessions table's working_directory column. Devin keeps only active sessions in that database, so there is no archived-history surface; the records carry inline base64 images, but image extraction is not yet supported. Resume command plans are tested against probe-advertised capabilities, but remain end-to-end untested because authentication blocked a disposable run.checkpoint.json transcripts under ~/.fx/sessions, with working directories read from each session's session.json. Resume command plans are tested against probe-advertised capabilities but remain end-to-end untested against an authenticated run; image extraction is not yet supported.Every agent here is read from its own local session files. Status says who keeps that reading correct as the agent's format changes.
| Agent | Status |
|---|---|
| Codex | Maintained |
| Claude Code | Maintained |
| Cursor Agent | Steward wanted |
| GitHub Copilot CLI | Steward wanted |
| OpenCode | Steward wanted |
| Antigravity CLI | Steward wanted |
| Pi | Steward wanted |
| Kimi Code | Steward wanted |
| Grok CLI | Steward wanted |
| OpenClaw | Steward wanted |
| Hermes | Steward wanted |
| Qwen Code | Steward wanted |
| Devin CLI | Steward wanted |
Maintained — the maintainer verifies it himself. Steward-verified — a named steward re-checks the format. Steward wanted — nobody has adopted it yet. Names, dates, and verified versions are in STEWARDS.md.
Missing agent? Open the new agent source form — docs/CONTRIBUTING.md explains what evidence makes a proposal usable, and you do not need to write Swift. Already using one of the agents above? Become its steward: you get pinged two or three times a year to run one command against your own sessions and say whether the format still reads correctly. It takes about ten minutes, needs no commit rights, and your name goes on the entry. Details and signup in STEWARDS.md.
An ordinary quota meter says "60% used." It won't say which of your three running agents spent it. The Quota Meter attributes burn to the individual session, live, against your Codex and Claude 5-hour and weekly windows.
$ lens rates each model in a session at its own rate, so an Opus orchestrator driving Sonnet subagents is costed at what each actually runs at rather than blended into one number.
Session rows read best when your terminal names them clearly:
brew tap jazzyalex/agent-sessions
brew install --cask agent-sessions
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"
docs/CHANGELOG.mddocs/summaries/docs/PRIVACY.mddocs/security.mddocs/deployment.md~/.codex/sessions~/.claude/projects~/.gemini/antigravity/brain~/.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/sessiondocs/PRIVACY.md and docs/security.mdPrerequisites:
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:
Don’t see your coding agent? You can propose it, contribute a sanitized format fixture, or use the AI-agent brief to prepare a draft integration PR. Every source remains ordinary reviewed code; Agent Sessions does not download provider plugins or infer support from an installed binary.
MIT. See LICENSE.
Swift
88.8%
Python
7.4%
Shell
3.5%
Local-first macOS app to browse, search, analyze, and resume supported AI coding-agent session history across Codex, Claude Code, OpenCode, Cursor Agent, Antigravity, Hermes, OpenClaw, Copilot CLI, and more.
854
stars
2,111
commits
Swift
primary language
Sep 10, 2026
updated
|
|
Live per-session quota burn for Codex and Claude — see which session is eating your 5-hour and weekly limits, priced per model. Plus searchable transcripts across Codex, Claude, OpenCode, Cursor, GitHub Copilot CLI, Pi, Kimi Code, Grok CLI, Qwen Code, Devin CLI, fx, Antigravity CLI, Hermes, and OpenClaw, with image browsing and one-click resume where the source supports them. macOS, local-only. Session-Bench: how ten agents' session formats score — 20 pass/fail gates, evidence behind every cell. |
If Agent Sessions hands you back something you thought you'd lost, star the repo. It is the only thing this project asks for.
docs/PRIVACY.md and docs/security.mdDownload Agent Sessions 5.0.2 (DMG) • All Releases • Install • Resume Workflows • Development
New in 5.0 — agents are now plug-in adapters, Qwen Code joins as the thirteenth source, and adding the agent you use is a documented recipe (26 shared files before, 12 now). See what's new ↓
Run three agents at once and a normal quota meter tells you "60% used" — not which one spent it. Agent Sessions attributes burn to the individual session, live, against your Codex and Claude 5-hour and weekly windows. Pick the lens you want (5-hour, weekly, tokens/hour, or dollars); the $ lens prices each model in a session at its own rate, so an Opus orchestrator driving Sonnet subagents is costed per model instead of blended into one number.
It's also a local-first Mac app for finding useful work coding agents already wrote to disk — Codex, Claude, OpenCode, Cursor Agent, Hermes, OpenClaw, Antigravity, GitHub Copilot CLI, Pi, Kimi Code, Grok CLI, Qwen Code, Devin CLI, and fx histories in one searchable view, with transcript inspection, image browsing, saved-session recovery, and resume commands for supported CLIs.
Session Runway — read the same burn as % of quota, tokens/hour, or cost/hour
Sessions search with transcript and image preview
Saved Sessions with restore actions
Image Browser for visual session outputs
Details: docs/PRIVACY.md and docs/security.md.
TL;DR - Two more coding agents: Devin CLI and fx (vercel-labs). Both land in the same searchable list as the rest, each with a Settings pane and a resume command.
New in 5.1:
devin --resume <id>. Devin keeps only active sessions, so there is no archived history
to browse, and image extraction is not yet supported.~/.fx/sessions,
with every kind of turn rendered: ordinary replies and their narrated tool steps,
background commands and where their output went, the summary that replaces auto-compacted
history, and interrupted turns with whatever finished before the cut. Text fx stored as
raw bytes rather than UTF-8 decodes back to readable output instead of disappearing.steward wanted until someone running the CLI
confirms resume end to end; the support matrix says so on every surface.Recent releases — 5.0: agents became plug-in adapters and Qwen Code joined as the thirteenth source. 4.8: Grok CLI joins as the eleventh agent source, and Analytics counts every agent you have enabled. 4.7: Kimi Code joins as the tenth source, and active Claude cloud sessions appear in the Quota Meter. 4.6.4: Compact and Full Agent Cockpit retired, leaving the Quota Meter as the only mode. 4.6: paste-a-cookie Claude web usage, no CLI or Full Disk Access needed. Full history in the changelog.
~/.hermes/state.db storage.sessions.db under the CLI data directory, with working directories read from the sessions table's working_directory column. Devin keeps only active sessions in that database, so there is no archived-history surface; the records carry inline base64 images, but image extraction is not yet supported. Resume command plans are tested against probe-advertised capabilities, but remain end-to-end untested because authentication blocked a disposable run.checkpoint.json transcripts under ~/.fx/sessions, with working directories read from each session's session.json. Resume command plans are tested against probe-advertised capabilities but remain end-to-end untested against an authenticated run; image extraction is not yet supported.Every agent here is read from its own local session files. Status says who keeps that reading correct as the agent's format changes.
| Agent | Status |
|---|---|
| Codex | Maintained |
| Claude Code | Maintained |
| Cursor Agent | Steward wanted |
| GitHub Copilot CLI | Steward wanted |
| OpenCode | Steward wanted |
| Antigravity CLI | Steward wanted |
| Pi | Steward wanted |
| Kimi Code | Steward wanted |
| Grok CLI | Steward wanted |
| OpenClaw | Steward wanted |
| Hermes | Steward wanted |
| Qwen Code | Steward wanted |
| Devin CLI | Steward wanted |
Maintained — the maintainer verifies it himself. Steward-verified — a named steward re-checks the format. Steward wanted — nobody has adopted it yet. Names, dates, and verified versions are in STEWARDS.md.
Missing agent? Open the new agent source form — docs/CONTRIBUTING.md explains what evidence makes a proposal usable, and you do not need to write Swift. Already using one of the agents above? Become its steward: you get pinged two or three times a year to run one command against your own sessions and say whether the format still reads correctly. It takes about ten minutes, needs no commit rights, and your name goes on the entry. Details and signup in STEWARDS.md.
An ordinary quota meter says "60% used." It won't say which of your three running agents spent it. The Quota Meter attributes burn to the individual session, live, against your Codex and Claude 5-hour and weekly windows.
$ lens rates each model in a session at its own rate, so an Opus orchestrator driving Sonnet subagents is costed at what each actually runs at rather than blended into one number.
Session rows read best when your terminal names them clearly:
brew tap jazzyalex/agent-sessions
brew install --cask agent-sessions
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"
docs/CHANGELOG.mddocs/summaries/docs/PRIVACY.mddocs/security.mddocs/deployment.md~/.codex/sessions~/.claude/projects~/.gemini/antigravity/brain~/.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/sessiondocs/PRIVACY.md and docs/security.mdPrerequisites:
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:
Don’t see your coding agent? You can propose it, contribute a sanitized format fixture, or use the AI-agent brief to prepare a draft integration PR. Every source remains ordinary reviewed code; Agent Sessions does not download provider plugins or infer support from an installed binary.
MIT. See LICENSE.
Swift
88.8%
Python
7.4%
Shell
3.5%