AIToday

Draft launches a local, deterministic code graph engine that replaces cloud-based embeddings and vector search for AI code understanding.

Hacker NewsApr 27, 20262 min read
Draft launches a local, deterministic code graph engine that replaces cloud-based embeddings and vector search for AI code understanding.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. Draft ships a Node.js binary that builds a version-controlled knowledge graph of your codebase into plain JSONL files (module-graph.jsonl, call-index.jsonl, hotspots.jsonl, etc.), eliminating the need for external vector databases, embedding APIs, or hosted retrieval services.

  2. The graph answers deterministic queries by name and file path—e.g., "which functions call buildGoIndex?"—rather than probabilistic semantic search; it also enables impact queries ("what depends on this file?"), hotspot ranking (files by complexity), and cycle detection, all running locally for zero per-token cost.

  3. For regulated or air-gapped environments (finance, healthcare, defense), the entire workflow stays on-premises; the graph diffs in git PRs show structural relationship changes, and Draft's skills (/draft:implement, /draft:review, /draft:bughunt, /draft:debug, /draft:decompose) use graph queries to scope AI reasoning without transmitting code off-machine.

  4. Available as a Claude Code plugin at https://getdraft.dev; /draft:init builds the graph during setup.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →