Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

docs(custom-engines): say "instances" replaces the built-in engine list

AdityaUmale606f16e1c3ed
diff --git a/docs/custom-engines.md b/docs/custom-engines.md
index 1daab47701..1fd8770c7a 100644
--- a/docs/custom-engines.md
+++ b/docs/custom-engines.md
@@ -4,6 +4,43 @@ Two zero-code ways to run OpenMausBot bots on an engine the app doesn't ship.
Both live in `~/.openmausbot/config.json` under `"instances"`; restart the app
after editing (instance entries are read at boot).
+## `"instances"` is the whole engine list
+
+When `config.json` has an `"instances"` block, it replaces the built-in engine
+list instead of adding to it: an engine you don't list there is gone from
+Settings → AI → Providers and from every bot's model picker. With a block that holds
+only your custom entry, Claude, Codex and the other built-in engines disappear.
+
+To keep them, list the ones you want next to your own entry. Listing `claude`,
+`codex` or `grok` also brings back a set of other built-in engines (ChatGPT
+plan, Cursor, GitHub Copilot, the API-key engines and more; the set is
+`PRODUCT_FLEET_ADDITIONS` in `server/instance-fleets.ts`). Engines outside that
+set, such as `antigravity` or `kimi`, come back only when you list them too:
+
+```json
+{
+ "instances": {
+ "claude": { "driver": "claudeAgent" },
+ "my-endpoint": {
+ "driver": "openai-compat",
+ "displayName": "My Endpoint",
+ "config": { "url": "http://127.0.0.1:1234/v1", "model": "my-model" }
+ }
+ }
+}
+```
+
+Use the driver names exactly as written: `claude` runs on the `claudeAgent`
+driver and `codex` on `codex`. An unknown driver name, such as
+`"driver": "claude"`, shows the engine as unavailable with no models. The full
+built-in list, with each engine's driver name, is `DEFAULT_FLEET` in
+`server/instance-fleets.ts`.
+
+Without an `"instances"` block, the built-in list stays as it is. The older
+top-level `"openaiCompat": { "key": …, "url": … }` setting doesn't change which
+engines are listed: it fills in the address and key of the built-in
+OpenAI-compatible engine.
+
## Provider icons
Each instance shows its driver's mark. An OpenAI-compatible server shows the