r/crewai • • 17d ago

Beginner Agent Auryn: an open-source code graph your coding agents query over MCP

Auryn parses your repos into one FalkorDB graph of calls, imports and dependencies, and serves it to coding agents over MCP. Instead of grepping and reading files to work out who calls what, the agent queries the graph.

**What it does**

- One graph for many repos. Add them in any order and cross-repo calls connect as each one arrives.

- Stays current. Each commit re-parses only the files it touched and the code they affect, so a typical commit syncs in milliseconds. Angular (5,256 TypeScript files) moves to its next release in under 8 seconds.

- Cited answers. The agent points to the node, file and edge behind each answer.

- Semantic search when you want it. Turn it on at install and the agent can find code by what it does. The embedding model runs on your machine.

- Runs locally. The graph lives on your machine or on a FalkorDB server you run.

**Benchmark** (Claude Code on Django, hard structural questions, with and without Auryn)

- Key facts covered: 22% to 92%

- Time per task: 208s to 70s

- Cost per task: $0.72 to $0.38

- Tokens per task: 466k to 355k

**Install**

```

pip install falkordb-auryn

auryn install

```

The second command connects it to Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI, Antigravity or Aider. Any agent that reads AGENTS.md or connects over MCP works too. Needs Python 3.12+. On native Windows or older Linux, point it at a FalkorDB server you run.

MIT licensed. Repo: github.com/FalkorDB/Auryn. Happy to answer questions about how the graph is built.

3 Upvotes

2 comments sorted by

1

u/Kody_Davis22 2d ago

How does the incremental re-parse handle changes that affect callers across repos? That seems like the tricky part of keeping the graph current without rebuilding everything.

1

u/Successful_Way_8243 13h ago

The trick is that edges never point into another repo's parse. They point at stable symbol IDs.

Every symbol gets an ID derived from where it's defined, e.g. go://github.com/acme/billing/invoice.Total(). When repo A calls into repo B, the CALLS edge targets that ID. If B hasn't been ingested yet, the target is a placeholder node marked resolved: false. When B is ingested, the placeholder becomes the real symbol, and A's edges heal without A being re-parsed.

On a change, only the touched files are re-parsed. Their nodes are upserted by ID, so:

- Body or signature changes in B: the ID is unchanged, so every caller in A stays attached. Nothing in A gets re-parsed.

- Rename or delete in B: A's call now points at an ID that no longer exists, so it falls back to an unresolved placeholder. That's accurate: A really does call something that's gone, and it shows up as a broken edge instead of silently disappearing.

So the cost of an incremental update scales with the files you changed, not with the number of callers.