We humans are still an integral cog in the AI machine, but when we're running dozens (or even just 4 or 5) agents or sessions, we often become the bottleneck. An agent is waiting on our input, a session is blocked by a child session it spawned, and unless we monitor them like a hawk, they remain blocked.
Agent Graph solves this.
Agent Graph integrates with leading AI coding providers like Claude Code, Codex and Cursor to record a log of all your sessions, agents and tasks and the dependencies between them. It highlights where you are needed at any time, what work is ongoing, and what is completed. You can run it completely locally, it starts a local web server that you use on your computer.
To keep up with your agents on the move, you simply run agent-graph watch-remote, and that streams your logs to this site, where you can track all your agent's work in a fully secure and private manner. This is completely optional, and you can of course keep all of your logs local on your machine, or run this site yourself.
All of Agent Graph is open source under the MIT licence: the agent-graph command, the viewer, and this site. Read it, fork it, change it, use it at work. github.com/shaneosullivan/agent-graph
No open-core catch and no closed parts. Every line, this site included, is on GitHub to use as you like.
Recording your agents and agent-graph view are free for ever, with no account, and nothing leaves your machine.
Deploy this site to your own domain, on Vercel and Firebase’s free plans, and share live from anywhere without paying anything. Here’s how
You don’t have to host it yourself, though. Even easier, make an account here, and agent-graph watch-remote shares your agents live to it, with nothing to deploy. (What it costs.)
For macOS, Linux and Windows, on ARM and x86_64. It records Claude Code, Codex and Cursor, on your computer and in their clouds.
agent-graph 0.1.25:brew tap chofter/tap
brew trust chofter/tap
brew install --cask chofter/tap/agent-graphOr, without Homebrew:curl -fsSL https://agentgraph.chofter.com/install.sh | shOr download the program itself (unpack it, and put agent-graph on your PATH):macOS · Apple siliconmacOS · Intelagent-graph install claude-codeUsing Codex? Record its sessions too:agent-graph install codexUsing Cursor? Record its chats, in the app and its CLI:agent-graph install cursoragent-graph 0.1.25:curl -fsSL https://agentgraph.chofter.com/install.sh | shNo curl? With wget:wget -qO- https://agentgraph.chofter.com/install.sh | shOr with Homebrew:brew tap chofter/tap
brew trust chofter/tap
brew install --cask chofter/tap/agent-graphOr download the program itself (unpack it, and put agent-graph on your PATH):Linux · x86_64Linux · ARM64agent-graph install claude-codeUsing Codex? Record its sessions too:agent-graph install codexUsing Cursor? Record its chats, in the app and its CLI:agent-graph install cursoragent-graph 0.1.25:irm https://agentgraph.chofter.com/install.ps1 | iexIn PowerShell. It puts agent-graph.exe in %USERPROFILE%\.local\bin, and adds that to your PATH. Run it again to upgrade.Or with Node (npm):npm install -g @chofter/agent-graphOr download the program itself (unpack it, and put agent-graph on your PATH):Windows · x64Windows · ARM64agent-graph install claude-codeUsing Codex? Record its sessions too:agent-graph install codexUsing Cursor? Record its chats, in the app and its CLI:agent-graph install cursoragent-graph 0.1.25:npm install -g @chofter/agent-graphFor macOS, Linux and Windows, with Node 16 or later. Install it globally, not with npx: the hooks run the program from where npm puts it. npm update -g @chofter/agent-graph upgrades it.agent-graph install claude-codeUsing Codex? Record its sessions too:agent-graph install codexUsing Cursor? Record its chats, in the app and its CLI:agent-graph install cursor.claude/settings.json:agent-graph install claude-code --cloudmain). A cloud session works in a fresh clone from GitHub, so that’s where it finds the hooks. On your computer they do nothing.git add .claude/settings.json && git commit -m "Share cloud sessions to Agent Graph" && git pushAGENT_GRAPH_TOKEN=agt_…and set network access to Custom, allowing these two domains:agentgraph.chofter.com
firebasestorage.googleapis.comThe environment’s setup script can stay empty.agt_). It’s shown only once, so keep the page open until step 4.AGENT_GRAPH_TOKEN, with the token from step 1 as its value:AGENT_GRAPH_TOKENNot under Secrets: a secret reaches only the setup script, not the task, so nothing would be shared.curl -fsSL "https://agentgraph.chofter.com/install.sh?cache_bust=$(date +%s)" | sh
~/.local/bin/agent-graph install codex --cloud --yesThey install agent-graph in the cloud’s machine (not on your computer), and the hooks that record each task there and share it.agentgraph.chofter.comSet Allowed HTTP Methods to All methods: sharing sends the session with POST requests..cursor/hooks.json:agent-graph install cursor --cloud --scope projectmain). A cloud agent works in a clone from GitHub, so that’s where it finds the hooks. On your computer, and your teammates’, they do nothing.git add .cursor/hooks.json && git commit -m "Share Cursor cloud agents to Agent Graph" && git pushagt_).AGENT_GRAPH_TOKEN, with the token as its value:AGENT_GRAPH_TOKENgit pull --ff-onlyA cloud agent starts from the environment’s saved copy of the repository, which can be older than your latest push: without the hooks, if they were committed after the environment was made. This brings it up to date first. The hooks install agent-graph themselves, so the Install Script can stay as it is.~/.local/bin/agent-graph diagnostics, which also says whether it started behind its branch, or see Troubleshooting.A cloud agent can read the token, as it can any secret, but it can only share to your account; delete it on your account page to stop it working.Example sessions, each showing something the viewer does. Each opens in a new tab: step through it with the timeline, and try the graph view.
Paste or upload an Agent Graph log to get a link, get it from .agent-graph/events in your home folder. It opens a viewer you can step through: which session started which agents, who’s waiting on whom, what looks stuck, and what needs you. You can share the url with a teammate and it'll stay live for a week.
With the agent-graph command installed, this shares to your account (logging you in the first time) and keeps it up to date as your agents work. Only you can see it, at /watch:
agent-graph watch-remoteMore about sharing, and every other command, in the docs.
Permission prompts, questions and plans waiting for your approval.
Agents that went quiet while working, and sessions waiting on each other.
Step through every event and see the graph exactly as it was at that moment.
Agent Graph records one file per session in ~/.agent-graph/events/ (on Windows, %USERPROFILE%\.agent-graph\events\). Upload any of them, or paste their contents.