MemoDocumentation
EN

7. Data Layout

Path Purpose
config/config.yaml All settings (llama, sync, identity, memory, API, learning, calendar)
data/memory/ SQLite + vec0 + FTS5 vector/keyword store
data/sessions/ JSON chat history
data/models/ Downloaded GGUF files
data/providers.json External provider config + encrypted API keys
data/orchestra.json Orchestra mode config
data/whatsapp/, data/telegram/ Isolated SQLite message stores per messaging bridge
data/calendar/ Calendar events SQLite DB
data/permissions.json Agent tool permission policies
data/machine.key Machine-specific encryption key (0600)
data/routines/*.json One file per Routine
data/tasklists/ Self-Driving Task.md/Plan.md state per task list
data/plans/<project>/plan.md Code Mode Plan sub-mode output (sandboxed outside the project directory)
data/stats/usage.db Usage Stats — per-turn request/token records (SQLite)
data/mail/accounts.json Connected mail accounts; secrets and tokens sit in an encrypted vault. Not part of backups or cloud sync — reconnect after restoring on another machine
data/twin/twin.db Digital Twin: contacts, messages, prepared actions, commitments, briefings and their delivery ledger, preferences (the briefing settings live here, not in config.yaml)
data/projects.json Per-device registry of project folders (never synced)
data/subagents/ Chat sub-agent state (durable per-chat delivery queue)
data/cliproxy/ The Subscriptions sidecar's accounts and state
data/install_id, data/telemetry_state.json The random install ID and the telemetry consent/counters (see TELEMETRY.md)
data/tts/voices/ Downloaded local Piper voice files
data/skills/ Materialized built-in + imported skills
.env Optional environment overrides (OAuth creds, API keys)
binaries/ Platform-specific binaries (llama-server, vec0 extension, whisper-server)


Source document