Skip to main content
The storage architecture design for Zeus Agent, consisting of two core components: Checkpoint (state persistence) and Backend (file storage).

Architecture Overview


Core Components

ComponentPurposeStorage LocationDocumentation
CheckpointerAgent state persistence, HITL interrupt recoveryPostgreSQLCheckpoint.md
BackendFile system operations, user cloud driveSupabase StorageBackend.md
MemoryLong-term memory (custom implementation)Supabase StorageBackend.md

Quick Comparison

AspectCheckpointerBackendMemory
Stored ContentAgent execution stateFiles/artifactsUser knowledge/preferences
GranularityPer execution stepFile operationsConcept-level
LifecycleSession-levelUser-levelPermanent
Accessed ByLangGraph internalsAgent toolsCustom logic
Current ImplementationDrizzleCheckpointSaverStateBackendInMemoryStore
Target ImplementationPostgresSaverCloudDriveBackendSupabase Storage

Migration Priority

  1. High Priority: Checkpoint - Affects HITL feature stability
  2. Medium Priority: Backend - Affects artifact persistence and user experience
  3. Low Priority: Redis Cache - Performance optimization, can be added later

Environment Variables

The following environment variables need to be configured:
  • DATABASE_URL - PostgreSQL connection URL (for Checkpointer)
  • SUPABASE_URL - Supabase Storage URL (for Backend)
  • SUPABASE_SERVICE_KEY - Supabase Service Key (for Backend)
  • REDIS_URL - Redis connection URL (optional, for caching)