Skip to content

Data locations

Where CaberOS stores data depends on how you run it.

macOS:

~/Library/Application Support/com.caberos.desktop/

Windows:

%APPDATA%\com.caberos.desktop\

(e.g. C:\Users\<you>\AppData\Roaming\com.caberos.desktop)

Data Location
SQLite database agentos.db
Encryption key secret.key
Gateway logs logs/gateway.log and rotated backups
Agent home directories agents/
Workspaces workspaces/
Knowledge documents knowledge/

Data persists in the caberos-data named volume, mounted at /data inside the container.

Data Location (inside container)
SQLite database /data/agentos.db
Encryption key /data/secret.key
Agent home directories /data/agents/
Workspaces /data/workspaces/

Inspect the volume on the host:

Terminal window
docker volume inspect caberos-data

Paths come from AGENTOS_* environment variables and default to the repository layout:

Data Default location
SQLite database backend/data/agentos.db
Encryption key backend/data/secret.key
Workspaces backend/data/workspaces/
Knowledge documents backend/data/knowledge/
Agent home directories ~/agentos/agents/
System skills ../skills/ (repo root)

Override any path with the corresponding environment variable:

Env var Default
AGENTOS_DB_PATH data/agentos.db
AGENTOS_SECRET_KEY_PATH data/secret.key
AGENTOS_WORKSPACE_ROOT data/workspaces
AGENTOS_KNOWLEDGE_ROOT data/knowledge
AGENTOS_AGENT_HOME_ROOT ~/agentos/agents
AGENTOS_SKILLS_DIR ../skills

The secret key protects encrypted provider and connector credentials. Treat the complete data directory as private and back it up securely. Never commit the secret key or database to version control.