AI Coding Live News

CodeGraph: First Open-Taxonomy Code Knowledge Graph Spans 158M Nodes and 1B Edges Across 167M Files

Developed by researchers from Software Heritage and European research universities, CodeGraph introduces the first large-scale open-taxonomy knowledge graph for source code. Scaling across 167 million files in the Stack-Edu corpus, it extracts implicit engineering abstractions—algorithms, architectural paradigms, and design patterns—via a code-specialized LLM and a three-stage Wikidata entity-linking pipeline, materializing 158 million nodes and approximately 1 billion typed edges across 14 languages.

CodeGraph: First Open-Taxonomy Code Knowledge Graph Spans 158M Nodes and 1B Edges Across 167M Files

Key Takeaways

  • Beyond Syntactic AST Parsing: Moves past token and syntax tree representations by explicitly mapping source code implementations to high-level engineering paradigms, design patterns, and algorithmic taxonomy.
  • Massive 158M Node and 1B Edge Scale: Built across 167 million files in Stack-Edu across 14 languages, capturing 145 million file nodes, 63,000 extracted concept entities, and 19,800 grounded Wikidata identifiers.
  • Three-Stage Linking Pipeline: Combines deterministic SPARQL entity linking, a Deep Research Agent for residual long-tail disambiguation, and hierarchy rollup for parent closures, calibrated via human gold sets and LLM judges.
Read full story
Linked Models & Agents:

CodeGraph: local code knowledge graph via MCP for Claude Code, Codex, and peers

@RubanBhatia highlighted open-source CodeGraph (github.com/colbymchenry/codegraph, MIT): a local semantic code graph that auto-syncs on edits and plugs into Claude Code, Cursor, Codex, OpenCode, Gemini, Copilot, and more via MCP. It targets call paths, dependencies, and blast radius so agents spend fewer tokens on blind repo scans. The README advertises a Rust kernel and a self-contained install via @colbymchenry/codegraph; GitHub showed about 71.5k stars at fetch time.

Key Takeaways

  • Local code graph auto-syncs on edits; MCP for Claude Code, Cursor, Codex, and more.
  • Focuses on call paths, dependencies, and blast radius—not a whole-repo doc/image KG.
  • MIT; Rust kernel; npm @colbymchenry/codegraph; ~71.5k GitHub stars at fetch.
Read full story

repo-harness: open-source file-backed session harness so Claude Code / Codex resume from repo files, not chat memory

Dan Kornas (@DanKornas) open-sourced MIT repo-harness: a file-backed workflow harness for Claude Code and Codex that writes plans, contracts, checks, handoffs, and review evidence into the repo, with Plan→Contract→Review lifecycle, typed hook runtime, progressive context loading, and CodeGraph — so the next session continues from project files instead of chat memory.

Key Takeaways

  • Ship: MIT open-source repo-harness for Claude Code / Codex.
  • Mechanism: plans/contracts/checks/handoffs in-repo; Plan→Contract→Review.
  • Value: resume from project files instead of fragile chat memory.
Read full story