Agentic Development ยท Memory & State
Information an agent can store and retrieve across steps or even across sessions. Typically categorized as in-context memory (inside the prompt), external memory (a database), and episodic memory (records of past interactions).
Example: An agent remembers from a previous session that the user prefers metric units, so it doesn't ask again.
In practice: Most LLMs have no persistent memory by default โ every call starts fresh. Giving agents durable memory is an active area of product development and significantly changes the user experience.