Skip to content

Capabilities ​

@anvia/memory-sqlite implements the SDK memory store contract with ordered message persistence, error recording, inspection, and compaction support.

CapabilityBehavior
Load and appendStores core messages in turn order
ClearDeletes one scoped conversation and its dependent rows
Failed runsStored by default; set errorPolicy: 'ignore' to omit them
ValidationEnabled by default before messages cross the persistence boundary
InspectionRead-only session listing and transcript access
CompactionAtomic summary checkpoint with conflict detection and aggregate usage

Compaction preserves canonical message rows. Normal loads and inspection return the complete transcript, while model-facing snapshots return the latest summary plus the unsummarized tail. The adapter preserves strict JSON metadata and tool-result names when converting persisted messages. It does not authenticate callers, authorize a tenant, schedule compaction, or back up the database.

See Memory concepts and the complete API reference.

Built for Anvia.