mlsanityData to 14 Oct 2026

What Context Does a Coding Agent Actually Need to Act?

arXiv 2607.09691 ↗First posted 19 Jun 2026cs.LG cs.AIcited by 3

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

Abstract (arXiv)

A modern coding agent can hold an entire repository in its context window. Most of its reading is wasted -- and the interesting question is not how much context an agent can use, but what it actually needs. We study that question at the moment it matters most: when the agent must edit code. Separating finding the work site from acting on it, we hold localization fixed with an oracle, vary only how the code is represented, and score context against real issue resolution on SWE-bench Verified. The answer is starkly minimal. The signal lives in the code being edited itself: natural-language summaries of it answer almost none of the behavioral questions that the source answers (4/45 vs. 27/45, held-out repositories, independent judge), and the gap belongs to the representation, not the summarizer -- a frontier model's summaries score exactly as poorly as a 3B model's. The surrounding context hardly matters either: across every multi-file instance in Verified, under a protocol frozen before any data, rendering a file's remainder as UML skeletons and signatures resolves no more issues than deleting that remainder outright (N=70, exact McNemar p=0.75). That was our registered hypothesis, and it failed. Compressed context, meanwhile, matches whole files at a third of the tokens: a resolved issue costs 19K context tokens, not 94K. The instrument also yielded a finding the field should keep: temperature-0 API inference flips ~9% of per-instance outcomes between byte-identical runs. That is a noise floor under every small effect reported on this benchmark, including ours. We release the instrument -- gold-validated environments, per-instance proof that every reference edit is expressible from every arm's context, deterministic patch construction, and pre-registered hypotheses whose nulls we publish.

Key facts. Cited by 3 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 11 of its 12 references that are in the map. First posted on arXiv 19 Jun 2026.

Builds on

11 of 12 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026CodeCompass: Navigating the Navigation Paradox in Agentic Code Intelligence23 Feb
  2. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents5 Feb
  3. 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan
  4. 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar

Other references · 7

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  3. 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 532
  4. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 91
  5. 2024Sufficient Context: A New Lens on Retrieval Augmented Generation Systemscited by 72
  6. 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
  7. 2026Compressing Code Context for LLM-based Issue Resolutioncited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositories
  2. 2026Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?
  3. 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding
  4. 2026Coding Agents Don't Know When to Act
  5. 2025Context Engineering for AI Agents in Open-Source Software
  6. 2026Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agents
  7. 2026When and How Context Rot Appears in Coding Agents: A White-Box Study of Agent Skills in Code Auditing
  8. 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requested