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
- Install Ollama from ollama.com.
- Download a model that supports tool calling. Ollama’s library marks these with a
toolstag.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
- Start Ollama.
- In Wavefunction, open Settings › Models › Add provider and choose Ollama, or pick it in setup’s first step.
- Leave Server address at
http://127.0.0.1:11434for Ollama on this computer, or enter your server’s address, without/apior/v1at the end. - Click Connect. Wavefunction lists your Ollama models and what each one supports.
- Enable the models you want, then pick one from a chat’s model menu.

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.
Web search
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://orhttps://, 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.