TRANSMISSION // 2612.01681v1
Can AI agents manage their own context better?
Source published
Self-Context gives long-running AI agents an editable graph of findings and a way to fold and restore conversation history. In three benchmark tasks, it improved average scores over the tested baseline, though the study has important limits.

When an AI agent works through many steps, its record of searches, tool results and decisions can become cluttered—or be compressed so aggressively that useful evidence disappears. Self-Context is a framework designed to help agents organize that information and retrieve earlier details when needed.
The problem: too much history, too little structure
A tool-using AI agent may search documents, run commands or update files over many turns. Its interaction history can help it remember what it tried, but it can also grow noisy and consume the space available to the model. Summarizing the history makes room, yet a summary may discard details that become useful later.
The paper introduces Self-Context, a framework that lets a language model manage parts of its own working context while leaving the model’s parameters unchanged. The authors ask whether combining an organized record of findings with recoverable interaction history can help agents stay on track during longer tasks.
Two ways to manage information
Self-Context sits between the language model and its usual task harness—the software that runs tools and returns their results. At each step, the model can propose updates to two kinds of context.
First, it maintains an editable working graph. Nodes can represent goals, subgoals, plans, findings, hypotheses or answers, while links connect related items. The model can add or revise nodes, link them, or remove them from the graph it sees. This is meant to keep conclusions tied to the exploration that produced them, including approaches that failed.
Second, it manages the interaction history through fold and unfold operations. Folding replaces selected turns in the model’s active context with brief notes; unfolding restores the original turns from the retained history. In principle, this reduces clutter without permanently deleting the underlying record. Restoration is still constrained by the context budget, however.
What the tests found
The researchers evaluated Self-Context on three benchmarks: BrowseComp-Plus for search, Terminal-Bench 2.1 for coding and terminal tasks, and QwenClawBench for workspace tasks. They tested two model backbones, Qwen3.6-27B and Qwen3.8-27B, and compared the system with a vanilla harness and several other context-management or agent approaches. Reported results are averages over three runs.
On the equal-weight average across the three benchmarks, Self-Context scored 51.4% with Qwen3.6-27B, compared with 47.8% for the vanilla harness. With Qwen3.8-27B, it scored 69.8%, compared with 64.1% for the vanilla harness. The system also scored higher than that baseline on each benchmark with both backbones. These results describe the tested setups; they do not establish that the approach will improve every agent or task.
Interaction efficiency was mixed by task. With Qwen3.8-27B, Self-Context used fewer turns than the vanilla harness on Terminal-Bench 2.1 and QwenClawBench, while achieving higher scores. On BrowseComp-Plus, it used slightly more turns while scoring higher. The authors therefore report a balance of performance and interaction length, not a universal reduction in the number of steps.
Ablation tests removed the history-management component, the graph, or both, using Qwen3.8-27B. Each version scored lower on the macro average than the full system. This supports the authors’ view that both components contributed in their tests, though an ablation cannot by itself explain every mechanism behind a performance change.
What remains uncertain
The framework depends on the model choosing useful findings and following the editing protocol. The runtime checks the structure of operations, but the paper says it does not independently verify whether a finding is factually correct. A mistaken note could persist, and folding too early could hide details needed later. Graph operations, context updates and repair requests also add inference work; turn counts do not measure total computational cost.
The evaluation covers two model backbones and three benchmarks. The authors caution that transfer to other model families depends on their ability to follow instructions. Results may also depend on benchmark design and the particular implementations used for the baselines.
This article is based on the arXiv preprint Self-Context: Graph-Based Context Self-Management for Long-Horizon Agents (version 1). A preprint is a research manuscript made publicly available before, or independently of, journal or conference review; its claims should be treated as provisional. The paper’s own limitations and benchmark results are the basis for this account, not proof of broad real-world effectiveness.
- AI agents
- context management
- language models
- agent memory
- long-horizon tasks
- arXiv preprint
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
SumOne Trains a Small Model to Condense AI Agent Histories
Supporting evidence: Both papers report gains from managing long agent histories, but by different mechanisms: Self-Context combines an editable graph with fold/unfold history management, while SumOne uses a separately trained summarizer. Their benchmark results support only the bounded point that context management can help in the evaluated tasks; they do not establish that either method would improve the other’s results.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01681v1 — Original paper
Excerpt reference:
static/papers/2612.01681v1.md:627-724
Basis: Paper text
Source file SHA-256:f9cf2af2a577d75006dbb6e946c964e4da28c2f70c18b3cd08fb5a2e142e83e62611.06445v1 — Original paper
Excerpt reference:
static/papers/2611.06445v1.md:13-60
Basis: Paper text
Source file SHA-256:092236c14acee3df0f68f419156f237b6f813648dc990d67a60348bc6e144f4c
Can better memory and feedback improve AI forecasting?
Shared method: Both frameworks let an agent fold interaction history into a structured state and continue from that state: Self-Context folds history into summary notes while retaining the option to restore original turns; PBM folds forecasting evidence into a belief state and resets the context. PBM is specific to forecasting, and the excerpts do not establish that the systems’ state formats or evaluation results are interchangeable.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01681v1 — Original paper
Excerpt reference:
static/papers/2612.01681v1.md:81-143
Basis: Paper text
Source file SHA-256:f9cf2af2a577d75006dbb6e946c964e4da28c2f70c18b3cd08fb5a2e142e83e62611.27286v1 — Original paper
Excerpt reference:
static/papers/2611.27286v1.md:349-469
Basis: Paper text
Source file SHA-256:049e52dce7900c369ae2d4c62c6f3eefe949fab2788c423343edc93adf694200
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
MemSidecar puts AI memory retrieval on a separate track
Source published
Shared keywords: agent memory, ai agents, long horizon tasks
What a Computer-Agent Harness Changed in One Test
Source published
Shared keywords: ai agents, long horizon tasks
Teaching AI Agents What to Keep in a Summary
Source published
Shared keywords: agent memory, ai agents, language models
AI Agents Forget Details When Their Context Shrinks. Searchable Records May Help
Source published
Shared keywords: agent memory, ai agents
Can AI Agents Manage Their Own Context?
Source published
Shared keywords: ai agents, context management, language models