Agents

What is a stateful agent?

A stateful agent chooses its next action from persisted history and artifacts, not only from the current prompt.

Updated · Part of What is agent memory?

How it works

  • Read memory rows.
  • Call tools.
  • Write the new turn back.

What it is not

It is not a single chat completion, and it is not a workflow that forgets when the process exits.

stateful agent: this, and the thing it is confused with

stateful agent: this, and the thing it is confused with
ThisNot this
Depends onStored historyOnly this prompt
After restartCan continueStarts blank
AuditQuery the turnsScroll a terminal

Where Pixeltable fits

Pixeltable is the store those turns and artifacts live in. The loop can be your code; the rows are the state.

Questions

How does stateful agent work?
Read memory rows. Call tools. Write the new turn back.
What is stateful agent often confused with?
It is not a single chat completion, and it is not a workflow that forgets when the process exits.