~/.klaus/config.toml, created automatically on first run. This file controls everything from hotkeys to voice settings to advanced VAD parameters.
Configuration File Location
The configuration file is stored at:- macOS/Linux:
~/.klaus/config.toml - Windows:
%USERPROFILE%\.klaus\config.toml
Configuration Structure
The config file uses TOML format with the following main sections:Top-Level Settings
Most configuration options are defined at the top level:API Keys Section
On Windows and as a fallback on macOS, API keys are stored in a dedicated section:On macOS, API keys are stored securely in Apple Keychain by default. The
[api_keys] section is only used as a fallback when Keychain is unavailable.Environment Variables
Klaus supports environment variables as an alternative to config file settings. Environment variables take precedence over config.toml values.API Keys
| Environment Variable | Purpose |
|---|---|
ANTHROPIC_API_KEY | Claude vision + reasoning |
OPENAI_API_KEY | Text-to-speech |
TAVILY_API_KEY | Web search |
Optional Settings
| Environment Variable | Config Key | Default |
|---|---|---|
OBSIDIAN_VAULT_PATH | obsidian_vault_path | "" |
Editing Configuration
Manual Editing
You can editconfig.toml directly:
- Close Klaus
- Open
~/.klaus/config.tomlin your text editor - Uncomment and modify any setting
- Save the file
- Restart Klaus
Using the Settings Dialog
Many settings can be changed through Klaus’s built-in Settings dialog:- API keys
- Camera selection
- Microphone selection
- User background profile
- Obsidian vault path
Some settings like hotkeys, VAD parameters, and STT model require editing config.toml directly and restarting Klaus.
Configuration Defaults
All settings have sensible defaults. If a setting is commented out or missing from config.toml, Klaus uses the default value shown in the configuration template. See the individual configuration pages for detailed information on each setting:Hotkeys
Configure push-to-talk and toggle keys
Voice Settings
TTS voice, speed, and STT model
Camera
Resolution, rotation, and device selection
Advanced
VAD sensitivity, logging, and router settings
Validation
Klaus validates config.toml on startup:- Invalid TOML syntax triggers a warning and falls back to defaults
- Invalid values (wrong type, out of range) are coerced to defaults
- Missing API keys are detected and reported
Resetting Configuration
To reset to default settings:- Close Klaus
- Delete or rename
~/.klaus/config.toml - Restart Klaus
- The setup wizard will run again with a fresh configuration file