Skip to content

What does Anvia persist?

Only the state connected to a configured store. Anvia does not silently turn every runtime event into durable application data.

Persistence surfaces

SurfaceTypical dataOwnership
Agent memorySessions, messages, errors, and optional compaction stateA configured memory adapter
Vector retrievalDocuments, embeddings, metadata, and index configurationA vector-store adapter and its backend
Resumable streamsEvent positions and stream stateA ResumableStreamStore
StudioLocal sessions, traces, pipeline logs, and runsIn-memory or configured Studio stores
LensOperational telemetry, evaluations, datasets, and workspace stateLens deployment and retention policy

An in-memory implementation is useful for tests and local development but disappears on restart and cannot coordinate several application instances.

Memory is model context, not a complete audit log. Its configured save policy decides which runtime messages are appended. Likewise, a resumable stream store retains transport events; it does not by itself restart model or tool execution after the worker process dies.

Production ownership

The application must provision schemas and indexes where required, apply migrations, back up data, enforce tenant access, select retention, and test upgrades. Automatic table, collection, or index creation varies by adapter; review its package guide before deciding whether startup code or migrations own the schema.

See memory adapters, vector stores, resumable streams, and the package catalog.

Built for Anvia.