mlsanityData to 14 Oct 2026

Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistants

arXiv 2601.10112 ↗First posted 15 Jan 2026cs.SE cs.AIcited by 4

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Repository aware coding agents often struggle to recover build and test structure, especially in multilingual projects where cross language dependencies are encoded across heterogeneous build systems and tooling. We introduce the Repository Intelligence Graph (RIG), a deterministic, evidence backed architectural map that represents buildable components, aggregators, runners, tests, external packages, and package managers, connected by explicit dependency and coverage edges that trace back to concrete build and test definitions. We also present SPADE, a deterministic extractor that constructs RIG from build and test artifacts (currently with an automatic CMake plugin based on the CMake File API and CTest metadata), and exposes RIG as an LLM friendly JSON view that agents can treat as the authoritative description of repository structure. We evaluate three commercial agents (Claude Code, Cursor, Codex) on eight repositories spanning low to high build oriented complexity, including the real world MetaFFI project. Each agent answers thirty structured questions per repository with and without RIG in context, and we measure accuracy, wall clock completion time, and efficiency (seconds per correct answer). Across repositories and agents, providing RIG improves mean accuracy by 12.2% and reduces completion time by 53.9%, yielding a mean 57.8% reduction in seconds per correct answer. Gains are larger in multilingual repositories, which improve by 17.7% in accuracy and 69.5% in efficiency on average, compared to 6.6% and 46.1% in single language repositories. Qualitative analysis suggests that RIG shifts failures from structural misunderstandings toward reasoning mistakes over a correct structure, while rare regressions highlight that graph based reasoning quality remains a key factor.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 24 references that are in the map. First posted on arXiv 15 Jan 2026.

Builds on

13 of 24 references.

References · 13

  1. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  2. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 183
  3. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
  4. 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
  5. 2024CHIME: LLM-Assisted Hierarchical Organization of Scientific Studies for Literature Review Supportcited by 29
  6. 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
  7. 2022HiStruct+: Improving Extractive Text Summarization with Hierarchical Structure Informationcited by 26
  8. 2024On the Impacts of Contexts on Repository-Level Code Generationcited by 22
  9. 2024M2rc-Eval: Massively Multilingual Repository-level Code Completion Evaluationcited by 21
  10. 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
  11. 2025NexusSum: Hierarchical LLM Agents for Long-Form Narrative Summarizationcited by 10
  12. 2025Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMscited by 6
1 more
  1. 2024MetaFFI -- Multilingual Indirect Interoperability Systemcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
  2. 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation
  3. 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
  4. 2026Repo0: Design-Driven Zero-to-All Code Generation
  5. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  6. 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
  7. 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration
  8. 2026FastContext: Training Efficient Repository Explorer for Coding Agents