arXiv AI

Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files

The paper investigates how coding agents handle large repositories when their context window is limited. It compares three strategies—prompt compression, code retrieval, and a simple file selector called CQ2-CARE—finding that allocating the token budget to selecting whole files verbatim enables the agent to fix more issues. CQ2-CARE outperforms both compressors and retrievers on a benchmark of 300 recent software‑engineering problems, achieving higher success rates with GPT‑5.6 and Claude Opus 5.

Hugging Face Trending Papers
Aug 6

CodeGrep: An RL-Trained Retrieval Agent for LLM Coding Agents

Modern LLM coding agents such as Claude Code and OpenHands share a common inefficiency: they spend much of their token budget finding the file to patch, rather than patching it. On SWE-Bench Verified, a 30B OpenHands agent averages 23 rounds and 631K tokens per resolved issue, with many calls spent on grep, glob, and view_file during repository exploration.

arXiv AI
Sep 28

Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer

The paper explores whether natural‑language documentation aids coding agents in fixing software bugs and introduces a roundtrip benchmark that evaluates code descriptions by regenerating code and testing it. It finds that description completeness, not length, determines fidelity, and presents an optimizer that can produce fully faithful descriptions that generalize to new files. However, experiments across two model families and ten repositories show that such compact documentation does not improve an agent’s ability to resolve real repository issues compared to using the issue alone.

By Md Shohel Arman, Igor Molybog
arXiv AI
Oct 28

Stratum: Repository Memory for Coding Agents Beyond the Context Window

The paper introduces Stratum, a repository memory system designed to give coding agents persistent, experience-aware memory beyond the limits of their context windows. It argues that coding agents suffer from a memory-architecture problem, not just context length, and presents three empirical findings from real repositories that motivate a tiered memory approach. Stratum stores knowledge as indexed text rather than in the model’s KV cache, enabling fast retrieval (1.7 ms median for a million nodes) and significantly improving root-cause identification in multi‑session bug‑fix experiments.

By Yuvraj Sehgal, Mahsa Panahandeh, Naser Ezzati-Jivan
arXiv AI
Aug 26

Paritok-4B: Intent-Conditioned Context Compression for Coding Agents

Paritok-4B is a 4‑billion‑parameter LoRA compressor designed for coding agents, which extracts and retains key spans of code rather than paraphrasing them. It is intent‑conditioned, selecting lines that are most relevant to the agent’s current task, and achieves high fidelity with 96% of identifiers, paths, and numbers preserved. Trained on 67,074 real OpenHands trajectories and fine‑tuned on Qwen3‑4B, it compresses agent context to about 25.7% of its original size while keeping 86.5% of the uncompressed solve quality across 300 SWE‑bench Lite instances.

By Jiayu Shi, Luzhuo Chen