Git Context Controller: Manage the Context of LLM-based Agents like Git
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Large language model (LLM) agents have demonstrated strong capabilities in long-horizon tasks by interleaving reasoning with tool use. However, as these agents scale to complex workflows such as software engineering and open-ended research, context management becomes a fundamental bottleneck: interaction histories grow unbounded, become costly to maintain, and are difficult to reuse across sessions and agents. We introduce Git-Context-Controller (GCC), a structured context management framework inspired by software version control systems. GCC elevates agent context from a transient token stream to a persistent, navigable memory workspace with explicit operations -- textttCOMMIT, textttBRANCH, textttMERGE, and textttCONTEXT, that enable milestone-based checkpointing, isolated exploration of alternative reasoning paths, and hierarchical retrieval of historical context. By organizing agent memory as a versioned file system, GCC allows agents to manage long-term goals, recover and transfer reasoning across sessions, and coordinate multi-trajectory problem solving in a principled manner. Empirically, agents equipped with GCC achieve state-of-the-art performance on both SWE-Bench and BrowseComp benchmarks. On SWE-Bench Verified, GCC improves task resolution by over 13% relative to strong long-context baselines and outperforms 26 existing open and commercial systems, reaching over 80% success rate. The project will be open-sourced for the research community. https://github.com/ImprintLab/git-context-controller
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 9 of its 33 references that are in the map. First posted on arXiv 30 Jul 2025.
Builds on
9 of 33 references.
References · 9
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
- 2025Agentic Reasoning: A Streamlined Framework for Enhancing LLM Reasoning with Agentic Toolscited by 106
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 91
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 71
- 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
Built on by
Citing papers per year: 2026: 15.
15 papers.
Sort:
By area:
- 2026Graph-Native Cognitive Memory for AI Agents: Formal Belief Revision Semantics for Versioned Memory Architecturescited by 9
- 2026Evo-MedAgent: Beyond One-Shot Diagnosis with Agents That Remember, Reflect, and Improvecited by 6
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026Agentic Hardware Design as Repository-Level Code Evolutioncited by 6
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?cited by 4
- 2026Mi-Memory: A Lifecycle Memory Framework for Personal AIcited by 3
- 2026Bio-inspired Agentic Self-healing Framework for Resilient Distributed Computing Continuum Systemscited by 2
- 2026Evolving Idea Graphs with Learnable Edits-and-Commits for Multi-Agent Scientific Ideationcited by 2
- 2026Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agentscited by 1
- 2026ChronoMem: Version Control and Semantic Rollback for Large Language Model Agent Memorycited by 1
- 2026The Horizon Gap: Planning, Memory, Execution, Training, and Evaluation for Long-Horizon LLM Agentscited by 1
- 2026Position: Multi-Agent Systems Should Prioritize Concurrency Controlcited by 1
3 more
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026Measuring and Improving Behavioral Consistency in Large Language Models through Fact-Heuristic-Emotion State Enforcementcited by 0
- 2026DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agentscited by 0
- 2026DRSR: Learning Set-Level Deletion Risk for Efficient Long-Horizon Agents23 Sep 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026The Horizon Gap: Planning, Memory, Execution, Training, and Evaluation for Long-Horizon LLM Agents7 Aug 2026
- 2026ChronoMem: Version Control and Semantic Rollback for Large Language Model Agent Memory30 Jul 2026
- 2026Mi-Memory: A Lifecycle Memory Framework for Personal AI21 Jul 2026
- 2026Agentic Hardware Design as Repository-Level Code Evolution26 Jun 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026Position: Multi-Agent Systems Should Prioritize Concurrency Control6 Jun 2026
- 2026Measuring and Improving Behavioral Consistency in Large Language Models through Fact-Heuristic-Emotion State Enforcement5 Jun 2026
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?7 May 2026
- 2026Evolving Idea Graphs with Learnable Edits-and-Commits for Multi-Agent Scientific Ideation6 May 2026
- 2026Evo-MedAgent: Beyond One-Shot Diagnosis with Agents That Remember, Reflect, and Improve15 Apr 2026
3 more
- 2026Graph-Native Cognitive Memory for AI Agents: Formal Belief Revision Semantics for Versioned Memory Architectures18 Mar 2026
- 2026Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agents16 Mar 2026
- 2026Bio-inspired Agentic Self-healing Framework for Resilient Distributed Computing Continuum Systems1 Jan 2026
- 2026Graph-Native Cognitive Memory for AI Agents: Formal Belief Revision Semantics for Versioned Memory Architecturescited by 9
- 2026Evo-MedAgent: Beyond One-Shot Diagnosis with Agents That Remember, Reflect, and Improvecited by 6
- 2026Agentic Hardware Design as Repository-Level Code Evolutioncited by 6
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?cited by 4
- 2026Bio-inspired Agentic Self-healing Framework for Resilient Distributed Computing Continuum Systemscited by 2
- 2026Evolving Idea Graphs with Learnable Edits-and-Commits for Multi-Agent Scientific Ideationcited by 2
- 2026Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agentscited by 1
- 2026ChronoMem: Version Control and Semantic Rollback for Large Language Model Agent Memorycited by 1
- 2026Position: Multi-Agent Systems Should Prioritize Concurrency Controlcited by 1
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 1
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026ChronoMem: Version Control and Semantic Rollback for Large Language Model Agent Memory30 Jul 2026
- 2026Agentic Hardware Design as Repository-Level Code Evolution26 Jun 2026
- 2026Position: Multi-Agent Systems Should Prioritize Concurrency Control6 Jun 2026
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?7 May 2026
- 2026Evolving Idea Graphs with Learnable Edits-and-Commits for Multi-Agent Scientific Ideation6 May 2026
- 2026Evo-MedAgent: Beyond One-Shot Diagnosis with Agents That Remember, Reflect, and Improve15 Apr 2026
- 2026Graph-Native Cognitive Memory for AI Agents: Formal Belief Revision Semantics for Versioned Memory Architectures18 Mar 2026
- 2026Lore: Repurposing Git Commit Messages as a Structured Knowledge Protocol for AI Coding Agents16 Mar 2026
- 2026Bio-inspired Agentic Self-healing Framework for Resilient Distributed Computing Continuum Systems1 Jan 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026Mi-Memory: A Lifecycle Memory Framework for Personal AIcited by 3
- 2026Measuring and Improving Behavioral Consistency in Large Language Models through Fact-Heuristic-Emotion State Enforcementcited by 0
- 2026Mi-Memory: A Lifecycle Memory Framework for Personal AI21 Jul 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
- 2026Measuring and Improving Behavioral Consistency in Large Language Models through Fact-Heuristic-Emotion State Enforcement5 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Git-Assistant: Planning-Based Support for Updating Git Repositories
- 2026GitOfThoughts: Version-Controlled Reasoning and Agent Memory You Can Replay, Diff, and Merge
- 2026Why Git Is the Memory Solution for the Agentic Development Lifecycle
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agents
- 2026Context as an Environment: Programmatic Context Management for Long-Horizon Agents
- 2025AgentGit: A Version Control Framework for Reliable and Scalable LLM-Powered Multi-Agent Systems
- 2026Self-GC: Self-Governing Context for Long-Horizon LLM Agents
- 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents