Skip to main content

Ollama

Ollama runs AI models locally — no API key, no cloud, no data leaving your network. WednesdayAI auto-discovers a running Ollama instance.

Prerequisites

Install Ollama from ollama.com, then pull a model:
ollama pull llama3.3
ollama list

Connecting

WednesdayAI detects Ollama automatically when it runs locally at http://127.0.0.1:11434. No login step is needed. To point at a non-default host, set the base URL:
export OLLAMA_HOST=http://localhost:11434

Selecting a model

{
  agents: {
    defaults: {
      model: { primary: "ollama/llama3.3" },
    },
  },
}
The ollama/ prefix routes the request to the Ollama provider:
Ollama modelReference
llama3.3ollama/llama3.3
mistralollama/mistral
qwen2.5-coderollama/qwen2.5-coder
deepseek-r1ollama/deepseek-r1
Run openclaw models status to see which Ollama models WednesdayAI can reach.

Remote Ollama

If Ollama runs on another machine (a GPU box, a home server), set the base URL via models.providers:
{
  models: {
    providers: {
      ollama: { baseUrl: "http://192.168.1.50:11434" },
    },
  },
}
By default Ollama only listens on 127.0.0.1. To accept remote connections, set OLLAMA_HOST=0.0.0.0 on the Ollama machine. For secure remote access, put Ollama behind Tailscale and use its MagicDNS name rather than exposing port 11434.

Troubleshooting

Ollama is running but has no models pulled. Run ollama pull <model> and re-probe with openclaw doctor.
Ollama is not running. Start it with ollama serve (or the system service) and verify with ollama list.
By default Ollama listens only on loopback. Set OLLAMA_HOST=0.0.0.0 on the Ollama machine and restart it. Use Tailscale rather than exposing the port publicly.