mlsanityData to 14 Oct 2026

The Token Not Taken: Sampling, State, and the Stochasticity of AI Agents

arXiv 2606.08998 ↗First posted 8 Jun 2026cs.AI cs.CY econ.GNcited by 0

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Agentic AI systems can behave differently across runs: the same request may produce a different plan, a different tool call, a different code edit, or a different final answer. Such variability arises from several layers that are often conflated. At the core of many current agents is a foundation model, a large pretrained model adaptable to many downstream tasks, embedded in an orchestration loop that plans, calls tools, observes results, and updates state. One explicit intrinsic source of variability in such systems is token generation: the model computes scores over possible next tokens, the scores are converted into probabilities, and a decoder may sample tokens using a pseudo-random number generator. A small sampled token difference can then cascade downstream into a different tool call, code path, search query, or agent state. Other sources of variability are extrinsic to token sampling, including changing environments, live data, serving infrastructure, batch effects, and numerical details. By separating these layers, this tutorial clarifies what it means to call agentic AI systems stochastic, when such variability can be reproduced under matched conditions, and why deterministic execution need not imply identical behavior in deployed settings.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 6 of its 31 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

6 of 31 references.

References · 6

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  6. 2026Governing Technical Debt in Agentic AI Systemscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026On Randomness in Agentic Evals
  2. 2026How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks
  3. 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding tasks
  4. 2026The Illusion of Stochasticity in LLMs
  5. 2025Stochasticity in Agentic Evaluations: Quantifying Inconsistency with Intraclass Correlation
  6. 2026Computing with Agentic Oracles
  7. 2026Consistency as a Testable Property: Statistical Methods to Evaluate AI Agent Reliability
  8. 2026An Experimental Design Approach to Evaluating Agentic AI's Autonomous Model Discovery