Concept · Building with AI
Stateful
Also called: state, statefulness, keeps state, persistent state
Describes something that carries information forward from one moment to the next. A session is stateful because each message builds on the earlier ones. Files and databases are stateful because they stay put between sessions.
For example: An order saved to the customer database on Monday is still there on Friday. The database is stateful; the model that helped write the order confirmation remembers nothing.
Connects to 5
- Stateless Concept
- Session Concept
- Memory system Concept
- Database Concept
- Agent environment Concept