Skip to main content
Memory enables agents to maintain state and context across conversations. With memory configured, agents remember previous interactions and can resume conversations after failures or restarts. Idun Agent Platform supports multiple memory and checkpointing strategies depending on your agent framework.

Framework support

How checkpointing works

Checkpointing saves your agent’s state during execution. Each interaction is associated with a unique session or thread identifier, and the platform saves state snapshots at each step of the agent graph. This enables:
  • Conversation continuity: Maintain context between interactions
  • Fault tolerance: Resume from the last successful step after a failure
  • Thread isolation: Each session_id maps to a unique thread, keeping conversations separate
  • Concurrent conversations: Multiple users can interact with the same agent simultaneously

Backend comparison

BackendPersistenceConcurrencyBest for
In-memoryNone (lost on restart)Single processDevelopment and testing
SQLiteFile-basedSingle writerLocal development, single-instance deployments
PostgreSQLDatabaseMulti-processProduction, multi-instance deployments
Vertex AICloud-nativeDistributedProduction on Google Cloud (ADK only)
Database (SQL)SQL-basedMulti-processProduction with SQL persistence (ADK only)

Quick configuration examples

1

Browse the backend catalog

Navigate to Memory Stores in the sidebar. The catalog shows backend cards: SQLite, PostgreSQL, In Memory, Vertex AI, and Database.Memory catalog
2

Add a backend

Click + on your backend and configure the connection details.Create PostgreSQL memory config
3

Attach to an agent

Attach the configuration to agents from the agent detail page.

Best practices

  • Use in-memory for development: No setup required, fastest iteration
  • Use PostgreSQL or Database for production: Multi-process support, reliability, and crash recovery
  • Configure thread isolation: Each conversation should have a unique session_id to prevent state leakage
  • Monitor storage usage: Long-running conversations can accumulate significant state over time
Last modified on March 22, 2026