Nous.Persistence.ETS (nous v0.13.3)

View Source

ETS-based persistence backend.

Stores serialized context data in a named ETS table. The table is created lazily on first use. Data does not survive process restarts.

This is useful for development, testing, and short-lived sessions.

Usage

# In AgentServer config
AgentServer.start_link(
  session_id: "session_123",
  agent_config: %{model: "openai:gpt-4", instructions: "Be helpful"},
  persistence: Nous.Persistence.ETS
)