Skip to content

jazzyalex/agent-sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,877 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Sessions (macOS)

Build

App Icon

Live per-session quota burn for Codex and Claude — see which session is eating your 5-hour and weekly limits, priced per model. Plus a searchable history across Codex, Claude, OpenCode, Cursor, GitHub Copilot CLI, Pi, Antigravity CLI, Hermes, and OpenClaw — transcripts, images, and one-click resume. macOS, local-only.

  • Requires: macOS 14+
  • License: MIT
  • Security & Privacy: Local-only. No telemetry. Details: docs/PRIVACY.md and docs/security.md

Download Agent Sessions 4.6.4 (DMG)All ReleasesInstallResume WorkflowsDevelopment

New in 4.6.4 — Compact and Full Agent Cockpit are retired. The Quota Meter is the only mode, the View menu is a single toggle, and stale settings from the old modes are cleared for you. See what's new ↓

Overview

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, and Pi histories in one searchable view, with transcript inspection, image browsing, saved-session recovery, and resume commands for supported CLIs.

Session Runway — live per-session quota burn-rate

Quota Meter with Session Runway showing live per-session quota burn-rate bars

Sessions search with transcript and image preview

Main Sessions window with local agent history and transcript preview

Saved Sessions with restore actions

Saved Sessions window listing stored sessions and restore actions

Image Browser for visual session outputs

Image Browser window with thumbnail grid and selected screenshot preview

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 and an optional read-only fetch of a public model-price list (for the runway's $ estimate) — neither sends any personal or session data.

Details: docs/PRIVACY.md and docs/security.md.

What's New in 4.6.4

TL;DR - Compact and Full Agent Cockpit are gone. The Quota Meter is the only mode now, the View menu is one toggle instead of a submenu, and if you last quit in Compact or Full you land on the Quota Meter with nothing to reconfigure.

New in 4.6.4:

  • One mode, not three — the Quota Meter absorbed what people actually used. Compact and Full carried a session list, search, By Project grouping and filter pills that duplicated the main window; those go with them.
  • The View menu is a show/hide toggle — ⌘⌥⇧C now hides the Quota Meter when it is already on screen, matching how every other macOS window toggle behaves. ⇧⌘M ("Cycle Cockpit View") is removed; cycling means nothing with one mode.
  • Settings → Agent Cockpit is now Settings → Quota Meter — the Compact Mode and Full Mode sections go with the modes they configured.
  • Old settings clear themselves — stale preferences and the saved Compact and Full window positions are swept on launch. Where you put the Quota Meter is untouched.
  • The text-size button stops vanishing — switching to Standard made the window narrower and the toolbar dropped that button first, hiding the only control that switched back to Enlarged. The toolbar now narrows the Session Runway control before dropping anything.

Recent releases — 4.6.3: the footer usage meters can finally be switched off. 4.6.2: Codex guardian sessions nest under their parent instead of duplicating it. 4.6: paste-a-cookie Claude web usage, no CLI or Full Disk Access needed. 4.5: dollar burn per session, priced per model. Full history in the changelog.

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.db storage.
  • 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.
  • Quota Meter with Session Runway shows live burn rate per session against your Codex and Claude 5-hour and weekly limits — in percent, tokens/hour, or dollars priced per model.
  • Local-only indexing designed for large histories.

Quota Meter — Session Runway

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.

  • Per-session burn bars — each active session gets its own rate against the live window, so you know which one to stop.
  • Four lenses — 5-hour, weekly, tokens/hour, or dollars; chosen from the meter and remembered.
  • Priced per model — the $ 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.
  • Honest states — a calm "no limit" when a provider drops a window, and "can't verify" rather than a wrong number if usage data changes shape.
  • Stays where you put it — drag it anywhere, right-click for controls. Show or hide it from the View menu (⌘⌥⇧C).
Quota Meter showing Codex and Claude 5h/weekly limits with Session Runway per-session burn-rate bars

Quota Meter Setup

Prerequisites

  • Agent Sessions with live session detection enabled
  • Agents running in a terminal, or in Codex or Claude Desktop

Ideal Setup

Session rows read best when your terminal names them clearly:

  • Set the terminal 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 the Quota Meter pinned in a corner so you can always see activity

Install

Option A — Download DMG

  1. Download AgentSessions-4.6.4.dmg
  2. 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

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/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:

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.

About

Local-first macOS app to browse, search, analyze, and resume supported AI coding-agent session history across Codex, Claude Code, OpenCode, Cursor Agent, Hermes, OpenClaw, Copilot CLI, and more.

Topics

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages