Kip
Configuration
Every setting in kip.config.json and .env.
Kip reads two files from its folder: kip.config.json for settings and .env for secrets. Secrets never go in the config file. Restart Kip after changing either. kip.config.example.json shows every setting.
kip.config.json
| Key | Default | Notes |
|---|---|---|
business.name | Shown in the app and to the model. | |
dataDir | ./data | Where the database lives. |
documents | ./documents | Folder to index for search. |
models.cloud | { model, deciderModel, effort, checkerEffort, baseURL }. See models. | |
models.local | { model, baseURL }. Usually set from .env instead. | |
policy | alwaysAsk, blocked, autoAllow, backgroundMaySend, threshold, ownerRules. See Kip Check. | |
dataRules | the defaults | Replaces the default data rules. |
integrations | [] | See Integrations. |
schedules | [] | { job, everyMinutes, input }. See schedules. |
webhooks | {} | Job id to secret token. See webhooks. |
plugins | [] | Modules that add jobs and tools. See plugins. |
.env
| Variable | Notes |
|---|---|
KIP_PASSWORD | The office password. Required, 8 characters or more. |
ANTHROPIC_API_KEY | Claude API key. |
KIP_LOCAL_MODEL_URL, KIP_LOCAL_MODEL | A local model server and model name. |
QR_API_KEY, QR_BASE_URL | Quiet Robot Sandboxes for running code. |
KIP_API_TOKEN | Turns on the JSON API. Any long random text. |
KIP_GATEWAY_SECRET | Turns on gateway sign-in. 32+ random characters. |
KIP_SECRET | Signs sign-in cookies. By default it is made from the office password, so changing the password signs everyone out. |
PORT | Default 8484. |
HOST | Default 127.0.0.1 (this computer only). 0.0.0.0 lets your network reach it. |
KIP_HTTPS | 1 when people reach Kip over HTTPS. Makes the sign-in cookie HTTPS-only. |
KIP_OPEN_BROWSER | 0 stops Kip opening a browser when it starts. |
KIP_CONFIG | Path to a different config file. |
KIP_ALLOW_UNSAFE_LOCAL_EXEC | 1 runs code on this machine with no isolation. Developers only. |