FrontierAI.Engineer
Agentic AI Foundations & Architectures

Agent State

Agent state is the information the agent carries across loop iterations to maintain continuity. It can include the conversation history, scratchpad notes, tool outputs, task status, and any accumulated facts. Because language models are stateless by default, the runtime must explicitly serialize and inject state into each prompt so the agent can reason coherently across many steps.