Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agents/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Default to the hosted server. Use open-source Graphify only when the user asks f
| --- | --- | --- |
| Hosted MCP server | Default. The user's repositories are indexed at [app.graphify.com](https://app.graphify.com?utm_source=docs&utm_medium=link&utm_campaign=agents-overview). | Add `https://api.graphify.com/mcp` as a remote Streamable HTTP server. Sign-in is OAuth in the browser; there is no API key. Commands per agent: [Setup for AI agents](/for-agents#setup-for-ai-agents), step 2. |
| One-click installs and plugins | The user prefers to click instead of editing config. | The [Graphify plugin for Cursor](https://cursor.com/marketplace/graphify) (setup: [Cursor](/integrations/cursor)), the [VS Code extension](/integrations/vscode), the [Graphify plugin for ChatGPT and Codex](https://chatgpt.com/plugins/plugin_asdk_app_6abe89f7f5d88191b9422522bb8562a4) (setup: [Codex](/integrations/codex), [ChatGPT](/integrations/chatgpt)), and the [Graphify plugin for Grok Bot](https://x.ai/bot/plugin/90729235) (setup: [Grok Bot](/integrations/grok-bot)). All of them connect to the same hosted server. |
| Graphify CLI | The user asks for an offline or on-machine graph. | `uv tool install --python 3.12 graphifyy`, then `graphify install`. See the [Graphify CLI quickstart](/open-source/quickstart). Its MCP tools are in the [MCP tool reference](/open-source/features/mcp-tools), and the names differ from the hosted ones. |
| Graphify CLI | The user asks for an offline or on-machine graph. | `uv tool install graphifyy`, then `graphify install`. See the [Graphify CLI quickstart](/open-source/quickstart). Its MCP tools are in the [MCP tool reference](/open-source/features/mcp-tools), and the names differ from the hosted ones. |

Before you change a config file, tell the user what you will change and wait for a yes. After you connect and the user signs in, call `setup_status` and walk them through the step it returns. When it says Graphify is ready, call `list_repositories`. If anything fails, use [Check your agent is using Graphify](/platform/verify-connection).

Expand Down
2 changes: 1 addition & 1 deletion concepts/how-graphify-is-different.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Other tools help agents and people understand code too. They answer different qu
For a longer explanation of code graphs and how agents use them, read [What is a code graph?](https://graphify.com/blog/what-is-a-code-graph).

<Tip>
**Try it on your own repo.** [Start with hosted Graphify](https://app.graphify.com?utm_source=docs&utm_medium=link&utm_campaign=concepts-how-graphify-is-different), or build a graph locally with `uv tool install --python 3.12 graphifyy`.
**Try it on your own repo.** [Start with hosted Graphify](https://app.graphify.com?utm_source=docs&utm_medium=link&utm_campaign=concepts-how-graphify-is-different), or build a graph locally with `uv tool install graphifyy`.
</Tip>

## Code graph vs Memory vs RAG
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/claude-code-monorepo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To see how hosted Graphify gives every agent the same context for a whole monore
## Setup

```bash
uv tool install --python 3.12 "graphifyy[mcp]"
uv tool install "graphifyy[mcp]"
cd your-monorepo
graphify extract . --code-only
```
Expand Down Expand Up @@ -99,7 +99,7 @@ This compares a graph query with a naive baseline that reads the whole corpus. I

**Claude ignores the graph.** Check that `graphify-out/graph.json` exists at the repository root, and that `.claude/settings.json` has the hooks. The guard only nudges when the graph is fresh, so run `graphify hook install` once to keep it current after pulls, or `graphify update .` by hand.

**The MCP server fails to start.** Install the `mcp` extra: `uv tool install --python 3.12 "graphifyy[mcp]"`. Pass the graph path relative to where Claude Code starts, or use an absolute path.
**The MCP server fails to start.** Install the `mcp` extra: `uv tool install "graphifyy[mcp]"`. Pass the graph path relative to where Claude Code starts, or use an absolute path.

**Answers are cut short.** Ask with a larger budget, for example `graphify query "..." --budget 3000`, or name a specific symbol.

Expand All @@ -113,7 +113,7 @@ This compares a graph query with a naive baseline that reads the whole corpus. I
## Complete example

```bash
uv tool install --python 3.12 "graphifyy[mcp]"
uv tool install "graphifyy[mcp]"
cd your-monorepo
graphify extract . --code-only
graphify install --platform claude
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/cross-repo-dependencies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Now a teammate who asks "rename `total_cents`" gets the cross-repo list first, w
Open-source Graphify can merge graphs on your machine without an account. Build each repository's graph, then add it to the global graph in `~/.graphify/`:

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
for repo in shared-models billing-service api-gateway; do
(cd "$repo" && graphify update . && graphify global add graphify-out/graph.json --as "$repo")
done
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/fastapi-and-django.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ git clone --depth 1 https://github.com/django/djangoproject.com
## Step 1: Install Graphify CLI

```bash
uv tool install --python 3.12 graphifyy # or: pipx install graphifyy
uv tool install graphifyy # or: pipx install graphifyy
graphify --version
```

Expand Down
4 changes: 2 additions & 2 deletions cookbooks/keep-docs-in-sync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To keep docs in sync with code, generate the structural part of them from the co
## Setup

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
cd your-repo
graphify extract . --code-only
```
Expand Down Expand Up @@ -50,7 +50,7 @@ The commit should match `git rev-parse HEAD`.
When you want the graph to follow you between commits, install the `watch` extra and run watch:

```bash
uv tool install --python 3.12 "graphifyy[watch]"
uv tool install "graphifyy[watch]"
graphify watch .
```

Expand Down
4 changes: 2 additions & 2 deletions cookbooks/local-with-ollama.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Install Ollama from [ollama.com](https://ollama.com), then pull a model. Graphif

```bash
ollama pull qwen2.5-coder:7b
uv tool install --python 3.12 "graphifyy[ollama]"
uv tool install "graphifyy[ollama]"
```

The `ollama` extra installs the OpenAI-compatible client Graphify uses to talk to Ollama.
Expand Down Expand Up @@ -108,7 +108,7 @@ graphify extract . --backend ollama

```bash
ollama pull qwen2.5-coder:7b
uv tool install --python 3.12 "graphifyy[ollama]"
uv tool install "graphifyy[ollama]"
cd your-repo
graphify extract . --code-only
export GRAPHIFY_OLLAMA_NUM_CTX=16384
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/make-agents-use-the-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Pick the path that matches how you run Graphify. Graphify builds and hosts the g
Then run `/mcp` in Claude Code, select **graphify** and choose **Authenticate**. For Codex, Cursor and others, see [Connect cloud coding agents](/cookbooks/cloud-coding-agents).
</Tab>
<Tab title="Graphify CLI">
- Open-source Graphify installed: `uv tool install --python 3.12 graphifyy`. See [Installation](/open-source/installation).
- Open-source Graphify installed: `uv tool install graphifyy`. See [Installation](/open-source/installation).
- A graph built in the repository root:

```bash
Expand Down Expand Up @@ -75,7 +75,7 @@ Start a new agent session and paste:
Run `graphify query "where are invoices created"` and show me the output. Do not read any files first.
```

You should see a short list of nodes with file paths. If the agent says `graphify` isn't found, the command isn't on the agent's `PATH`. Open a new terminal after installing, or install with `uv tool install --python 3.12 graphifyy`.
You should see a short list of nodes with file paths. If the agent says `graphify` isn't found, the command isn't on the agent's `PATH`. Open a new terminal after installing, or install with `uv tool install graphifyy`.
</Tab>
</Tabs>

Expand Down
4 changes: 2 additions & 2 deletions cookbooks/meetings-and-videos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Graphify can't read audio directly, so it transcribes recordings to text with [f
## Setup

```bash
uv tool install --python 3.12 "graphifyy[video]" --with "av<19"
uv tool install "graphifyy[video]" --with "av<19"
mkdir -p meetings && cp ~/Recordings/*.m4a meetings/
```

Expand Down Expand Up @@ -118,7 +118,7 @@ graphify add "https://www.youtube.com/watch?v=VIDEO_ID"
## Complete example

```bash
uv tool install --python 3.12 "graphifyy[video]" --with "av<19"
uv tool install "graphifyy[video]" --with "av<19"
uv run --with "graphifyy[video]" --with "av<19" python transcribe.py
mkdir -p docs/meetings && cp graphify-out/transcripts/*.txt docs/meetings/
graphify extract . --backend claude
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/neo4j-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Graphify stores its graph as `graph.json`, but you can load it into [Neo4j](http
## Setup

```bash
uv tool install --python 3.12 "graphifyy[neo4j]"
uv tool install "graphifyy[neo4j]"
cd your-repo
graphify extract . --code-only
```
Expand Down Expand Up @@ -93,7 +93,7 @@ RETURN DISTINCT caller.label LIMIT 50;

## When it goes wrong

**`neo4j driver not installed`.** Install the extra: `uv tool install --python 3.12 "graphifyy[neo4j]"`.
**`neo4j driver not installed`.** Install the extra: `uv tool install "graphifyy[neo4j]"`.

**The import is very slow.** Create the indexes in Step 2 before running the script, or use `--push`, which creates them for you.

Expand All @@ -109,7 +109,7 @@ RETURN DISTINCT caller.label LIMIT 50;
## Complete example

```bash
uv tool install --python 3.12 "graphifyy[neo4j]"
uv tool install "graphifyy[neo4j]"
cd your-repo
graphify extract . --code-only
export NEO4J_PASSWORD="$(your-secret-tool get neo4j)"
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/onboard-to-a-codebase.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ This recipe uses the open-source [Graphify-Labs/graphify](https://github.com/Gra

## Setup

You need Python 3.11.5 or later and [uv](https://docs.astral.sh/uv/).
You need Python 3.11.5 to 3.14 and [uv](https://docs.astral.sh/uv/). uv fetches a compatible version if you need it.

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
git clone https://github.com/Graphify-Labs/graphify
cd graphify
```
Expand Down Expand Up @@ -131,7 +131,7 @@ This writes one article per community plus `graphify-out/wiki/index.md` (904 art
## Complete example

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
git clone https://github.com/Graphify-Labs/graphify && cd graphify
graphify extract . --code-only
graphify cluster-only . --no-label
Expand Down
8 changes: 4 additions & 4 deletions cookbooks/opencode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You use OpenCode every day, sometimes with a hosted model, sometimes with a loca
## Step 1: Install Graphify CLI

```bash
uv tool install --python 3.12 graphifyy # or: pipx install graphifyy
uv tool install graphifyy # or: pipx install graphifyy
graphify --version
```

Expand Down Expand Up @@ -193,7 +193,7 @@ Keep vendored and generated folders out of the graph with a `.graphifyignore`. S
OpenCode can run on a local model, and so can Graphify CLI. Code parsing never needs one. For docs, papers and community names, point Graphify at Ollama:

```bash
uv tool install --python 3.12 "graphifyy[ollama]"
uv tool install "graphifyy[ollama]"
graphify extract . --backend ollama
graphify label . --backend ollama
```
Expand All @@ -205,7 +205,7 @@ Then no source file leaves your machine at any step. Tuning for a laptop GPU is
The skill and plugin have OpenCode run `graphify` commands in its shell. If you'd rather give it graph tools directly, serve the same `graph.json` as a local MCP server:

```bash
uv tool install --python 3.12 "graphifyy[mcp]"
uv tool install "graphifyy[mcp]"
opencode mcp add graphify-local -- graphify-mcp /absolute/path/to/your-repo/graphify-out/graph.json
opencode mcp list
```
Expand Down Expand Up @@ -282,7 +282,7 @@ This removes the skill, the plugin and the `## graphify` section from `AGENTS.md
## Complete example

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
cd your-repo
graphify opencode install --project
graphify extract . --code-only
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/plan-a-refactor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Code impact analysis tells you what a change reaches before you make it. With Gr
## Setup

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
git clone https://github.com/Graphify-Labs/graphify && cd graphify
graphify extract . --code-only
```
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/postgres-schema-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Graphify can read a live PostgreSQL database and add its schema to the same grap
Install the `postgres` extra. It adds `psycopg` and the SQL grammar Graphify uses to parse the schema:

```bash
uv tool install --python 3.12 "graphifyy[postgres]"
uv tool install "graphifyy[postgres]"
```

Use a role that can read the catalog. It doesn't need write access, because Graphify opens a read-only transaction.
Expand Down Expand Up @@ -73,7 +73,7 @@ Whether a path exists depends on how your code names the table. Where none is fo

## When it goes wrong

**`psycopg is required for --postgres`.** Install the extra: `uv tool install --python 3.12 "graphifyy[postgres]"`.
**`psycopg is required for --postgres`.** Install the extra: `uv tool install "graphifyy[postgres]"`.

**The schema adds zero nodes.** The SQL grammar is missing, so parsing returns nothing. The `postgres` extra includes it. If you installed `psycopg` on its own, add `tree-sitter-sql`.

Expand All @@ -89,7 +89,7 @@ Whether a path exists depends on how your code names the table. Where none is fo
## Complete example

```bash
uv tool install --python 3.12 "graphifyy[postgres]"
uv tool install "graphifyy[postgres]"
cd your-repo
export PGHOST=localhost PGDATABASE=app PGUSER=readonly
graphify extract . --code-only --postgres ""
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/pr-impact-comment-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A diff shows which lines changed. The graph shows what those lines touch. This r
You need a GitHub repository and permission to add workflows. Try the command locally first:

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify extract . --code-only
graphify prs # list open pull requests
graphify prs 123 # detail for one, use a real number
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- uses: astral-sh/setup-uv@v6
- name: Build the code graph
run: |
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify extract . --code-only
- name: Write the impact report
env:
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/review-as-a-team.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This recipe runs against the open-source [Graphify-Labs/graphify](https://github
You need the [GitHub CLI](https://cli.github.com/), signed in with `gh auth login`, and a graph of the repository:

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
git clone https://github.com/Graphify-Labs/graphify && cd graphify
graphify extract . --code-only
```
Expand Down Expand Up @@ -85,7 +85,7 @@ For each colliding pair:

**Impact shows `–`.** The PR changed files that aren't in the graph, such as docs or config, or the graph is stale. Rebuild with `graphify update .`.

**`Triage failed: No module named 'openai'`.** The table still prints, but triage needs an LLM client. Install the extra for your backend, for example `uv tool install --python 3.12 "graphifyy[openai]"`, and set its API key.
**`Triage failed: No module named 'openai'`.** The table still prints, but triage needs an LLM client. Install the extra for your backend, for example `uv tool install "graphifyy[openai]"`, and set its API key.

**Wrong base branch.** Pass `--base main` (or `-b main`) when your repository's default branch isn't the one PRs target.

Expand Down
4 changes: 2 additions & 2 deletions cookbooks/self-host-shared-mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The open-source MCP server usually runs on your machine over stdio, one per deve
```bash
git clone https://github.com/Graphify-Labs/graphify
cd your-repo
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify extract . --code-only
```

Expand All @@ -36,7 +36,7 @@ export GRAPHIFY_API_KEY="$(openssl rand -hex 32)"
## Step 1: Run it locally over HTTP

```bash
uv tool install --python 3.12 "graphifyy[mcp]"
uv tool install "graphifyy[mcp]"
graphify-mcp graphify-out/graph.json --transport http --port 8765
```

Expand Down
2 changes: 1 addition & 1 deletion cookbooks/shared-team-graph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To share a code graph with your team, commit `graphify-out/graph.json` and let g
## Setup

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
cd your-repo
graphify extract . --code-only
```
Expand Down
2 changes: 1 addition & 1 deletion integrations/other-agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ For hosted Graphify, run this in the project. Add `--global` to use the server i
opencode mcp add graphify --url https://api.graphify.com/mcp
```

OpenCode remote servers use OAuth by default, and there is no API key. If `opencode mcp list` shows "needs authentication", open OpenCode, run `/mcps`, select `graphify`, and sign in in the browser. For a local graph with the open-source Graphify CLI, run `uv tool install --python 3.12 graphifyy` and then `graphify install --platform opencode`, or `graphify opencode install --project` to also write an `AGENTS.md` section. For the full setup and the workflows people run, see [Go fully open source with OpenCode and Graphify CLI](/cookbooks/opencode).
OpenCode remote servers use OAuth by default, and there is no API key. If `opencode mcp list` shows "needs authentication", open OpenCode, run `/mcps`, select `graphify`, and sign in in the browser. For a local graph with the open-source Graphify CLI, run `uv tool install graphifyy` and then `graphify install --platform opencode`, or `graphify opencode install --project` to also write an `AGENTS.md` section. For the full setup and the workflows people run, see [Go fully open source with OpenCode and Graphify CLI](/cookbooks/opencode).

## How do I use Graphify with Kilo Code?

Expand Down
4 changes: 2 additions & 2 deletions open-source/agents/claude-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ This page installs the open-source skill. Claude Code builds the graph from the

## How do I set up Graphify CLI in Claude Code?

Run `uv tool install --python 3.12 graphifyy`, then `graphify install --platform claude`, and enter `/graphify .` in Claude Code. Claude Code builds the graph in `graphify-out/` on your machine and can query it from then on.
Run `uv tool install graphifyy`, then `graphify install --platform claude`, and enter `/graphify .` in Claude Code. Claude Code builds the graph in `graphify-out/` on your machine and can query it from then on.

## 1. Install and register

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify install --platform claude
```

Expand Down
4 changes: 2 additions & 2 deletions open-source/agents/codex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ This page installs the open-source skill. Codex builds the graph from the projec

## How do I set up Graphify CLI in Codex?

Run `uv tool install --python 3.12 graphifyy` and `graphify install --platform codex`, then ask the Graphify skill in Codex to map the current repository. Codex builds the graph on your machine and can query it from then on.
Run `uv tool install graphifyy` and `graphify install --platform codex`, then ask the Graphify skill in Codex to map the current repository. Codex builds the graph on your machine and can query it from then on.

## 1. Install and register

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify install --platform codex
```

Expand Down
4 changes: 2 additions & 2 deletions open-source/agents/cursor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ This page installs the open-source skill. Cursor builds the graph from the proje

## How do I set up Graphify CLI in Cursor?

Run `uv tool install --python 3.12 graphifyy`, then `graphify install --platform cursor`, and enter `/graphify .` in Cursor. Cursor builds the graph in `graphify-out/` on your machine and can query it from then on.
Run `uv tool install graphifyy`, then `graphify install --platform cursor`, and enter `/graphify .` in Cursor. Cursor builds the graph in `graphify-out/` on your machine and can query it from then on.

## 1. Install and register

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify install --platform cursor
```

Expand Down
4 changes: 2 additions & 2 deletions open-source/agents/gemini-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ This page installs the open-source skill. Gemini CLI builds the graph from the p

## How do I set up Graphify CLI in Gemini CLI?

Run `uv tool install --python 3.12 graphifyy`, then `graphify install --platform gemini`, and enter `/graphify .` in Gemini CLI. Gemini CLI builds the graph in `graphify-out/` on your machine and can query it from then on.
Run `uv tool install graphifyy`, then `graphify install --platform gemini`, and enter `/graphify .` in Gemini CLI. Gemini CLI builds the graph in `graphify-out/` on your machine and can query it from then on.

## 1. Install and register

```bash
uv tool install --python 3.12 graphifyy
uv tool install graphifyy
graphify install --platform gemini
```

Expand Down
Loading
Loading