2026-11-26 15:48 UTC

CLMs report lower-compute gains on long-running agent tasks

state: watchingheat: lowuncertainty: mediumrelevance: highagent-memory context-management llm-architecture meta-researchRulin ShaoLuke ZettlemoyerPang Wei KohNathan LambertMike Lewis

What is this?

University of Washington, Meta Superintelligence Labs and collaborators introduced Context Language Models (CLMs), an approach in which an agent can edit its running context as a file rather than relying only on fixed, harness-managed memory or compaction. Their paper and official code report gains over tested context-management baselines on several long-horizon tasks, sometimes with lower compute; these are author-reported benchmark results, not independent replications. The repository also offers Pi support, while broader adoption and the announced ContextBench remain unconfirmed in the supplied evidence.

Why it matters

CLMs tackle a practical bottleneck in long-running agents: instead of relying only on fixed context or harness-driven summarization, the model can edit a file representing its own context. If the reported gains hold, this could improve performance and compute use on long research and coding tasks, and offers a different design choice for agent builders. The results are from the authors’ benchmarks, not independent replication; efficiency depends in part on serving support, and persistent context edits create an instruction-persistence risk.

Current assessment

Researchers from the University of Washington, Meta Superintelligence Labs, MIT and Trillium Labs introduced Context Language Models (CLMs), which let an agent edit its running context as a file. Their paper and official code report zero-shot gains over tested context-management baselines, including higher benchmark performance with fewer reported FLOPs on BrowseComp-Plus and long-running tasks; these are author-reported results, not independent replications. The repository provides Pi support and lists ContextBench as forthcoming. Practical questions remain about cache reuse and serving costs outside the authors’ setup, generalization across models and harnesses, and risks from persistent erroneous or injected instructions. A newer, high-velocity discussion titled “The State of Context Engineering” concerns the broader topic, but the supplied evidence does not establish a connection to CLMs or provide validation or adoption evidence. The approach remains worth watching, not established as a durable default.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1417h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-28 14:00⭐ origin echo-reconstructedAbstract: "We introduce Context Language Models (CLMs), language models that natively manage their own context. We implement this by treatin
Rulin Shao et al. (University of Washington, Meta Superintelligence Labs, MIT, Trillium Labs) — submitted to arXiv by Rulin Shao on paper (echo) · attributed from hn.story.49915539
—
09-30 22:54first on hacker news · published · +56.9hContext Language Models (CLMs)
handfuloflight
—
10-05 17:48first on r/LocalLLaMA · published · +171.8hY'all this is a sexy paper; context language models
Combinatorilliance
—
10-05 19:41first on r/artificial · published · +173.7hContext Language Models
striketheviol
—
09-30 22:54amplified on hacker newshn.story.49915539
handfuloflight
peak 2 · 0 comments · 0% of case engagement
10-01 14:51amplified on hacker newshn.story.49922437
emersonmacro
peak 178 · 52 comments · 38% of case engagement
10-05 17:48amplified on r/LocalLLaMAreddit.post.1wyf63m
Combinatorilliance
peak 111 · 42 comments · 15% of case engagement
10-05 19:41amplified on r/artificialreddit.post.1wyi5nb
striketheviol
peak 2 · 1 comments · 0% of case engagement
10-25 20:32amplified on hacker news 👑hn.story.50235780
pchristensen
peak 220 · 57 comments · 46% of case engagement
10-01 00:21our radar first saw it · +58.4hdiscovery anchor: hn.story.49915539—
10-03 15:27reached heat=high · +121.5h · via ledger——

Evidence (6) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnContext Language Models (CLMs)
Retrieved article excerpt

Open article · Retrieved 2026-10-01T00:29:49.643231+00:00

# Context Language Models (CLMs)

[Rulin Shao](https://rulinshao.github.io/)1,2,
[Shannon Zejiang Shen](https://www.szj.io/)3,
[Junjie Oscar Yin](https://oseyincs.io/)1,2,
[Yuetai Li](https://yuetl9.github.io/)1,
[Minheng Wang](https://minhengwang.github.io/)1,
[Hamish Ivison](https://ivison.id.au)1,
[Radha Poovendran](https://people.ece.uw.edu/radha/)1,
[Nathan Lambert](https://natolambert.com/)4,
[Teng Xiao](https://tengxiao1.github.io/)1,
[Mike Lewis](https://ai.meta.com/people/209431298931133/mike-lewis/)2,
[Wen-tau Yih](https://scottyih.org/)2,
[Luke Zettlemoyer](https://homes.cs.washington.edu/~lsz/)1,2,
[Pang Wei Koh](https://koh.pw/)1

1University of Washington   2Meta Superintelligence Labs   3MIT   4Trillium Labs

[arXiv](https://arxiv.org/abs/2609.37725)
[Twitter](https://x.com/RulinShao/status/2105282444270448647)

[Context Language Models](https://github.com/facebookresearch/context-language-models/blob/main/assets/teaser.png)

We introduce **Context Language Models (CLMs)**, language models that natively manage their own
context. We implement this by treating the **context as a file** and allowing the model to make
unrestricted updates to this file. This allows the model to learn what is most important to
maintain in context, and naturally extends to multi-agent systems where multiple agent
contexts coexist as files.

- **Zero-shot.** Building CLMs zero-shot with existing models outperforms SOTA
  context-management strategies across a variety of tasks: 11.4% higher accuracy with 21.5%
  fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench,
  and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm
  task.
- **In-context learning.** We show that CLMs can be steered with natural-language
  instructions evolved through a standard skill-optimization loop, improving held-out
  accuracy by up to 35.9 points on a context-management task while reducing compute.
- **Reinforcement learning.** We also introduce an online reinforcement learning method for
  CLMs, improving Qwen3.5-9B performance on BrowseComp-Plus by 47.6% while using 12% fewer
  FLOPs.

## Day 1 Support

CLM for [Pi](https://github.com/earendil-works/pi):

```
pi install npm:@lolipopshock/pi-clm
```

## Getting started

Run the minimal CLM agent on any [Harbor](https://github.com/laude-institute/harbor) task:

```
pip install -e .
clm-harbor run -p <harbor-task> -a clm-minimal -m openai/<model> \
  --agent-kwarg api_base=http://localhost:8000/v1
```

`clm-harbor` is the Harbor CLI with CLM available as `-a clm-minimal`. See
[`clm/clm_harness`](https://github.com/facebookresearch/context-language-models/blob/main/clm/clm_harness) for configuration and serving.

## Repository

|  |  |
| --- | --- |
| [`clm/clm_harness`](https://github.com/facebookresearch/context-language-models/blob/main/clm/clm_harness) | CLMs implemented in [Harbor](https://github.com/laude-institute/harbor) |
| [`clm/clm_icl`](https://github.com/facebookresearch/context-language-models/blob/main/clm/clm_icl) | In-context learning for CLMs |
| [`clm/clm_rl`](https://github.com/facebookresearch/context-language-models/blob/main/clm/clm_rl) | Reinforcement learning for CLMs |
| [`suffix_cache_reuse`](https://github.com/facebookresearch/context-language-models/blob/main/suffix_cache_reuse) | Suffix Cache Reuse for CLM efficient serving |

## Coming soon

- ContextBench

## Citation

If you find our work helpful, we would appreciate it if you could cite our paper:

```
@article{shao2026context,
  title   = {Context Language Models},
  author  = {Shao, Rulin and Shen, Shannon Zejiang and Yin, Junjie Oscar and Li, Yuetai and
             Wang, Minheng and Ivison, Hamish and Poovendran, Radha and Lambert, Nathan and
             Xiao, Teng and Lewis, Mike and Yih, Wen-tau and Zettlemoyer, Luke and Koh, Pang Wei},
  journal = {arXiv preprint arXiv:2609.37725},
  year    = {2026}
}
```

## License

This project is licensed under [CC BY-NC 4.0](https://github.com/facebookresearch/context-language-models/blob/main/LICENSE). See also [NOTICE](https://github.com/facebookresearch/context-language-models/blob/main/NOTICE).
handfuloflight20
🟧 echo.paper ⭐Abstract: "We introduce Context Language Models (CLMs), language models that natively manage their own context. We implement this by treatinRulin Shao et al. (University of Washington, Meta Superintelligence Labs, MIT, Trillium Labs) — submitted to arXiv by Rulin Shao——
🟧 hnContext Language Modelsemersonmacro17852
🟠 redditY'all this is a sexy paper; context language models
LocalLLaMA
Combinatorilliance11142
🟠 redditContext Language Models
artificial
striketheviol21
🟧 hnThe State of Context Engineeringpchristensen22057

Interpretation history

Decision trace