jazzyalex/agent-sessions
Local-first macOS search and resume for AI coding-agent sessions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Agent Sessions is a local-first Swift macOS app. The tree contains AgentSessions.xcodeproj, the AgentSessions/ application directory, and separate AgentSessionsLogicTests/ and AgentSessionsTests/ directories. It discovers agent history on disk, reads source-specific records such as Claude Code JSONL and OpenCode SQLite, and indexes them locally for cross-source search and transcript navigation. It does not rewrite the original session folders.
Session Info starts with common metadata from the loaded session row and reads detailed records when the source supports them. Resume is a separate path: the app can expose a command or hand an eligible session to an installed terminal or editor integration. Source-specific format maintenance, with owners and tested versions tracked in STEWARDS.md, is the integration model to evaluate here; this is a desktop application, not an MCP server.
Key Capabilities & Differentiators
The app browses and searches 16 active agent formats plus legacy Droid history. Queries support terms, phrases, paths, prefixes, Boolean expressions, and complete session IDs. Results appear as they are found; pressing Return verifies eligible source histories and reports complete, incomplete, and unresolved coverage. Transcripts can expose supported image outputs, and Session Info adds model history, token counts, request counts, or pricing when those records exist.
The quota meter attributes live Codex and Claude burn to individual sessions against available 5-hour or weekly windows. OpenCode can show per-session token or estimated cost rates. Analytics can compare API-equivalent value and attributed quota by agent, model, and thinking effort, subject to timing and coverage limits. API-rate estimates are not subscription charges, and unavailable telemetry remains explicitly marked.
Trade-offs & Limitations
Compared with searching separate native histories, Agent Sessions is most useful when work spans agents: one query can find a past decision without knowing which client recorded it. Local processing avoids uploading transcripts and does not require a shared service. In exchange, the application only sees records present on the Mac and readable in a supported format. Upstream format changes can affect completeness, as the OpenCode 2.4.1 fix illustrates; coverage verification makes gaps visible rather than silently treating a search as exhaustive.
Browse support does not imply resume parity. OpenClaw, Cline, DeepSeek Harness, and legacy Droid are browse-only; Qwen Code active-session resume is not verified end to end, and fx command testing does not establish interactive reopening. Native clients remain the simpler option for single-agent workflows. Teams that need shared remote history or centralized retention should not treat a per-Mac index as a substitute.
Hardware & Deployment Guide
Install on macOS 14 or later from the AgentSessions-7.0.1.dmg or with brew install --cask jazzyalex/agent-sessions/agent-sessions. There is no server to deploy for local history indexing and search. Sparkle updates are signed and notarized; optional update checks and public price-list fetches exclude transcript data. Resume has separate prerequisites: Ghostty needs AppleScript support, verified with 1.4.0, and the Claude Code VS Code route requires the extension and a trusted project folder.
v6.6 added Claude Code handoff to VS Code and Insiders. v7.0 introduced progressive search results and explicit coverage verification. v7.0.1 improved result ranking and excerpts, restored assistant replies and tool output for OpenCode 2.4.1, and automatically rebuilds existing OpenCode SQLite search entries. For a managed rollout, test search and resume separately with the actual agent and client versions in use.
Mac developers who move between coding agents and need to recover decisions, file paths, or eligible resumable sessions from local history.
You need cross-platform or shared team history, centralized retention, or guaranteed resume support for every searchable source.
Quick Start & Installation
brew install --cask jazzyalex/agent-sessions/agent-sessionsComparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agent-sessions ★ | 960 | +4 | Swift | MIT | Local-first macOS search and resume for AI coding-agent sessions |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| magpie | 45.5k | +2.9k | Go | MIT | A local API gateway that pools model subscriptions across coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/jazzyalex/agent-sessions.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agent-sessions
How does Agent Sessions integrate with multiple agents?
Does it need a GPU, and what should I measure before rolling it out?
Can a company deploy it internally, and what compliance checks remain?
When is this preferable to using each agent's own history interface?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy