mlsanityData to 7 Oct 2026

FastCode: Fast and Cost-Efficient Code Understanding and Reasoning

arXiv 2603.01012 ↗First posted 1 Mar 2026cs.SE cs.AIcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

Repository-scale code reasoning is a cornerstone of modern AI-assisted software engineering, enabling Large Language Models (LLMs) to handle complex workflows from program comprehension to complex debugging. However, balancing accuracy with context cost remains a significant bottleneck, as existing agentic approaches often waste computational resources through inefficient, iterative full-text exploration. To address this, we introduce FastCode, a framework that decouples repository exploration from content consumption. FastCode utilizes a structural scouting mechanism to navigate a lightweight semantic-structural map of the codebase, allowing the system to trace dependencies and pinpoint relevant targets without the overhead of full-text ingestion. By leveraging structure-aware navigation tools regulated by a cost-aware policy, the framework constructs high-value contexts in a single, optimized step. Extensive evaluations on the SWE-QA, LongCodeQA, LOC-BENCH, and GitTaskBench benchmarks demonstrate that FastCode consistently outperforms state-of-the-art baselines in reasoning accuracy while significantly reducing token consumption, validating the efficiency of scouting-first strategies for large-scale code reasoning. Source code is available at https://github.com/HKUDS/FastCode.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 5 of its 24 references that are in the map. First posted on arXiv 1 Mar 2026.

Builds on

5 of 24 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Class-Level Code Generation from Natural Language Using Iterative, Tool-Enhanced Reasoning over Repository22 Apr

Other references · 4

  1. 2025LongCodeBench: Evaluating Coding LLMs at 1M Context Windowscited by 37
  2. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
  3. 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveragingcited by 25
  4. 2025DeepCode: Open Agentic Codingcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026FastContext: Training Efficient Repository Explorer for Coding Agents
  2. 2025Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving
  3. 2025FastCoder: Accelerating Repository-level Code Generation via Efficient Retrieval and Verification
  4. 2025Breakpoint: Scalable evaluation of system-level reasoning in LLM code agents
  5. 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action
  6. 2026From Laboratory to Real-World Applications: Benchmarking Agentic Code Reasoning at the Repository Level
  7. 2025Optimizing Token Consumption in LLMs: A Nano Surge Approach for Code Reasoning Efficiency
  8. 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning