Skip to main content

Module state

Module state 

Source
Expand description

Loop Agent SDK - State Interface

Context persistence for stateless Lambda execution. Handles “memory” across invocations in <100ms reload time.

Structs§

ContextEvent
DynamoStateConfig
DynamoDB-backed state store configuration
NotificationPrefs
UserContext
User context - reloaded at start of each Lambda invocation
UserPreferences
VaultState

Enums§

StateError

Traits§

StateStore
State storage backend trait Can be backed by DynamoDB, Redis, or Solana account data

Functions§

init_user_context
DynamoDB table schema