State Stores & Persistence
When should I use a cache vs a system of record for agent state?
You should use a cache for transient, easily regenerated agent state, while critical durable agent state belongs in a system of record. Caches provide fast access to frequently used non-critical data like important recent conversation snippets, while systems of record store immutable, critical state such as workflow execution history or core business data. You should not use a cache as the sole storage for state requiring long-term durability or auditability.
Was this article helpful?
Your feedback helps improve Diagrid's FAQ experience.
Keep reading
More Diagrid FAQ articles
- State Stores & Persistence
What’s the difference between workflow and conversation agent state?
Explain the distinct storage durability and access requirements for two core agent session and workflow state types in production AI deployments
- State Stores & Persistence
Will agent session state survive restarts or deployments?
Break down the key scenarios where agent session state survives restarts deployments and regional outages in production AI agent workloads
- State Stores & Persistence
What’s the difference between a cache and system of record for agent state?
Clarify the key differences between agent state caches and persistent systems of record for critical production AI agent workloads