Library · Building an AI Agent · 6.23
MEMORY AND STATE
1 min read
An Agent needs to distinguish:
Knowledge
What the Agent knows over the long term.
Conversation Context
What is happening in the current session.
State
The state of the job.
For example:
STATUS: Research completed
CURRENT_STEP: Verification
MISSING: Revenue data Q2
NEXT_ACTION: Retrieve filing
State is especially important for long workflows or Agents that run across many steps.
