No Time Like the Present: Agentic Test-Time Training for LLM Agents

Yanbo Wang, Jinhua Hao, Yuze Shi, Kun Yuan, Ming Sun
7/3/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

LLM agents often degrade over long episodes: as trajectories grow, they revisit explored states, repeat failed actions, and lose strategies that previously worked. Test-time training (TTT) offers a way to adapt model weights to the evolving task state, but existing LLM TTT methods largely adapt once to a fixed input.

Show full abstract

We study continuous TTT in multi-turn agent episodes, where each update changes the policy that generates later training text. This creates a self-training loop that helps when new trajectory information appears, but can amplify drift when the agent gets stuck and repeatedly trains on similar text. We find that update-text repetition distinguishes these regimes and introduce Agentic Test-Time Training (aTTT), a token-level reweighting method that downweights the loss on tokens appearing in repeated $n$-grams from prior updates while leaving novel tokens fully weighted. To run such updates inside live episodes, we build a concurrent serving system using vLLM's runtime LoRA API, limiting overhead to 1.9$\times$ the no-TTT cost. aTTT improves success by up to 5.0 points on ALFWorld and 4.9 points on SWE-bench Lite. The gains concentrate where models already have task competence but drift over long trajectories, suggesting that aTTT mainly preserves existing competence rather than teaching new abilities.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026time,
  title  = {No Time Like the Present: Agentic Test-Time Training for LLM Agents},
  author = {Yanbo Wang and Jinhua Hao and Yuze Shi and Kun Yuan and Ming Sun},
  year   = {2026},
  eprint = {2607.03441},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03441v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03441.svg)](https://codeofpaper.com/paper/2607.03441)

Discussion