Configuration
The daemon keeps its state in ~/.olace/. Most settings have a first-class home in the app or the CLI; the file is there when you want to look under the hood.
Files under ~/.olace
| File | What it is |
|---|---|
daemon.json | Configuration. The one file you might edit. |
identity.enc | Encrypted device identity for end-to-end encryption. Do not copy between machines. |
peers.json, host_peers.json | Cached pairing state. |
chats/ | CLI chat sessions (attachments stay where they are; sessions store references). |
logs/daemon.log | The daemon log, rotated. |
bin/ | The daemon binary and the olace command. |
Settings with CLI commands
Prefer these over editing the file; changes apply within about a second, no restart needed:
olace settings # show current settings and live state
olace settings keep-alive 30 # 5, 10, 15, 30, 60, 120, or always
olace settings auto-optimize on # Flash Attention + KV cache quantization
olace settings context auto # or a floor: olace settings context 32768
All three also accept --device <host> to configure a paired computer remotely.
daemon.json keys
| Key | Default | Meaning |
|---|---|---|
api_url | https://api.olace.app | Olace backend. |
ollama_url | http://localhost:11434 | Where Ollama listens. |
lmstudio_url | http://localhost:1234 | Where llmster, LM Studio's headless daemon, listens. |
llamacpp_url | http://127.0.0.1:8143 | Where llama.cpp listens. |
llamacpp_managed | true | Olace installs and runs llama.cpp itself. false attaches to a server you run. |
llamacpp_binary_path | empty | Pin a specific llama-server. Empty means the build Olace manages. |
local_api_port | 5577 | Loopback health API port. |
enabled | true | Master switch for daemon duty. |
keep_alive_minutes | 30 | Model residency in GPU memory. -1 means always. |
auto_optimize | true | Flash Attention + KV cache quantization where safe. |
local_context_mode | auto | auto or custom context sizing. |
local_context_target | 32768 | Requested context floor when custom. |
bridge_enabled | false | The Olace Bridge listener. |
bridge_port | 5578 | Bridge port, 1024 to 65535. |
bridge_api_key | empty | Bearer key for the Bridge. Empty means no auth, loopback only. |
bridge_cors_origins | empty | Browser origins allowed to call the Bridge. |
metrics_opt_in | false | Anonymous reliability metrics. Never content, never identifiers. |
log_level | info | debug, info, warn, or error. Applies live. |
Auth tokens and device identifiers also live in this file; treat it as private. The daemon, the app, and the CLI coordinate writes safely, and a corrupted file is quarantined and rebuilt rather than crashing the service.