hermes atlas
185·repos hermes·v0.18.0 ★ star this repo

jazzyalex/agent-sessions

Native macOS session browser, agent cockpit, analytics, and limits tracker for Hermes agents and other coding-agent CLIs

★ 697

Agent Sessions is a native macOS application that provides a centralized interface for managing and inspecting local AI coding agent histories. It aggregates session data from various tools like Hermes, Claude, and Cursor into a searchable view, allowing users to review transcripts, images, and tool calls without raw terminal logs. The app features a live quota meter for tracking API usage limits and offers one-click commands to resume CLI sessions in Terminal or iTerm2. All processing is performed locally on the device to ensure data privacy and security.

  • Unified search and transcript inspection for Hermes and other coding agents
  • Rich Markdown rendering with collapsible tool calls and inline images
  • Live quota tracking and burn-rate analytics for active agent sessions
full readme from github

Agent Sessions (macOS)

Build

App Icon

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.md and docs/security.md

Download Agent Sessions 4.2 (DMG)All ReleasesInstallResume WorkflowsDevelopment

New in 4.2 — A brand-new transcript: assistant replies in real Markdown, collapsible tool calls, inline images, and clickable file paths, plus role filters (You / Agent / Tools / Errors) with jump-to-next navigation and a right-click menu. See what's new ↓

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.

New in 4.0 — 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.

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

What's New in 4.2

TL;DR - The redesigned transcript. 4.2 rebuilds the session transcript from the ground up as a clean, readable Session view — structured cards with real Markdown, collapsible tool calls, inline images, and clickable file paths — plus role filters with jump-to-next navigation and a right-click menu.

Highlights: The transcript is no longer a raw terminal dump. Assistant replies render as proper Markdown (headings, lists, GFM tables, fenced code blocks, blockquotes, inline code), tool calls fold into tidy expandable cards, and inline images and review summaries appear inline. File paths are clickable — click one to open it in your editor — and each turn and tool call carries a duration badge. Filter a session to just You, Agent, Tools, or Errors and step through occurrences with the ▲▼ controls, and right-click any message for Copy, Copy Block, or Speak.

New in 4.2:

  • Redesigned transcript (Session view) — block-based cards, rich Markdown rendering, collapsible tool calls, inline images, review summaries, clickable file paths, and turn/tool duration badges.
  • Role filters + jump navigation — show only You / Agent / Tools / Errors, and jump to the next or previous occurrence of each.
  • Right-click menu — Copy, Copy Block, and Speak on any message.
  • Quota Meter smile — the meter smiles when your pace is on track to fit the 5-hour window.

Previous release — 4.1: The Instant release — instant transcript open, instant sort, indexed full-text search, and much quieter idle. 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.
  • 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

Quota Meter showing Codex and Claude 5h/weekly limits with Session Runway per-session burn-rate bars

Agent Cockpit

Compact cockpit menu showing grouped active sessions in Light Mode
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-4.2.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.