Config
One JSON file sets models, agents, permissions and plugins, for every project or just one.
On this page
Ridge reads ridge.json from your home folder, then from the project. Project settings win.
{
"$schema": "https://ridge.example/config.json",
"model": "provider/model-name",
"permission": { "edit": "ask", "bash": "ask" }
}
Where it looks
| File | Applies to |
|---|---|
~/.config/ridge/ridge.json | Every project |
ridge.json in the project | This project |
Variables
Use {env:NAME} to read an environment variable, and {file:path} to read a file.
{ "provider": { "acme": { "apiKey": "{env:ACME_KEY}" } } }