SessionGraph puts coding agent sessions into one local graph
SessionGraph is a tool that promises to bring all of your coding agent sessions together and visualize them in a graph. You paste npx sessiongraph into a terminal. According to its website, the tool then reads your harness's session store (the saved history kept by the coding agent), indexes it and opens a desktop app "for you to play around." The site says everything happens locally and calls the product "fully local and private." It also invites users to compare their graphs with friends.
The list of supported harnesses runs to more than 50 names. It begins with OpenCode, Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot CLI, and also includes Cline, Roo Code, Kilo Code, Amp, Continue, Qwen Code, GitHub Copilot Chat in VS Code, Goose, Zed Agent, Kiro, Antigravity, Mistral Vibe, Junie, Augment Code, Devin CLI, Grok Build and Kimi CLI / Code, among others.
Beyond the graph, the site pitches "a database for all your sessions": one local index that you can search across harnesses to find an old conversation, pick up where you left off, or look up what changed. There are two programmatic routes into that index. Through MCP (Model Context Protocol), your coding agent can get access to past sessions without you switching apps. The site's example takes the request "Find my sessions about invoice retries," turns it into a search_sessions call with that query, and shows two matches: "Fix duplicate invoice retries" from Codex and "Test invoice retry backoff" from Claude Code. A REST API lets your own scripts and tools query the same index, illustrated with GET /v1/search?query=invoice%20retries, which returns the same two session titles and a total of 2. These searches are illustrations of how the interfaces work.
Key facts
npx sessiongraphreads a coding agent's session store, indexes it and opens a desktop app, with processing described as entirely local.- More than 50 harnesses are listed as supported, including OpenCode, Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot CLI.
- One local index supports search across harnesses to find old conversations, resume work or look up what changed.
- Coding agents can reach past sessions through MCP, and scripts can query the same index through a REST API.
- The site also offers graph comparison with friends but does not explain how that works or what data, if any, leaves the machine for it.
Why it matters
Anyone who switches between coding agents can end up with work history spread across several tools. SessionGraph's pitch is to gather it in one place: a graph to look at, and a single index to search. The MCP and REST access take it past visualization, since an agent or a script could look up earlier sessions from any of the supported harnesses that the tool has indexed.
Who it affects
Developers who use coding agents, especially more than one of them. The supported list covers widely used names such as Claude Code, Codex, Cursor and GitHub Copilot, along with a long tail of other harnesses including OpenClaw, Hermes Agent, Crush, Octofriend and Unsloth Studio. People who write their own scripts around agent workflows are the natural audience for the REST API.
How to use it
Paste npx sessiongraph into a terminal. The tool reads the session store, builds its index and opens the desktop app. From there you can search across harnesses for an old conversation or a past change. To let your coding agent search that history itself, use the MCP route, which in the site's example exposes a search_sessions call. For your own tooling, the REST example sends a query to /v1/search and gets matching session titles and a total count back as JSON. No price, license or open-source status is stated.
How solid is it
This account rests on SessionGraph's own website, so the claims about local processing, harness support and search are the product's description of itself. The page names no author, company or team and gives no release date or version. The invoice retry searches with two results are examples, not usage data or benchmarks. No user numbers, performance figures or reactions are given.
Risks and caveats
Coding agent histories can hold code and other private project details, so the "fully local and private" promise is worth checking before you rely on it. The comparison with friends is the obvious point to examine, because the page does not explain how it works or what data, if any, leaves your machine. It also does not describe what the graph's nodes and edges represent, and it lists no supported operating systems or system requirements. Before connecting an agent over MCP, consider which past sessions you want it to be able to read.
“SessionGraph reads your harness' session store, indexes it and opens a desktop app for you to play around. Everything happens locally.”
— SessionGraph website