- Rating
- 3
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper addresses the context management bottleneck in large language model (LLM) agents during long-horizon tasks by proposing Git-Context-Controller (GCC). GCC elevates transient token streams into a persistent, navigable directory structure and equips agents with three operations—COMMIT, BRANCH, MERGE, and CONTEXT. GCC enables various LLM backbones to achieve state-of-the-art performance, notably reaching an 80.2% resolution rate on the SWE-Bench Verified benchmark and outperforming numerous existing open-source and commercial systems.
Strengths and weaknesses
Strengths
-
Intuitive and Well-Motivated Design: The conceptual framework of leveraging version control system operations to manage agent memory is highly intuitive and makes practical sense. It provides a natural topological structure for managing reasoning trajectories in long-horizon tasks.
-
Thorough Empirical Validation: The experimental evaluation is commendable and comprehensive. The authors conducted extensive tests across a wide variety of contemporary LLMs, providing robust evidence of the framework's effectiveness across different backbones.
Weakness
-
While the system is practically useful, the methodological contribution leans heavily towards software engineering. The core capability of GCC's context management still fundamentally relies on the base LLM's inherent context-processing abilities.
-
Furthermore, utilizing Git-like structures for LLM memory is not a strictly novel concept; several open-source repositories on GitHub have already explored similar paradigms. While this work would be a highly appreciated open-source repository, a NeurIPS publication requires deeper architectural innovations, theoretical reflections, or academic insights that extend beyond an engineering wrapper.
-
The proposed framework exhibits a strong dependency on the base LLM's native CLI and tool-use capabilities, and the system's performance may be sensitive to prompt engineering. The authors should consider incorporating methods like RL to intrinsically enhance the model's tool-use and memory-management capabilities
-
Although GCC effectively mitigates the unbounded growth of raw conversational history, it seemingly introduces a new bottleneck. For highly complex or extraordinarily long tasks, the global state files (main.md and metadata.yaml) will inevitably continue to grow, potentially becoming overwhelmingly noisy.
-
As a novel memory management paradigm, it is crucial to understand whether GCC introduces new, framework-specific failure modes. A detailed taxonomy of why the agent still fails in certain scenarios would significantly strengthen the paper's completeness and provide valuable insights for future research.
Questions
Please answer the question in Weakness.
Limitations
There is no limitation chapter in the article.
The contributions of this work are heavily engineering-focused. Thus, maintaining the open-source release effectively will be crucial.
Paper formatting concerns
There are almost no figures in the paper, and the author may consider adding some figures to enhance readability.
Final justification
After carefully reading the authors’ response, I still believe that if this were presented as a strong open-source project, I would greatly appreciate it; however, as an academic paper, it still has room for improvement.
-
Some of the authors’ statements seem overly absolute to me, such as: “Every agent framework depends on the base LLM, but this does not make the framework ineffective,” “No method can keep the required information fixed as project complexity grows without losing relevant details,” and “practical system design is already an established form of methodological contribution in LLM-agent research.” I still believe that, beyond its engineering contributions, GCC could further strengthen its academic contribution.
-
The authors did not address the comparison with open-source GitHub projects. To the best of my recollection, I have seen projects that use Git-like ideas to manage LLM memory. Even if the authors find through further investigation that no such project exists, or that those projects are clearly different from this paper, I would still encourage them to provide a comparison to further support their claims.
Finally, I sincerely thank the authors for their response, but after careful consideration, I would still maintain my score of 3.
Thank the reviewer for the constructive assessment. We appreciate the reviewer’s recognition of GCC’s value and address below the main concerns regarding its methodological contribution, novelty, and limitations.
Base-model dependence. Every agent framework depends on the base LLM, but this does not make the framework ineffective. The correct test is whether GCC improves the same model under controlled settings. In Table 1, GCC improves the strongest non-GCC baseline across all six LLMs, by 1.9–6.6 points on BrowseComp-Plus and 1.9–6.3 points on SWE-Bench Verified. The crossed ablation further improves performance from 67.2 to 80.2. These consistent gains across models and both coding and web research show that GCC contributes beyond the base model and is not merely software-engineering optimization.
Novelty and academic contribution. We believe practical system design is already an established form of methodological contribution in LLM-agent research: works like Chain-of-Thought, ReAct and SWE-agent opened major research directions without changing the underlying LLM architecture. GCC makes an analogous contribution by designing version-control mechanism as a complete and systematically evaluated agent-memory framework. We specify its memory architecture and operations, compare it against long-context and memory baselines, ablate each component, and analyze its performance, retrieval behavior, token usage, and cost across multiple models and tasks. This transforms an engineering intuition into a reproducible method and establishes when, why, and how it works.
CLI and RL. GCC is not tied to a specific CLI. COMMIT, BRANCH, MERGE, and CONTEXT can be exposed through any function-calling or tool interface. The consistent gains across six different LLMs also suggest that the result is not a prompt trick tied to one model. RL is an interesting and important direction, but it addresses a different question. GCC asks whether memory structure alone can improve off-the-shelf models without training. This training-free result is more portable and isolates the contribution of memory management. GCC also provides a clear action space that future work can optimize with RL.
Growth of main.md Larger projects naturally require more context. No method can keep the required information fixed as project complexity grows without losing relevant details. Both machines and humans naturally need more time and information to understand larger projects.The algorithmic question is therefore not how to eliminate growth, but how to compress prior information more efficiently. GCC performs this compression as main.md is dynamically rewritten rather than continuously appended. Older progress is absorbed into increasingly abstract goals and conclusions, while recent work retains more detail. Fine-grained history remains in commits and logs and is retrieved only when needed. Table 4 shows that GCC uses 9–27% fewer context tokens than even the lowest-token competing method on each of LoCoMo, LongMemEval, and LifeBench, about 38% fewer than the average of the five baselines, while achieving the best accuracy.
Failure analysis, prompts, and reproducibility. We agree that these details should be more complete. The revision will include representative failure cases and all prompts required for reproduction, and we will release the complete codebase and evaluation scripts. One representative failure occurs when a detail judged irrelevant during COMMIT becomes important only after new evidence emerges. Retaining every such detail in the active context would recreate the full-context problem, so the agent must recover it from the raw logs and may fail to locate it. One concrete example is presented below:
Example Case: GCC fails when a detail omitted during COMMIT becomes important only after new evidence appears.
The user reports:
The agent runs the failing test and receives:
At this stage, the agent focuses on the final
PermissionError. It reasons that Windows file deletion is more restrictive than Linux and treats the earlierResourceWarningas an unrelated warning. It investigates the cleanup function and then commits:The exact
ResourceWarningand the function that openedoutput.csvremain in the raw execution log but are omitted from the commit summary because the agent does not yet consider them important.Later, the agent obtains new evidence. The failure occurs only when
serialize_export()raises an exception before completing. This should change the diagnosis as the exception path may leave the file handle open, making the earlierResourceWarningdirectly relevant.However, the agent retrieves the commit summary and sees only the Windows-locking hypothesis. It searches the stored context for
WinError,unlink, andcleanup, but does not search forResourceWarningorunclosed filebecause those details are absent from the summary and therefore do not enter its current hypothesis. It consequently adds a retry loop aroundos.unlink():The patch does not solve the problem because the file handle remains open throughout all three retries. The correct fix would be to close the file in a
finallyblock insideserialize_export().GCC fails here through a specific sequence:
ResourceWarningas irrelevant and omits it.Keeping the complete test output in every commit would remove much of the benefit of compression, so the detail remains available only in the raw log. Recovery therefore depends on the agent recognizing what to search for; in this case, the information is stored but not found. A possible solution is to enable GCC to detect uncertainty in commit summaries and automatically preserve the supporting raw observations. We are developing this uncertainty-aware memory consolidation and retrieval mechanism and plan to release it in future work.