What is an agent state layer?
The definition, why memory alone is not enough for long-running agent work, and what a state layer keeps.
An agent state layer keeps the current state of your work (goals, constraints still in force, progress and decisions) outside any single AI, with the source, time, version and trust status of every value. Agents read it before they act and write back what changed, so a new session or a different agent continues from what is current rather than from what it happens to remember.
Why memory is not enough
Long tasks change as they go: a plan is revised, a constraint is lifted, a tool reports a result nobody has checked. In a long context, old and new instructions sit side by side, and an agent can lean on the wrong one. This is often called context rot. When the state an agent acts on stops matching reality, that is state drift. Remembering more does not fix it; the agent needs to know which value is current and how sure it can be.
What a state layer keeps
- The current value: the goal, constraint, decision or measurement as it stands now.
- Source and evidence: who or what said it, with a link back.
- Effective time and version: when it took effect, and what it replaced.
- Trust status: Confirmed, Inferred, Unknown or Conflict.
- Permissions: which agent may read or change it.
An example
You tell ChatGPT the launch moves to March 12. Later you ask Claude Code to prepare the release checklist. Without a shared state, Claude Code may still plan for the old date. With a state layer, the launch date is one record: March 12, source "your message in ChatGPT", effective today, Confirmed, superseding March 5. Claude Code reads that before it writes the checklist.
How it compares
| Keeps | Good for | |
|---|---|---|
| Assistant memory | Things one assistant recalls about you | Personalising one assistant |
| Memory APIs and RAG | Retrievable facts and documents | Finding relevant context |
| Checkpoints | A snapshot of one run | Resuming the same run |
| Agent state layer | Current values with source, time, version and trust status | Continuing work across sessions and agents |
SaveSlot
SaveSlot is an open-source personal agent state layer. Work lives in Slots: start from one of 17 templates, connect 54 agents and 200 data sources, and correct anything in one place. Read more in the docs, or see how it differs from memory tools.
Questions
What is an agent state layer?
An agent state layer keeps the current state of your work (goals, constraints still in force, progress and decisions) outside any single AI, with the source, time, version and trust status of every value. Agents read it before they act and write back what changed, so a new session or a different agent continues from what is current rather than from what it happens to remember.
How is a state layer different from AI memory?
Memory helps an assistant recall things about you and past conversations. A state layer keeps the current value of each thing that matters, where it came from, when it took effect and whether it is confirmed, so outdated or conflicting information is visible instead of silently reused. The two work together.
Is a state layer the same as a checkpoint or a workflow engine?
No. A checkpoint saves a run so it can resume; a workflow engine decides which step runs next. A state layer does neither: it keeps the facts, decisions and progress that any run or agent should start from.
Which agents can use SaveSlot as their state layer?
Any agent that supports MCP. There are setup guides for 54 agents, including ChatGPT, Claude, Claude Code, Codex, Cursor and Gemini.
Last updated