Agent state encompasses all the information an agent maintains as it works through a task: the conversation so far, results from tool calls, scratchpad reasoning, intermediate outputs, and metadata like step count or remaining budget. State management is what enables an agent to behave coherently across multiple steps rather than treating each action in isolation. In long-running agents, state may be persisted to disk or a database via checkpointing to survive crashes or preemptions.