Config folder

Everything here is local mode. Cloud mode keeps its settings in your account, and on disk has only a minimal settings.toml with your language and mode = "cloud".

~/.config/kaja/
β”œβ”€ settings.toml    # preferences, voice, marketplace, storage location
β”œβ”€ models.toml      # providers and the model for each task
β”œβ”€ secrets.toml     # every key and token, and nothing else
β”œβ”€ commands.toml    # shell commands that run without asking
β”œβ”€ hooks.toml       # optional: commands to run on chat events (sounds, notifications, speech)
└─ marketplace/     # abilities (skills, HTTP tools, MCP servers, code tools), personas, datasets

The folder follows XDG ($XDG_CONFIG_HOME/kaja when set). KAJA_PROFILE is appended to its name, and to the data folder’s: KAJA_PROFILE=dev kaja uses ~/.config/kaja-dev/, a separate setup of its own. The setup wizard writes the first version, and after that the files are yours to edit. Kaja reads them once at startup and never writes them while running, so restart to apply a change.

File Reference
settings.toml Settings
models.toml Models
secrets.toml Secrets
commands.toml Safe commands
hooks.toml Hooks
marketplace/ The marketplace, Personas
the SQLite file Local storage

Only secrets.toml holds credentials, so the other files are safe to share or paste into a bug report.

Editor support

Every file Kaja writes starts with a Tombi schema directive pointing at its JSON Schema in the Kaja repository:

#:schema https://raw.githubusercontent.com/SubZtep/kaja/refs/heads/main/packages/schema/json/models.json

With the recommended VS Code TOML extension you get completion, validation and each setting’s default and description as you edit. For a file you write yourself, add the same line (settings, models, secrets, commands or hooks). The schemas are also served at https://api.kaja.io/config/schemas/<file>.json.


Next:

Settings