Reference · Glossary

Agent memory

Last updated

What an **agent loop remembers** across steps — message history, tool results, and optional long-term store.

When to use

Multi-step agents that must refer back to prior tool outputs without re-fetching everything.

When not to

Stateless one-shot completions.

Example

Step 2 remembers order ID from step 1 tool result instead of asking the user again.