Summary
The paper proposes Self-Context, a training-free layer between an LLM and its native agent harness in which the model manages its own context. It does so with operations parsed from a <graph> block in its output. Graph management maintains an editable working graph of goals, subgoals, hypotheses and findings (add/edit/link/remove). History management replaces past turns with summary notes (fold) and can restore them (unfold). The context at each turn is the managed history concatenated with the serialized graph (Eqs. 5–8, Alg. 1).
On BrowseComp-Plus (830 tasks), Terminal-Bench 2.1 (89) and QwenClawBench v1.1 (100), with Qwen3.6-27B and Qwen3.8-27B backbones and 3 runs per arm, the paper reports macro-average scores of 51.4% and 69.8%. These are +3.6 and +5.7 pp over the vanilla harness, with 12.8% / 23.7% fewer interaction turns, and above seven context-management baselines (Table 1). An ablation on Qwen3.8 attributes the gains to both components (Table 2), and Sec. 5.4 / App. C.3 analyse how the agents use the graph and history operations.
Strengths
Broad, multi-domain evaluation with repeated runs
Sec. 5.1, Table 1, App. C.1 (Table 3)
Three heterogeneous agent settings (deep research with BM25 retrieval, terminal coding with mini-SWE-agent, office/working tasks in OpenClaw), two backbones, eight comparators and 3 runs per cell with sample SDs. All reported means and SDs for the binary-scored benchmarks are arithmetically attainable as integer success counts (check 03), and all 36 macro averages recompute exactly (check 01).
Substantial, runnable code release
README Quick start; tests/; docs/ablations.md, docs/baselines.md
The repository contains the gateway/engine, per-arm ablation profiles, baseline adapters and detailed docs. In a fresh Python 3.12 environment the offline quick start reproduces the README output exactly ('Fold turn 1: 12384 -> 5273 serialized context characters') and 189/189 offline unit tests pass (check 13). This release is what made the attribution problems below discoverable, which is to the authors' credit.
Simple, harness-agnostic formulation
Sec. 4, Eqs. 5–8, Alg. 1, App. A.2
The method is stated compactly as a parser plus two state updates (, , ), needs no training, and plugs into three different native harnesses. The full system prompt is given verbatim, which makes the intended behaviour easy to inspect.