Context as a Tool: Context Management for Long-Horizon SWE-Agents
Open accessAbstract
Agents based on large language models have recently shown strong potential on real-world software engineering (SWE) tasks that require long-horizon interaction with repository-scale codebases. However, most existing agents rely on append-only context maintenance or passively triggered compression heuristics, which often lead to context explosion, semantic drift, and degraded reasoning in long-running interactions. We propose CAT, a new context management paradigm that elevates context maintenance to a callable tool integrated into the decision-making process of agents. CAT formalizes a structured context workspace consisting of stable task semantics, condensed long-term memory, and high-fidelity short-term interactions, and enables agents to proactively compress historical trajectories into actionable summaries at appropriate milestones. To support context management for SWE-agents, we propose a trajectory-level supervision framework, CAT-GENERATOR, based on an offline data construction pipeline that injects context-management actions into complete interaction trajectories. Using this framework, we train a context-aware model, SWE-Compressor. Experiments on SWE-Bench-Verified demonstrate that SWE-Compressor reaches a 57.6% solved rate and significantly outperforms ReAct-based agents and static compression baselines, while maintaining stable and scalable long-horizon reasoning under a bounded context budget.
AI snapshot
Written from the paper’s full text.
TL;DR
CAT proposes treating context management as a callable tool for long-horizon SWE agents, using a structured workspace and proactive compression. With CAT-GENERATOR trajectory supervision, SWE-Compressor reaches a 57.6% solved rate on SWE-Bench Verified.
Key findings
- SWE-Compressor achieves 57.6% solved rate on SWE-Bench Verified (N=500), outperforming the ReAct Agent (49.8%) and Threshold-Compression Agent (53.8%) under the same 32B/OpenHands setting.
- In Table 3, CAT at 500 max steps reaches 57.8% pass with 2.75M tokens, versus ReAct at 48.8% with 2.54M tokens and Threshold-Compression at 53.8% with 5.18M tokens; at 150 steps CAT uses the fewest tokens (1.89M) and reaches 54.8% pass.
- CAT maintains compact context: average token count stabilizes after approximately 100 rounds and remains below 32k tokens, with more than 40% of tasks still interactive after 100 rounds; Figure 5 reports CAT context usage stable at approximately 35k tokens while ReAct rapidly exhausts the context window.
- CAT-Instruct statistics include average trajectory length 87.4 steps (median 77.5, max 500), average 4.22 context-management actions per trajectory, and compression from average 15,585 tokens before to 4,676 tokens after (30% ratio).
Methods
- CAT formalizes a structured context workspace C(t) = (Q, M(t), I(k)(t)): fixed system prompt and key user intent, condensed long-term memory, and the most recent k ReAct interaction steps; context management is modeled as a callable tool at the same decision level as environment-interaction tools.
- CAT-GENERATOR is a two-stage offline pipeline: first generate complete base ReAct trajectories without context compression, then inject context-management tool invocations at candidate positions, generate structured long-term memory summaries, stitch trajectories with minimal intrusion, and apply rejection sampling; this yields 20k CAT-Instruct SFT instances.
- The model SWE-Compressor is trained from Qwen2.5-Coder-32B on CAT-Instruct for up to three epochs using AdamW with weight decay 0.01, cosine learning rate schedule, warm-up ratio 0.1, peak learning rate 5 × 10^-5, and context length 65,536 tokens; evaluation uses OpenHands on SWE-Bench Verified (500 instances), temperature 0.0, up to 500 interaction rounds, reporting Pass@1.
Limitations
- The paper does not state a limitations section.
- Evident from the text: evaluation is limited to SWE-Bench Verified (500 instances) and a single base model, Qwen2.5-Coder-32B; no cross-model or cross-benchmark validation is reported.
- Evident from the text: training data are drawn from SWE-smith and SWE-ReBench, and the main comparison uses 20k CAT-Instruct versus 20k BASE-INSTRUCT; broader generalization to other repositories or agent scaffolds is not tested.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
4 of 12 cited sources checked · 0 supported · 0 flagged · accuracy not yet measured
- Premisecitation§ 5 Related Work · p. 8
Most prior context management approaches rely on static compression or fixed memory policies.
“However, most rely on static compression or fixed memory policies”
Quote in the paperSubstantial claim1 of 3 sources checked- cites Li, 2023
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Jiang et al., 2023
The Introduction describes Selective-Context as an earlier prompt-compression method, while the Methodology describes LLMLingua’s dynamic allocation of compression ratios. Neither passage says that most prior context-management approaches use static compression or fixed memory policies; searches for those characterizations found no supporting passage in our copy. Page numbers were not available. (LLM, conf=0.70)
Experimental — accuracy not yet measured - cites Pan et al., 2024b
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Premisereasoning§ 1 Introduction · p. 1
Prior context compression, summarization, or multi-level memory approaches treat context management as a passively triggered heuristic mechanism, lacking flexibility to adapt compression timing and content across task phases.
“Nevertheless, previous approaches treat context management as a passively triggered heuristic mechanism, so they lack the flexibility to adapt compression timing and content across different task phases, limiting their adaptability and scalability in complex environments.”
Quote in the paperSubstantial claim2 of 3 sources checked- cites Jiang et al., 2023
The Introduction and Methodology sections describe limitations of earlier prompt-compression methods and propose dynamically allocating compression ratios across prompt components. They do not characterize prior context-management approaches as passively triggered, or assess whether those approaches can adapt compression timing across task phases in complex environments. No page numbers are available in our copy. (LLM, conf=0.78)
Experimental — accuracy not yet measured - cites Shinn et al., 2023 source
The Self-reflection section describes Reflexion’s short- and long-term memory, and §5 Limitations says its long-term memory uses a capacity-limited sliding window. Neither passage assesses prior compression, summarization, or multi-level memory approaches as passive heuristics, or discusses their ability to adapt compression timing and content across task phases. Searches for those terms found no passage addressing that comparison; page numbers were unavailable in our copy. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites Wang et al., 2025b
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingreasoning§ 4 Further Analysis · p. 7
The performance gains are substantially larger on the medium and hard subsets than on the easy subset.
“The performance gains are substantially larger on the medium and hard subsets than on the easy subset.”
Quote in the paperSubstantial claim - Findingown data§ 1 Introduction · p. 2
The proposed CAT/SWE-Compressor substantially outperforms ReAct without context management and static compression baselines on SWE-Bench under the same model scale and interaction budget.
“Experimental results on SWE-Bench show that CAT substantially outperforms ReAct without context management and baselines with static compression strategies under the same model scale and interaction budget, demonstrating the strong context scalability in long-horizon interaction settings.”
- Also stated in: § Abstract · p. 1 · plain
“Experiments on SWE-BenchVerified demonstrate that SWE-Compressor reaches a 57.6% solved rate and significantly outperforms ReAct-based agents and static compression baselines, while maintaining stable and scalable long-horizon reasoning under a bounded context budget.”
Quote in the paperSubstantial claim - Also stated in: § Abstract · p. 1 · plain
- Findingown data§ 4 Further Analysis · p. 7
In the experiments, more than 40% of tasks remain interactive after 100 rounds.
“Moreover, the trajectory survival curve indicates that, in our experiments, more than 40% of tasks remain interactive after 100 rounds.”
Quote in the paperSubstantial claim
- Findingown data§ 4 Further Analysis · p. 8
When a larger number of interactions is allowed (500 steps), CAT achieves the highest pass rate among all methods.
“When a larger number of interactions is allowed (500 steps), CAT achieves the highest pass rate among all methods”
Quote in the paperSubstantial claim - Findingnone given§ 3 Experiments · p. 5
CAT-Instruct effectively enhances the model's context-management capability.
“This process yields a curated set of 20k supervised fine-tuning instances, referred to as CAT-Instruct, which effectively enhance the model's context-management capability.”
Quote in the paperNot a substantial claim - Findingown data§ Abstract · p. 1
SWE-Compressor reaches a 57.6% solved rate on SWE-Bench Verified.
“Experiments on SWE-BenchVerified demonstrate that SWE-Compressor reaches a 57.6% solved rate and significantly outperforms ReAct-based agents and static compression baselines, while maintaining stable and scalable long-horizon reasoning under a bounded context budget.”
Quote in the paperSubstantial claim - Findingown data§ 4 Further Analysis · p. 7
CAT maintains a highly compact context.
“In Figure 4, CAT maintains a highly compact context.”
Quote in the paperSubstantial claim - Findingown data§ 4 Further Analysis · p. 7
Across all comparable interaction budgets, the model equipped with CAT consistently outperforms the SFT-based ReAct baseline.
“Across all comparable interaction budgets, the model equipped with CAT consistently outperforms the SFT-based ReAct baseline”
Quote in the paperSubstantial claim - Findingown data§ 4 Further Analysis · p. 7
CAT continues to improve steadily with increasing interaction budgets, maintaining a clear upward trend even at 500 rounds.
“In contrast, CAT continues to improve steadily with increasing interaction budgets, maintaining a clear upward trend even at 500 rounds”
Quote in the paperSubstantial claim - Findingown data§ 4 Further Analysis · p. 7
CAT delivers stable and consistent performance improvements across easy, medium, and hard instances.
“showing that CAT delivers stable and consistent performance improvements across easy, medium, and hard instances.”
Quote in the paperSubstantial claim - Interpretationown data§ 3 Experiments · p. 6
CAT and CAT-GENERATOR are particularly effective for long-horizon interactive software engineering tasks such as those in SWE-Bench.
“These results indicate that CAT and CAT-GENERATOR are particularly effective for long-horizon interactive software engineering tasks such as those in SWE-Bench.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 7
ReAct's performance saturation and degradation are primarily due to its append-only context strategy: once the context window is filled, additional interactions fail to introduce effective information and instead hinder further reasoning.
“primarily due to its append-only context strategy: once the context window is filled, additional interactions fail to introduce effective information and instead hinder further reasoning.”
Quote in the paperSubstantial claim - Premisecitation§ 1 Introduction · p. 1
Most existing code agents based on ReAct adopt an append-only context maintenance strategy, where all past interactions are continuously concatenated into the messages.
“Most existing code agents based on paradigms such as ReAct (Yao et al., 2022) adopt an appendonly context maintenance strategy, where all past interactions are continuously concatenated into the messages.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Yao et al., 2022
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning§ 2.4 Supervised Trajectory Construction · p. 5
Trajectory-level supervision enables the model to learn cross-step strategic judgments, such as how different invocation timings affect downstream efficiency and stability.
“Moreover, it enables the model to learn cross-step strategic judgments, such as how different invocation timings affect downstream efficiency and stability, thereby better reflecting the decision structure of real long-horizon tasks.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 7
CAT is effective in preventing context explosion.
“indicating the effectiveness of CAT in preventing context explosion.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 8
The favorable performance-efficiency trade-off is primarily attributed to the proposed context management mechanism, which prioritizes salient information while compressing redundant history, enabling efficient reasoning within a constrained context budget.
“This favorable performance-efficiency trade-off is primarily attributed to the proposed context management mechanism, which prioritizes salient information while compressing redundant history, enabling efficient reasoning within a constrained context budget.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 8
CAT-GENERATOR is important.
“confirming the importance of CAT-GENERATOR.”
Quote in the paperSubstantial claim - Interpretationreasoning§ 1 Introduction · p. 1
Append-only context maintenance in long-horizon scenarios often leads to rapid context expansion, information redundancy, semantic drift, and reasoning collapse.
“While this method may suffice for shorthorizon tasks, it often leads to rapid context expansion in long-horizon scenarios, resulting in information redundancy, semantic drift, and even reasoning collapse.”
Quote in the paperNot a substantial claim - Interpretationreasoning§ 1 Introduction · p. 1
CAT treats context management as a callable and plannable tool, on par with environment-interaction tools, integrating context maintenance into the action process as an active and learnable component.
“Motivated by this perspective, CAT treats context management as a callable and plannable tool, on par with environment-interaction tools such as code editing and command execution, which integrates context maintenance into the action process as an active and learnable component.”
- Also stated in: § Abstract · p. 1 · plain
“We propose CAT, a new context management paradigm that elevates context maintenance to a callable tool integrated into the decision-making process of agents.”
Quote in the paperSubstantial claim - Also stated in: § Abstract · p. 1 · plain
- Interpretationreasoning§ 2.4 Supervised Trajectory Construction · p. 5
Using CAT-Instruct for supervised fine-tuning yields SWE-Compressor, which internalizes context management as a learned model capability.
“Using CAT-Instruct for supervised fine-tuning, we obtain SWE-Compressor, which internalizes context management as a learned model capability.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 7
CAT indicates more efficient utilization of historical information under the same reasoning budget.
“indicating more efficient utilization of historical information under the same reasoning budget.”
Quote in the paperSubstantial claim - Study design and conductnone given§ 4 Further Analysis · p. 8
The comparison between CAT and its Base SFT variant isolates the effect of CAT-GENERATOR.
“The comparison between CAT and its Base SFT variant isolates the effect of CAT-GENERATOR.”
Quote in the paperSubstantial claim - Interpretationreasoning§ 2.2 Context Management as a First-Class Tool · p. 3
Context management in CAT is transformed from a post hoc procedure into a self-regulating reasoning step, becoming an integral part of the agent's strategy rather than an external constraint.
“Through this design, context management is transformed from a post hoc procedure into a self-regulating reasoning step, becoming an integral part of the agent's strategy rather than an external constraint.”
Quote in the paperSubstantial claim - Interpretationown data§ 6 Conclusion · p. 8
Modeling context evolution as an active and learnable component of agent behavior is important.
“underscoring the importance of modeling context evolution as an active and learnable component of agent behavior.”
Quote in the paperNot a substantial claim - Interpretationown data§ 4 Further Analysis · p. 8
CAT has stronger long-horizon reasoning capability.
“indicating stronger long-horizon reasoning capability.”
Quote in the paperSubstantial claim - Interpretationown data§ 4 Further Analysis · p. 7
When tasks require more complex reasoning processes and longer-horizon context maintenance, the training signal introduced by CAT-Instruct becomes more effective.
“This observation suggests that when tasks require more complex reasoning processes and longer-horizon context maintenance, the training signal introduced by CAT-Instruct becomes more effective.”
Quote in the paperSubstantial claim - Interpretationnone given§ 1 Introduction · p. 2
CAT enables the agent to proactively trigger context folding at stage boundaries, compressing redundant histories into high-fidelity and actionable long-term memory representations.
“It further enables the agent to proactively trigger context folding at stage boundaries, compressing redundant histories into high-fidelity and actionable long-term memory representations.”
Quote in the paperSubstantial claim - Interpretationnone given§ 1 Introduction · p. 2
CAT-GENERATOR injects context-management behaviors into complete interaction trajectories via offline reconstruction.
“Building on this design, we introduce a trajectory-level supervision framework, CAT-GENERATOR, which injects contextmanagement behaviors into complete interaction trajectories via offline reconstruction.”
Quote in the paperSubstantial claim - Interpretationown data§ 6 Conclusion · p. 8
CAT enables proactive and structured condensation of interaction history, overcoming the limitations of append-only contexts and passive compression.
“By integrating context management into the decision process of agent, CAT enables proactive and structured condensation of interaction history, overcoming the limitations of append-only contexts and passive compression.”
Quote in the paperSubstantial claim
- May combine two claims. 21
- Classified as probably not a substantial claim. 10
May combine two claims.
Premisecitation§ A Related Work · p. 12Existing approaches rely on static compression, heuristic retrieval, or fixed memory, limiting adaptability and long-term coherence.
“Yet, these approaches rely on static compression, heuristic retrieval, or fixed memory, limiting adaptability and long-term coherence.”
Quote in the paperSubstantial claim1 of 3 sources checked- cites Li, 2023
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Jiang et al., 2023
The Introduction describes a prior prompt-compression method that drops less informative content and overlooks dependencies between retained tokens; Section 5.3 reports that it can lose critical reasoning information. That supports a limitation of prior compression, but the paper does not characterize existing approaches as relying on heuristic retrieval or fixed memory, or establish that they limit long-term coherence. Pages are not identified in our copy. (LLM, conf=0.84)
Experimental — accuracy not yet measured - cites Pan et al., 2024b
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Findingreasoning§ 4 Further Analysis · p. 8Under a smaller interaction budget (150 steps), CAT both maintains competitive performance and uses the fewest tokens across all methods.
“Under a smaller interaction budget (150 steps), CAT both maintains competitive performance and uses the fewest tokens across all methods.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 3 Experiments · p. 6Under the same fine-tuning data budget, SWE-Compressor significantly outperforms both the ReAct Agent and the Threshold-Compression Agent baselines.
“Under the same fine-tuning data budget, SWE-Compressor significantly outperforms both the ReAct Agent and the Threshold-Compression Agent baselines.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 3 Experiments · p. 6SWE-Compressor's performance is comparable to substantially larger models, and in some settings surpasses them, under the same agent framework.
“Moreover, its performance is comparable to that of substantially larger models, and in some settings even surpasses them, under the same agent framework.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4 Further Analysis · p. 7In Figure 5, the context token usage of CAT remains stable at approximately 35k tokens, whereas the ReAct baseline rapidly exhausts the available context window.
“In Figure 5, the context token usage of CAT remains stable at approximately 35k tokens, whereas the ReAct baseline rapidly exhausts the available context window.”
Quote in the paperSubstantial claimMay combine two claims.
Findingreasoning§ 4 Further Analysis · p. 7As the interaction budget increases, ReAct performance saturates after around 60 rounds and subsequently degrades.
“As the interaction budget increases, ReAct performance saturates after around 60 rounds and subsequently degrades”
Quote in the paperSubstantial claimMay combine two claims.
Findingreasoning§ 4 Further Analysis · p. 8SWE-Compressor consistently outperforms the Base SFT model, especially under larger interaction budgets.
“Results show that SWE-Compressor consistently outperforms Base SFT model, especially under larger interaction budgets”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4 Further Analysis · p. 7The average context token count for CAT stabilizes after approximately 100 interaction rounds and remains below 32k tokens, without continuous growth over time.
“As the interaction progresses, the average token count quickly stabilizes after approximately 100 rounds and remains below 32k tokens, without exhibiting continuous growth over time”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 6 Conclusion · p. 8CAT consistently outperforms ReAct agents and static compression baselines, while maintaining stable context usage and scalability under extended interaction budgets.
“Experiments on SWE-Bench demonstrate that CAT consistently outperforms ReAct agents and static compression baselines, while maintaining stable context usage and scalability under extended interaction budgets”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 3 Experiments · p. 6SWE-Compressor achieves a 57.6% solved rate on SWE-Bench-Verified, reaching state-of-the-art performance under the setting of agent post-training on a 32B model.
“On the challenging SWE-Bench-Verified benchmark, SWE-Compressor achieves a 57.6% solved rate, reaching state-of-the-art performance under the setting of agent post-training on a 32B model.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 4 Further Analysis · p. 7CAT-GENERATOR and CAT have advantages in addressing difficult tasks.
“These findings further highlight the advantages of CAT-GENERATOR and CAT in addressing difficult tasks.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 2.1 Structured Context Workspace · p. 3CAT's structured context workspace mitigates both semantic drift and uncontrolled context expansion.
“In this way, stable goals, condensed knowledge, and finegrained working memory are coordinated within a unified framework, mitigating both semantic drift and uncontrolled context expansion.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.
Study design and conductnone given§ 2.4 Supervised Trajectory Construction · p. 5The summarizer uses the same backbone as the reasoning model, keeping summarization aligned with the agent's internal reasoning style.
“The summarizer uses the same backbone as the reasoning model (SWE-Compressor), keeping summarization aligned with the agent's internal reasoning style.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown data§ 4 Further Analysis · p. 7CAT can continuously integrate salient information within a bounded context budget while compressing redundant history.
“suggesting that CAT can continuously integrate salient information within a bounded context budget while compressing redundant history.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationreasoning§ 2.3 Structured Memory Generation · p. 3After summarization, the agent reconstructs its working context by combining fixed task semantics, condensed long-term memory, and the most recent high-fidelity interaction steps, enabling stable and consistent reasoning under a bounded context budget.
“After summarization, the agent reconstructs its working context by combining the fixed task semantics, the condensed long-term memory, and the most recent high-fidelity interaction steps, enabling stable and consistent reasoning under a bounded context budget.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown data§ 4 Further Analysis · p. 7CAT equips the model with stable and extensible long-horizon interaction capabilities, highlighting its strong potential for addressing highly complex and long-running software engineering tasks.
“This observation further suggests that CAT equips the model with stable and extensible long-horizon interaction capabilities, highlighting its strong potential for addressing highly complex and long-running software engineering tasks.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Premisecitation§ 3 Experiments · p. 5SWE-Bench Verified consists of 500 instances manually curated to provide clearer problem descriptions and more reliable evaluation criteria.
“The Verified split is a high-quality subset of SWE-Bench consisting of 500 instances, which are manually curated to provide clearer problem descriptions and more reliable evaluation criteria.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Hou et al., 2024 source
Probably not a substantial claim: may not pass S4 (based). May combine two claims.
Interpretationreasoning§ A Related Work · p. 12Tool Condensor enables dynamic, execution-driven context management, flexibly removing redundancy while preserving critical information-essential for complex long-horizon tasks.
“In contrast, Tool Condensor enables dynamic, execution-driven context management, flexibly removing redundancy while preserving critical information-essential for complex long-horizon tasks.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Study design and conductnone given§ 3 Experiments · p. 6For all baselines, the same base model as SWE-Compressor and the same summarizer backbone for any compression operation are used.
“For all baselines, we use the same base model as SWE-Compressor and use the same summarizer backbone for any compression operation.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 1 Introduction · p. 2SWE-Compressor learns when to compress context, how to generate effective summaries, and how to reuse compressed representations during subsequent reasoning.
“Using CATGENERATOR, we train a context-aware model, SWE-Compressor, allowing it to learn when to compress context, how to generate effective summaries, and how to reuse compressed representations during subsequent reasoning.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 2.2 Context Management as a First-Class Tool · p. 3The agent tends to proactively trigger context management when a subtask has been completed and requires a stage-wise summary, when the trajectory has grown sufficiently large, or when subsequent reasoning benefits more from a concise, structured summary.
“In practice, the agent tends to proactively trigger context management when a subtask has been completed and requires a stage-wise summary, when the trajectory has grown sufficiently large that historical compression is necessary to maintain operational efficiency, or when subsequent reasoning benefits more from a concise, structured summary than from verbose raw logs.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown data§ Abstract · p. 1SWE-Compressor maintains stable and scalable long-horizon reasoning under a bounded context budget.
“while maintaining stable and scalable long-horizon reasoning under a bounded context budget.”
- Also stated in: § 1 Introduction · p. 2 · boosted
“demonstrating the strong context scalability in long-horizon interaction settings.”
Quote in the paperSubstantial claim- Also stated in: § 1 Introduction · p. 2 · boosted
Classified as probably not a substantial claim.
Interpretationnone given§ 1 Introduction · p. 2CAT organizes context into a structured workspace consisting of stable task-semantic anchors, an evolvable long-term memory, and a short-term working memory.
“In Figure 1, CAT organizes the context into a structured workspace consisting of stable tasksemantic anchors, an evolvable long-term memory, and a short-term working memory.”
- Also stated in: § 2.1 Structured Context Workspace · p. 2 · plain
“CAT models context as a controllable and dynamically updated cognitive workspace composed of three functional segments, as illustrated in Figure 2.”
Quote in the paperSubstantial claim- Also stated in: § 2.1 Structured Context Workspace · p. 2 · plain
Probably not a substantial claim: may not pass S3 (load-bearing).
Premisecitation§ 3 Experiments · p. 5SWE-Bench is a benchmark designed to assess LLMs on real-world software engineering tasks collected from 12 real-world GitHub repositories.
“SWE-Bench is a benchmark designed to assess the ability of LLMs to solve real-world software engineering tasks collected from 12 real-world GitHub repositories.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Hou et al., 2024 source
Classified as probably not a substantial claim.
Interpretationreasoning§ 2.4 Supervised Trajectory Construction · p. 5The advantage of trajectory-level supervision lies in preserving the temporal continuity of context evolution, allowing the model to observe the immediate summary and learn how that summary influences reasoning and decision-making across subsequent steps.
“The advantage of trajectory-level supervision lies in preserving the temporal continuity of context evolution, allowing the model not only to observe the immediate summary produced by a context-management tool invocation but also to learn how that summary influences reasoning and decision-making across subsequent steps.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone given§ 5 Related Work · p. 8Our Tool Condensor enables dynamic, execution-driven context management that actively preserves decision-critical information over extended horizons.
“whereas our Tool Condensor enables dynamic, execution-driven context management that actively preserves decision-critical information over extended horizons.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Interpretationreasoning§ 2.1 Structured Context Workspace · p. 2CAT's structured context workspace provides a stable semantic anchor for the task while preserving fine-grained information from recent environment feedback, thereby supporting precise contextualized actions.
“This design provides a stable semantic anchor for the task while preserving fine-grained information from recent environment feedback, thereby supporting precise contextualized actions.”
Quote in the paperNot a substantial claim
The paper relies on this without support.
Long-horizon SWE tasks often require hundreds of interaction rounds.
“Most SWE tasks (e.g., repositorylevel issue resolution (Jimenez et al., 2023)) often require LLMs to continuously interpret environment feedback, execute actions, and revise strategies over hundreds of interaction rounds, which poses greater demands on context management.”
The paper relies on this without support.
SWE-Bench-Verified tasks are representative of long-horizon interactive software engineering tasks.
“On the challenging SWE-Bench-Verified benchmark”
The paper relies on this without support.
Human solution time reported in the original dataset is a valid measure of task difficulty.
“We partition SWE-Bench into difficulty levels based on the original dataset's reported human solution time.”
The paper relies on this without support.
A context token count below 32k tokens indicates prevention of context explosion.
“remains below 32k tokens, without exhibiting continuous growth over time, indicating the effectiveness of CAT in preventing context explosion.”
The paper relies on this without support.
The 32B model post-training setting is a fair comparison to substantially larger models.
“reaching state-of-the-art performance under the setting of agent post-training on a 32B model”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
CAT's 500-step solved rate differs between tables
MajorTable 2 reports SWE-Compressor at 57.6%, while Table 3 reports CAT at 57.8% for the same benchmark with a 500-step limit. The paper identifies SWE-Compressor as the CAT-trained model and states that Table 2 uses a limit of 500 interaction rounds.
“| SWE-Compressor | 32B | OpenHands | 57.6 |”
“| CAT | 500 | 2.75M | 57.8 |”
ReAct's 500-step solved rate differs between tables
MinorTable 2 reports the ReAct baseline at 49.8%, but Table 3 reports 48.8% for ReAct at 500 steps. The paper states that Table 2 also permits up to 500 interaction rounds.
“| ReAct Agent | 32B | OpenHands | 49.8 |”
“| ReAct | 500 | 2.54M | 48.8 |”
Cites
The publisher hasn’t deposited this paper’s reference list.
Research works printed but not linked: 3
- Mengkang Hu, Tianxing Chen, Qiguang Chen, Yao Mu, Wenqi Shao, and Ping Luo. 2025. Hiagent: Hierarchical working memory management for solving long-horizon agent tasks with large language model. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages 32779-32798.
- OpenAI. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774 . · arXiv
- Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan Cao. 2022. React: Synergizing reasoning and acting in language models. In The eleventh international conference on learning representations .
Cited by
Sorted by citations
From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms
Luo, J., Tian, Y., Cao, C., Luo, Z., Lin, H., Li, K., Kong, C., Yang, R., & Ma, J. (2026) · Findings of the Association for Computational Linguistics: ACL 2026 · doi:10.18653/v1/2026.findings-acl.2069 · Cited by 3 · see citing works
“This necessitates the exploration of more strategic policies for the addition and deletion of information within memory mechanisms (Du et al., 2025b; Liu et al., 2025e).”
SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
Song, H., Huang, L., Sun, S., Jiang, J., Le, R., Cheng, D., Chen, G., Hu, Y., Chen, Z., Jia, Y., et al. (2026) · arXiv · doi:10.48550/arxiv.2602.03411
“Some studies further augment these frameworks with additional tools to support extended capabilities, including long-context management [11, 12, 13].”
Ranking Is Not Authority: Executable Context-Routing Contracts for Coding Agents
Mahesh, N. (2026) · Proceedings of the 1st International Workshop on PromptOps and Vibe Coding · doi:10.1145/3843779.3844639
- Authors
- Liu, S., Yang, J., Jiang, B., Li, Y., Guo, J., Liu, X., & Dai, B.
- ORCID
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2025
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2512.22087
- OpenAlex
- W7117557793
- Cited by
- 1
- References
- 0
- Citations by year
- 2026: 1
- Type
- posted content
- Open access
- green
- doi.org
- Locations
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Physical Sciences › Computer Science › Artificial Intelligence › AI-based Problem Solving and Planning
- Keywords
- context management, long-horizon reasoning, SWE-agent, large language models, context compression, semantic drift, long-term memory
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-10.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-10.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review