Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
Understanding AI Agents
/
How does a...
How does an agent maintain state across multiple steps within a single task session?
By accumulating the history of observations, tool results, and reasoning into its context window (in-context memory)
By writing all intermediate results to a shared database that all agents access
By sending state snapshots to the user after each step for safekeeping
Agents are inherently stateless; each step is an independent LLM call with no memory of prior steps
Submit answers