NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CORVUS: Context Optimization and Reduction Via Underlying Synchronization for LLM Coding Agents

Mingwei Zheng, David OBrien, Siwei Cui, Pardis Pashakhanloo, RAJDEEP MUKHERJEE, Myeongsoo Kim, Sachit Kuhar

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Test-Time Reasoning Efficiency · Type: new method · Keywords: LLM coding agents, trajectory architecture, synchronization, codebase state, efficiency

Areas: LLM Reasoning › Agentic Reasoning › Efficient Agent Reasoning; Code & Coding Agents › Code Verification › Software engineering agents; AI Agents › Agent Systems and Interactions › Efficient Agent Inference

Summary

CORVUS introduces a synchronized trajectory architecture for LLM coding agents that reduces trajectory size and improves efficiency by decoupling file reads from observations.

Explained to a 5-year-old

A robot helper uses a notebook to remember what it does while coding. The notebook copies file contents each time, but if the file changes, the old copy is wrong. CORVUS makes a special notebook that always shows the newest file content, so it doesn't need many copies. This helps the robot work faster and use less memory. It also helps people write code more easily.

Explained to a 5-year-old, longer

Imagine a smart assistant that helps write computer code by thinking step by step. It keeps a record of everything it reads from files, like a diary of code snippets. When the code changes, the old diary entries become outdated and can cause mistakes. The assistant also reads the same file many times, making its diary very long. CORVUS is a new way to keep a diary that always shows the newest version of each file. Instead of copying the whole file each time, it just points to the current version. This makes the diary much shorter and easier to read. Because the diary is always up-to-date, the assistant can trust the information it sees. It also saves time and computer power by not re-reading old copies. The new diary helps the assistant solve coding problems faster and more accurately. People who write software can use this to make their tools work better. Overall, CORVUS makes coding helpers smarter and more efficient.

For a technical reader

Traditional LLM coding agents store every file read as a permanent snapshot in their trajectory, which quickly becomes stale as the codebase evolves. CORVUS introduces a synchronized registry that tracks relevant files and injects only their current contents at each reasoning step, decoupling reads from observations. This design eliminates redundant copies and outdated snapshots, resulting in significantly smaller trajectories and reduced token usage. Evaluations on SWE-POLYBENCH_VERIFIED and SWE-BENCH PRO show 9-50% fewer input tokens, 15-32% shorter final prompts, and up to 37% fewer reasoning cycles while preserving pass rates. The approach enables more efficient and scalable deployment of LLM coding assistants on dynamic codebases.

Problem

LLM coding agents use append-only trajectories that permanently store file-read snapshots, which become stale as files change, leading to reasoning errors and redundant re-reads. This results in bloated trajectories and inefficient multi-step decision-making.

Method

The approach maintains a synchronized registry of relevant files and injects their current contents at each reasoning cycle, decoupling file-read actions from observations. This structural change yields lighter-weight trajectories that stay up-to-date with the codebase, eliminating stale snapshots and redundant copies.

Results

The approach achieved a 9-50% reduction in average input tokens per task, 15-32% shorter final prompts, and up to 37% fewer reasoning cycles while keeping pass rates comparable across four LLMs on the benchmarks.

Contributions

A novel trajectory architecture that decouples file reads from observations via a synchronized file registry, producing lighter and up-to-date trajectories for LLM coding agents. Empirical evaluation shows substantial reductions in trajectory size and computational overhead without sacrificing performance.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction