SessionGraph
Local desktop app that imports coding agent session histories, indexes them, and visualizes them as a searchable graph with MCP and REST API access.
At a Glance
Local desktop app, MIT licensed, no account needed.
Engagement
Available On
Alternatives
Listed Dec 2026
About SessionGraph
SessionGraph is an open-source tool by Alex Vilchis (GitHub: arvindell) that reads the local session stores of AI coding agents, indexes them, and opens a desktop app to explore them as a graph. It supports Claude Code, Codex, Cursor, Gemini CLI, OpenCode and many other harnesses. The project states that everything runs locally and no account is needed.
What It Is
SessionGraph brings coding agent history from multiple harnesses into one local index. Session orbs show conversations over time, fork connections show where sessions branched or spawned subagents, and clusters group sessions by project directory, even across harnesses. Users can search conversations, browse messages, and inspect changed files. The project says it reads local history without changing it.
Search, MCP and REST API
The local index can be queried by your coding agent through an MCP server, for example a search_sessions call for a topic such as invoice retries, which returns matching sessions and the harness they came from. The same index is available over HTTP through a REST API, such as GET /v1/search with a query parameter, returning JSON hits and a total.
Setup path
Run it with npx sessiongraph (Node.js 22.15.0+) to open the desktop app, or add --browser to use the browser instead. Installers are also offered for macOS (Apple Silicon and Intel), Windows (EXE and MSI) and Linux (AppImage, DEB, RPM on x64 and ARM64), and do not require Node.js.
Sharing and exploring graphs
The website has an Explore page listing public user graphs with session and token counts, and the homepage mentions comparing graphs with friends. The source is released under the MIT license.
Collections
Popular collections
- Charts, Graphs, and Diagrams
Collection by @joemseifi
- Pick Up Where Your Agent Left Off
Collection by @caiovalverde
- UI Design Skills for Coding Agents
Collection by @mayachen
- Find the Ways Your AI App Can Fail Before Launch
Collection by @samirhaddad
Add SessionGraph to one of your collections.
Community Discussions
Be the first to start a conversation about SessionGraph
Share your experience with SessionGraph, ask questions, or help others learn from your insights.
Pricing
Open Source
Local desktop app, MIT licensed, no account needed.
- MIT License
- Runs locally via npx sessiongraph
- No account needed
- Imports local history from Claude Code, Codex, Cursor, Gemini CLI, OpenCode and more
- Desktop installers for macOS, Windows, Linux
Capabilities
Key Features
- Imports local sessions from many coding agent harnesses
- Graph visualization with session orbs, fork connections and project clusters
- Timeline playback of sessions
- Search across all harnesses from one local index
- Browse messages and inspect changed files
- MCP server for agent access to past sessions
- REST API for querying the index
- Fully local with no account needed
- Browser mode via --browser flag
- Public Explore page for shared graphs
