Docs / Vibe (AI)
Vibe Providers and Permissions
Vibe never locks you into one provider. You connect your own accounts under Models, keys stay on your device, and a permission mode decides which tool calls need your approval. This page covers the presets, key protection, approval modes, per-tool settings and the engine limits.
Connect a model#
Open Models in Vibe Studio, choose Add, and pick a preset or enter any OpenAI-compatible base URL.
| Preset | Notes |
|---|---|
| OpenRouter | One key for many models. Sign in with OpenRouter (web build) creates a key through OAuth with PKCE |
| OpenAI | API key; image generation and editing through the Images API |
| Anthropic | API key; native Messages API with tool use and extended thinking |
| DeepSeek, xAI (Grok), Mistral, Groq, Together AI, Google Gemini | API key; OpenAI-compatible endpoints (Gemini through its OpenAI-compatible endpoint) |
| Ollama | Local, no key, native API with model capabilities. The desktop app needs no setup; a browser needs OLLAMA_ORIGINS (see Ollama setup). Cloud models after ollama signin appear in the same list |
| Ollama Cloud | API key from ollama.com/settings/keys, direct connection |
| LM Studio | Local, no key. The server must allow the app's origin (enable CORS) |
| Custom | Any OpenAI-compatible /v1 server (llama.cpp, vLLM, a company gateway) or an Anthropic-compatible one: choose the API type and add extra headers (one Name: value per line). If the server has no model list, type the model id in the model picker |
The offline Demo model needs no key and follows a script of real tool calls.
Ollama setup#
OpenFini talks to Ollama's native API (/api/tags, /api/show, /api/ps, /api/chat, /api/pull), not the /v1
compatibility layer, so it sees every installed model with its capabilities (tools, vision, thinking, context length)
and only offers tool use or images to models that support them. Add the connection in Models ▸ Add ▸ Ollama (local).
- Detect tries
http://127.0.0.1:11434,http://localhost:11434and the address you typed. Test connection says exactly what is wrong: not running, origin refused, plain http blocked on an https page, version too old (tool use needs Ollama 0.3.0), or OK with the version. A pasted/v1address is accepted and converted. - Desktop app (Windows, macOS, Linux): requests go through the app's native side, so CORS and
OLLAMA_ORIGINSdo not matter. Only your own computer, your local network andollama.comcan be reached this way, and only the/api/and/v1/paths (see Security and Privacy). Ollama needs no special setup: start the Ollama app or runollama serve. - Browser (PWA): the page calls Ollama directly, and Ollama only answers origins listed in
OLLAMA_ORIGINS. Test connection shows the value for this page and the commands for your system:- Windows: quit Ollama from the tray, run
setx OLLAMA_ORIGINS "https://your-origin", start Ollama again. - macOS:
launchctl setenv OLLAMA_ORIGINS "https://your-origin", then restart the Ollama app. - Linux:
sudo systemctl edit ollama.service, addEnvironment="OLLAMA_ORIGINS=https://your-origin"under[Service], thensudo systemctl daemon-reload && sudo systemctl restart ollama. - An https page cannot call
http://servers on other machines (mixed content);http://localhostworks in Chrome, Edge and Firefox but not in Safari. Use the desktop app, or put Ollama behind https.
- Windows: quit Ollama from the tray, run
- Another machine: set
OLLAMA_HOST=0.0.0.0on the Ollama machine and usehttp://<its-address>:11434here. - Models: the list shows local models with size, parameters, quantization and capabilities, marks the ones loaded in memory, and has a Pull field with progress for downloading by name. Chat requests use the model's context length (at most 32768 tokens, to keep memory use sane) instead of Ollama's 4096 default.
- Ollama cloud: after
ollama signin, models ending in:cloudor-cloudrun through your local Ollama and appear in the Cloud group of the same connection. For a direct connection without the local app, add Ollama Cloud (ollama.com) with an API key from ollama.com/settings/keys.
Keys#
Keys are stored only on this device and sent only to the base URL you entered. Models ▸ Key protection encrypts them with a passphrase (AES-GCM, key derived with PBKDF2, 250,000 iterations); you unlock once per session. The app lock encrypts them too (Security and Privacy). Settings profiles never contain keys.
Approval modes#
| Mode | Behavior |
|---|---|
| Careful | Asks before every tool that changes something |
| Balanced (default) | Reads and edits the document freely; asks before risky actions (deleting files, overwriting, running custom tools or MCP tools) |
| Auto | Runs everything except custom tools it just wrote and MCP tools, which still ask |
Any tool can be set to Always allow. The approval card shows the exact arguments. Whatever the mode, the assistant only touches OpenFini documents: it has no access to your files, shell or network except through the connections and MCP servers you add. Pushes, pulls and publishing always show a dialog, even in Auto. Computer use (desktop app on Windows and macOS, off by default) is the exception to "only OpenFini documents": after you allow a session in a system dialog the assistant can see the screen and, action by action with your approval, use the mouse and keyboard in other apps (computer use). A chat can have its own model and mode (right-click the chat).
Engine settings (Models ▸ Engine)#
Parallel chats (at most 4), sub-agent model (an optional cheaper model), sub-agents per chat (3), steps per sub-agent (12), steps per request (80), skill suggestion chip, enforcement of skill tool restrictions, and token usage display when the provider reports it.
Language#
Replies follow the interface language unless you write in another one. Built-in skills, tool descriptions and system instructions stay English because they are instructions to the model.
Honest limits#
- ChatGPT plan: only through OpenAI's documented preview for open-source apps (preset OpenAI account, desktop app only, no images or embeddings; usage counts against your ChatGPT plan). Claude.ai offers no login for third-party apps, only API keys, which are billed separately.
- MCP servers that need OAuth: use Sign in next to the server (Settings ▸ Artificial intelligence ▸ Tools).
- Tool calling and image input depend on the model; the model list shows what each reports.
- Providers could not be exercised in CI without keys: the engine is tested against recorded protocol fixtures and fake servers, and real providers may differ in details such as tool-call streaming, image APIs and model lists.
- In a browser, local model servers must permit cross-origin requests from the app.
See also#
Edit on GitHub → wiki/Vibe-Providers-and-Permissions.md