Growth Graphs
Growth Graphs is a Product Growth Newsletter tool by Aakash Gupta for
running product-growth decisions, research, evidence gathering, experiment
design, review gates, as explicit, resumable agent graphs instead of a
single freeform prompt.
A graph is a small set of nodes (agent calls, human approval gates, plain
state updates) wired together with direct edges, conditional routing, and
all-source joins. Independent nodes fan out and run in parallel; a review
node can loop a revision back through itself a bounded number of times; a
human node pauses the run and durably checkpoints it until an answer comes
back, even across a process restart.
The core graph engine has zero required dependencies (pure Python standard
library). Optional extras add a real model backend (Anthropic Claude, xAI
Grok), a shelled-out coding-agent CLI backend (Claude Code, Codex,
OpenCode, Aider, Grok Build), and an MCP server so any MCP-capable host can
start, monitor, and resume a run.
Requirements
- Python 3.10+
uv, required on the host machine before
the MCP server can start. Install with brew install uv (macOS) or see
the linked docs for other platforms. Without it, the plugin installs
successfully but its MCP server fails to launch, silently, with no error
surfaced anywhere in the host app's UI. If tools like graph_start never
show up after installing, check uv --version first.
Install
As a Claude Code or Codex plugin, add this repository's marketplace and
install the growth-graphs plugin. As a standalone package:
pip install -e "plugins/growth-graphs[dev]"
Add [mcp], [anthropic], or [openai] to pip install if you need the
MCP server or a real model backend.
After installing or updating the plugin, reload
This is the single most common source of "the tools never appear" confusion,
worth reading even if you skip everything else here.
Changes to a plugin's SKILL.md take effect immediately, live, in an
already-open session. Changes to .mcp.json (including the very first time
the plugin is installed) do not take effect live. The MCP server only
attempts to connect on session start or on an explicit reload. After
installing, updating, or editing .mcp.json, run /reload-plugins in
your current session, or start a new session. Restarting the host app alone
is not required, but a session that was already open before you installed
the plugin will never pick up the connection on its own.
If tools still don't appear after a reload, check the host app's own logs
for connection attempts (on the Claude desktop app,
~/Library/Logs/Claude/main.log, filter for your plugin's server name). Zero
log lines mentioning it at all means the reload didn't happen, not that the
server crashed, restart your reload attempt rather than debugging the
package.
Backends and credentials
The mock backend requires nothing, no key, no installed CLI, no network
access, and is what every example below uses by default. It returns
deterministic placeholder text, useful for proving a topology's structure
and control flow, not for real output.
For real output, wire up one real backend before running anything you
intend to use:
| Backend | Requirement |
|---|
claude | ANTHROPIC_API_KEY environment variable |
grok_api | XAI_API_KEY environment variable |
claude_code | the claude CLI installed and on PATH |
codex | the codex CLI installed and on PATH |
opencode | the opencode CLI installed and on PATH |
aider | the aider CLI installed and on PATH |
grok_build | the grok CLI installed and on PATH |
Having the Claude Code or Claude desktop app installed does not put a
claude CLI binary on PATH by itself, these are separate things. Run
agentgraph doctor (CLI) or call the doctor MCP tool before picking a
backend, it reports exactly which ones are actually usable on the current
machine rather than which ones are theoretically supported.
If you edit plugins/growth-graphs/.mcp.json
Keep the launcher as a single self-contained python3 -c "..." command,
not a sh -c wrapper:
{
"mcpServers": {
"growth-graphs": {
"command": "python3",
"args": [
"-c",
"import os, subprocess; root = os.getenv('CLAUDE_PLUGIN_ROOT') or os.getcwd(); raise SystemExit(subprocess.call(['uv', 'run', '--directory', root, '--extra', 'mcp', 'agentgraph-mcp']))"
],
"env": { "PYTHONUNBUFFERED": "1" }
}
}
}