Configure Studio

Storage and Persistence

Understand Studio's local SQLite storage for sessions, traces, and pipeline logs.

Studio creates a local SQLite store by default. It stores sessions, runtime messages, transcript entries, traces, and pipeline logs for local inspection.

Default Path

By default, Studio writes to:

.anvia-studio/anvia-studio.sqlite

Set ANVIA_STUDIO_DB when you want a specific file.

ANVIA_STUDIO_DB=.data/studio.sqlite pnpm tsx studio.ts

AION_STUDIO_DB is also read as a compatibility fallback.

What Gets Stored

DataPurpose
SessionsLocal conversations for one registered agent
MessagesRuntime history used when continuing a session, stored as message and message-part rows
Transcript entriesUI-friendly run output with messages, reasoning, tool calls, approvals, and questions
TracesGeneration and tool observations captured during runs
Pipeline logsMetadata-only audit events for Studio pipeline runs

Sessions and Traces

When storage is available, Studio enables both sessions and traces capabilities. Runs with a sessionId load the stored messages as history and append the final messages after the run completes.

curl http://localhost:4021/config
{
  "capabilities": {
    "sessions": { "enabled": true },
    "traces": { "enabled": true }
  },
  "unsupportedCapabilities": []
}

Use Sessions and Traces for the runtime workflow.