Skip to content
Free planNo credit card requiredStart writing

preprint · arXiv (Cornell University) · 2026

Trained Agentic Context Management

Bryce Sandlund

Cited by 0Open access

Abstract

We study long context language models. Instead of training long context natively, or designing a long context harness, we train a model over the simplest possible harness: a tool to call itself with any specified prompt and a tool to read tokens in a range from the input context. We finetune Qwen3.6-35B-A3B on a diverse synthetic dataset using this harness. With only 8,000 tokens of context, our small model is as strong as GPT-5.4 with 1M tokens of context on the OOLONG-synth benchmark when document length exceeds 40K tokens.

Cite this paper

APA 7

Sandlund, B. (2026). Trained Agentic Context Management. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2610.02404

MLA 9

Sandlund, Bryce. “Trained Agentic Context Management.” arXiv (Cornell University), 2026, https://doi.org/10.48550/arxiv.2610.02404.

Chicago

Sandlund, Bryce. 2026. “Trained Agentic Context Management.” arXiv (Cornell University). https://doi.org/10.48550/arxiv.2610.02404.

Harvard

Sandlund, B. (2026) ‘Trained Agentic Context Management’, arXiv (Cornell University). Available at: https://doi.org/10.48550/arxiv.2610.02404.

BibTeX
@misc{sandlund2026trained,
  title = {{Trained Agentic Context Management}},
  author = {Sandlund, Bryce},
  journal = {arXiv (Cornell University)},
  year = {2026},
  doi = {10.48550/arxiv.2610.02404}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.