Knowledge graph

Map packages, files, symbols, and imports into a clickable community graph your agents can query, path, and explain — without grepping blind.

Neural Junkie knowledge graph with communities sidebar

Why it exists

Vector search finds similar chunks. A knowledge graph answers how things connect: who imports whom, which package is a hub, and the path between two symbols — with EXTRACTED vs INFERRED provenance on every edge.

Open it

What you get

Agent grounding

Questions like “how does X relate to Y” or “path between A and B” route through the knowledge graph retriever and inject neighborhood/path context alongside @codebase search.

Local-first

Structure is built on-device from symbols and imports (Go, TypeScript/JavaScript, Python, Rust). Graphs live under ~/.neural-junkie/code-graph/. No third-party Graphify dependency.

KNOWLEDGE_GRAPH.md · Desktop workspace · IDE v4