Hacker News AI · 10/14/2026, 23:00:41
Graphicle Launches Rust-Based Code Graph and Memory Tool for Local Coding Agent Context
Graphicle releases a Rust-based open-source tool that builds repository code graphs and persists project docs, decisions, and past sessions to provide coding agents like Claude Code and Cursor with locally sourced, line-precise context. Operating without API keys or cloud accounts via MCP support, it addresses the lack of long-term memory and precise navigation in complex projects.
SOURCE COVERAGEFull Original Report
Contents5 sections
Code graph and memory for your coding agents, in one Rust program.
Graphicle maps your repository into a code graph, remembers your project's docs, decisions and past agent sessions, and gives your coding agent cited excerpts from both: the exact files and lines. It runs on your machine: no API key needed, no account, no telemetry . Works with Claude Code · Cursor · Codex · VS Code · Claude Desktop · any MCP client
Quick start · How it works · Benchmarks · Docs · Coming from Graphify? · Discussions
Quick start
brew install graphicle-ai/tap/graphicle
cd your-repo
graphicle setup<sub>No Homebrew? <code>curl -fsSL https://github.com/graphicle-ai/graphicle/releases/latest/download/install.sh | sh</code> · Release archives · Other ways to install<br> Windows: no native build yet; under WSL2 the Linux install should work (not yet tested). Native Windows support is planned.</sub>
graphicle setup indexes the repository, builds its code graph and connects the coding agents it finds. It also turns on session
capture, points Claude Code's searches to the code graph first, adds a short section to AGENTS.md and installs Git hooks that keep the project current. It lists every file it changes and
backs each one up first; graphicle disconnect undoes it all.
Then ask your agent to "use graphicle to find where failed requests are retried", or ask from the terminal:
$ graphicle ask "where is tax added to prices?"
Evidence for "where is tax added to prices?"
4 excerpts · 598 of 3,000 tokens
[1] shop/pricing.py:1-7 price_with_tax()
"""Prices and tax."""
TAX_RATE = 0.2
def price_with_tax(price):
"""A price with the sales tax added."""
return round(price * (1 + TAX_RATE), 2)<sub>Real output, cut after the first excerpt. With no model configured, <code>ask</code> shows the evidence; <code>graphicle config set model anthropic</code> (or <code>openai</code>, <code>ollama</code>) adds written answers.</sub>
<details> <summary><b>Let your coding agent install it</b></summary>Paste this into Claude Code, Codex or Cursor:
Install Graphicle with `brew install graphicle-ai/tap/graphicle` (or, without Homebrew,
`curl -fsSL https://github.com/graphicle-ai/graphicle/releases/latest/download/install.sh | sh`),
then run `graphicle setup --yes` in this repository and list every file it changed.Start here
| You want to | Run |
|---|---|
| Give your coding agent the code graph and your project's memory | graphicle setup in the repository |
| Ask a question from the terminal | graphicle ask "how are failed requests retried?" |
| Browse the graph, the sources and the memory | graphicle open |
| See what a change to a symbol touches | graphicle graph extract . --code-only, then graphicle graph affected "retry()" |
| Check that everything works | graphicle doctor |
| Undo everything setup did | graphicle disconnect |
| Move from Graphify, or run a server for a team | Moving from Graphify · Team server |
Why Graphicle
- Native and fast. One Rust program. On Kubernetes (31k files), the 0.1.0 engine ran a code-only extract in 3 min 18 s, against 26 min 38 s for Graphify 0.9.88, and built the same graph (one exploratory run each, one Linux host, the same 16 CPUs, 8 workers).
- Context, not re-reading. Your agent asks Graphicle and gets the relevant code, docs and decisions as cited excerpts, within a token budget.
- Answers you can check. Every excerpt names its file and lines. Memories an agent proposes wait for your approval.
- One program, not a stack. The code graph, the memory, one MCP server, the web app and the command line come in one install, with one SQLite file. No Python, Docker or database server.
- Local and private. No account and no telemetry. Nothing leaves your machine unless you ask.
What it does
- Code graph. Files, functions, classes, calls and imports, parsed with tree-sitter and no model.
graphicle graphsearches it, explains a symbol, traces a path and exports an interactive HTML graph. Aftergraphicle graph extract . --code-only,graphicle graph affected "retry()"lists what depends on a symbol. - Project memory. Docs (Markdown, PDF, Office, HTML), reviewed decisions and procedures, and past Claude Code and Codex sessions, searchable alongside the code.
- Cited context on a budget.
graphicle contextand the MCP tools return excerpts with their sources, within a token budget, without calling a model. - One MCP server.
graphicle mcpserves the code-graph tools, under Graphify's tool names such asquery_graph,get_neighborsandshortest_path, next to the memory tools. - Memory tied to your code. Reviewed memories are tied to the functions they are about: a memory goes stale when that code changes, and edits elsewhere in the file usually leave it current (the exact rule). Mentions of code in your docs are linked to the definitions they name (
graphicle call graph.doc_linkslists them). - Across repositories. Recall can span the repositories of a workspace:
graphicle context --workspace, or the workspace MCP endpoint. - Always current. Before each answer Graphicle syncs the few files you changed; Git hooks sync after each commit, merge and checkout.
- No re-explaining. Session capture keeps each finished turn, and each new session starts with your reviewed memories and the latest turns.
- An app.
graphicle openshows the graph, the sources and the memory in your browser. It is where you approve memories.
(注:更多技术实现细节与完整 API 文档请查阅原项目 README)