Wavefunction

Use Wavefunction with Ollama

Run the agent on models served by Ollama, on your own computer or a server you control. Nothing is billed, and with Ollama on your computer, model requests never leave it.

Updated November 26, 2026

Before you start

  1. Install Ollama from ollama.com.
  2. Download a model that supports tool calling. Ollama’s library marks these with a tools tag.
    ollama pull <model>

A local model needs enough memory for itself and its context window. If a model is slow, try a smaller one or a smaller context window.

Connect Ollama

  1. Start Ollama.
  2. In Wavefunction, open Settings › Models › Add provider and choose Ollama, or pick it in setup’s first step.
  3. Leave Server address at http://127.0.0.1:11434 for Ollama on this computer, or enter your server’s address, without /api or /v1 at the end.
  4. Click Connect. Wavefunction lists your Ollama models and what each one supports.
  5. Enable the models you want, then pick one from a chat’s model menu.
Wavefunction setup, step 1: connect a provider, with Ollama among ChatGPT, Anthropic, Google Gemini, OpenRouter, Vercel AI Gateway and OpenAI-compatible servers.
Pick Ollama in setup’s first step, or later in Settings › Models.

Models without tool calling show Tool calling unavailable — not suitable for agents and can’t be enabled. After you download another model, click Refresh models.

Context window

Wavefunction asks Ollama for a 32,768-token context window, or the model’s own maximum if that’s smaller. Change it under Context size › Context window (tokens). A coding agent reads many files, so more context helps it, but it also uses more memory.

Ollama chats search the web through Tavily. Add a Tavily API key under Settings › Models › Web search to turn it on.

Troubleshooting

It can’t connect

  • Check that Ollama is running and reachable at the address you entered.
  • The address needs http:// or https://, and no path, user name or password.
  • Wavefunction connects directly and ignores system proxy settings.

A model is missing

Click Refresh models. If the model is there but can’t be enabled, it doesn’t support tool calling.

Prefer LM Studio or another server? See LM Studio.

Your download has started

  1. Open the Wavefunction DMG in your Downloads.
  2. Drag Wavefunction to Applications.
  3. Open it and connect a model.

Stars help other developers find Wavefunction.