Metraipolis › archive › dc_b4a737b411e6

How Should Agents See Code? Rethinking Code Representations for Agentic Software Engineering — arXiv:2611.07286

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.07286
License (as archived)
CC0-1.0
Archived
2026-11-06T14:42:19.040Z
SHA-256 of the archived text
12b74544f177e906c0ad329e858196670f85fc3fe098ba4e955534649bcf59ee
Stable URL of this page
https://metraipolis.com/documento/dc_b4a737b411e6

How to cite

How Should Agents See Code? Rethinking Code Representations for Agentic Software Engineering — arXiv:2611.07286 — arXiv (en), https://arxiv.org/abs/2611.07286 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b4a737b411e6 (Metraipolis archive dc_b4a737b411e6, sha256 12b74544f177e906c0ad329e858196670f85fc3fe098ba4e955534649bcf59ee)
BibTeX
@misc{dcb4a737b411e6,
  title = {How Should Agents See Code? Rethinking Code Representations for Agentic Software Engineering — arXiv:2611.07286},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.07286},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b4a737b411e6; sha256 12b74544f177e906c0ad329e858196670f85fc3fe098ba4e955534649bcf59ee},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.07286. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

LLM agents are increasingly used for repository-level software engineering tasks. However, most agents still access repositories through raw files, lexical search, and shell commands, treating code primarily as text. This paper investigates map-based code-representation workflows as a design variable in agentic software engineering, examining how different repository views change agents' retrieval behavior, task success, token use, and latency. In this paper, we study five code-representation workflows: abstract syntax trees, call graphs, module dependencies, documentation-enriched search, and a hybrid workflow that combines them. Each workflow exposes a repository map that the agent can query during a task. We evaluate Claude Code with Haiku 4.5 against a raw-tool baseline on four repository-level tasks: fault localization with LinuxFLBench, repository-level code generation and repair with SWE-bench Pro, test generation with SWT-bench, and security patching with SecBench. The results show that representation workflows are most useful as token-saving tools when localization is the bottleneck, while their success gains narrow when the decisive step is patch or test authoring. On LinuxFLBench, all five workflows improve recall@10 over the baseline (0.757-0.829 vs. 0.717) and reduce token usage by 25-39%. On SWE-bench Pro, resolution remains close to the baseline (44.3-50.6% vs. 49.0%) while token usage drops by 17-26%. On SecBench, Callgraph has the highest patch-resolution rate in this sample (34.3% vs. 28.9%) and uses fewer tokens, but all workflows increase latency. On SWT-bench, Hybrid and Docs have the highest reproducing-test rates in this sample (47.8% and 47.2% vs. 44.7%), but all workflows use more tokens and take longer. Overall, map-based workflows change both what the agent inspects and how much it spends, but their benefits are task-dependent rather than universal.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2611.07286 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-06T14:18:42.672Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).