Skip to main content
0
H

Hedwig Code Graph - "With hedwig-cg, your coding agent knows what to read."

s

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

API key required

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

hedwig-cg

"With hedwig-cg, your coding agent knows what to read."

Quick Start · 한국어 · 日本語 · 中文 · Deutsch

Why hedwig-cg?

raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki - Andrej Karpathy

hedwig-cg builds a queryable code graph and knowledge base from codebases with 10,000+ files and knowledge documents, powered by lightweight local LLM models. Two-Stage 5-signal hybrid search (vector + graph + keyword + community → RRF fusion → Cross-Encoder reranking) lets coding agents truly understand your entire project, not just search keywords. Install it, and Claude Code sees the full picture — no extra tokens, no extra commands, everything runs 100% locally.

Quick Start

bash
pip install hedwig-cg

cd your-project/
hedwig-cg claude install

Then tell Claude Code:

"Build a code graph for this project"

That's it. Claude Code will build the graph, and from then on, consult it before every search. The graph auto-rebuilds when your session ends.

AI Agent Integrations

hedwig-cg integrates with major AI coding agents in one command:

AgentInstallWhat it does
Claude Codehedwig-cg claude installSkill + CLAUDE.md + PreToolUse hook
Codex CLIhedwig-cg codex installAGENTS.md + PreToolUse hook
Gemini CLIhedwig-cg gemini installGEMINI.md + BeforeTool hook
Cursor IDEhedwig-cg cursor install.cursor/rules/ rule file
Windsurf IDEhedwig-cg windsurf install.windsurf/rules/ rule file
Clinehedwig-cg cline install.clinerules file
Aider CLIhedwig-cg aider installCONVENTIONS.md + .aider.conf.yml
MCP Serverclaude mcp add hedwig-cg -- hedwig-cg mcp5 tools over Model Context Protocol

...

Don't lose this

Three weeks from now, you'll want Hedwig Code Graph - "With hedwig-cg, your coding agent knows what to read." again. Will you remember where to find it?

Save it to your library and the next time you need Hedwig Code Graph - "With hedwig-cg, your coding agent knows what to read.", it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

This plugs directly into your AI and gives it new abilities it didn't have before. s. Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

2

Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.

What's New

Version 1.0.02 days ago

Initial release

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.