Table of Contents
- What is Ollama OpenClaw, and what does ollama launch openclaw actually set up?
- What is the fastest way to set up OpenClaw with Ollama, and which version do you need?
- Which Ollama models support tool calling well enough to run OpenClaw agents reliably?
- How do you configure OpenClaw to point at a local or remote Ollama instance?
- What hardware do you need to run OpenClaw with a local Ollama model at acceptable speed?
- How do you run OpenClaw and Ollama together with Docker Compose?
- Why does ollama launch openclaw fail with unknown integration openclaw, and how do you fix it?
- Why do OpenClaw agents loop, ignore tools, or return errors with certain local models?
- Should you use Ollama Cloud or a fully local Ollama install as the OpenClaw backend?
- Is OpenClaw the same as Open WebUI, and can both share one Ollama?
- When should you run OpenClaw on Agent 37 instead of your own laptop or Mac Mini?
- How did we compare these options?
- How do you get started with Agent 37?
- What do people also ask?
Do not index
Ollama OpenClaw is the pairing of OpenClaw, the open-source always-on AI assistant formerly called Clawdbot, with Ollama as its model backend, and the whole stack installs with one command,
ollama launch openclaw, on Ollama 0.18.1 or newer. For founders, traders, and operators who want that agent online around the clock, we recommend running OpenClaw on Agent 37, managed OpenClaw hosting from $3.99 per month, with its Ollama provider pointed at your own GPU machine or Ollama Cloud. Agent 37 is not a GPU inference host: it runs the OpenClaw agent, gateway, and task board in an isolated container, while your Ollama models run wherever you keep them.Key takeaways
- One-command install:
ollama launch openclawon Ollama 0.18.1 or newer installs OpenClaw via npm if missing, writes the Ollama provider config, installs the background gateway daemon, and opens the OpenClaw TUI (as of November 2026).
- Tool calling is the hard requirement: OpenClaw agents only work on Ollama models carrying the tools capability tag; qwen3, gpt-oss, kimi-k2.5:cloud, and glm-4.7:cloud are dependable, while llama3:8b and deepseek-r1 distills fail or loop.
- The unknown integration openclaw error almost always means an outdated Ollama binary or an older second binary earlier on PATH;
ollama --versionplus an update fixes it.
- Context size breaks agents silently: Ollama's default 4096-token context truncates OpenClaw's system prompt and tool schemas, so set OLLAMACONTEXTLENGTH to 32768 before blaming the model.
- Agent 37 hosts OpenClaw from $3.99 per month in isolated containers with a browser terminal, file browser, and live Linux desktop; provider API keys go directly to Anthropic or OpenAI without Agent 37 ever touching them.

What is Ollama OpenClaw, and what does ollama launch openclaw actually set up?
Ollama OpenClaw is the pairing of OpenClaw, the open-source always-on AI agent formerly called Clawdbot, with Ollama as the model backend that serves local or cloud models over an OpenAI-compatible API. Running ollama launch openclaw installs OpenClaw if missing, writes the Ollama provider into OpenClaw's config, installs the background gateway daemon, enables Ollama web search, and opens the TUI.
Ollama downloads, quantizes, and serves model weights on port 11434. OpenClaw is the agent layer on top: it keeps memory, runs scheduled tasks, calls tools, and answers you on Telegram, WhatsApp, Discord, or Slack through its gateway, which listens on port 18789 by default according to the OpenClaw documentation.
The launch integration is documented on the Ollama OpenClaw integration page, and because the project was renamed,
ollama launch clawdbot still resolves to the same integration as of November 2026.What is the fastest way to set up OpenClaw with Ollama, and which version do you need?
The fastest setup is one terminal command: ollama launch openclaw, available in Ollama 0.18.1 and newer as of November 2026. Ollama prompts to install OpenClaw through npm if it is missing, lets you pick a local or cloud model from a selector or with the --model flag, then starts the gateway and opens the OpenClaw TUI.
Check your version first with
ollama --version and compare it against the Ollama GitHub releases page. Then run either the interactive form or the explicit one:ollama launch openclaw
ollama launch openclaw --model qwen3:14b
ollama launch openclaw --model kimi-k2.5:cloudVerify the install:
ollama ps should show the model loaded after your first message, curl http://localhost:11434/api/tags should list it, and openclaw doctor should report the gateway running. Then pair a messaging channel such as Telegram and send a first task like "summarize the last five emails in my inbox and draft replies" to confirm tool calls fire end to end.Which Ollama models support tool calling well enough to run OpenClaw agents reliably?
OpenClaw agents need a model with native tool calling, so only Ollama models carrying the tools capability tag are candidates. As of November 2026 the dependable local picks are qwen3 (8b, 14b, 30b-a3b) and gpt-oss (20b, 120b); the dependable cloud picks are kimi-k2.5:cloud and glm-4.7:cloud.
The filter that matters is the tools tag on Ollama's model search. If a model is not listed there, OpenClaw will send tool schemas the model cannot parse, and you will see plain-text guesses instead of structured calls. Download sizes below are the default quantizations listed on ollama.com as of November 2026.
Model | Download size | Tool calling in OpenClaw | Context listed | Best when |
qwen3:30b-a3b | 19 GB | Reliable | 40K | You have 24 GB VRAM and want the best local agent quality per second |
gpt-oss:20b | 14 GB | Reliable | 128K | Long multi-step tasks on a 16 to 24 GB GPU |
qwen3:14b | 9 GB | Reliable | 40K | 16 GB machines, the sweet spot for laptops |
qwen3:8b | 5 GB | Works, shorter tasks | 40K | 8 GB machines and first tests |
kimi-k2.5:cloud | none | Reliable | 256K | Frontier quality with no local hardware |
glm-4.7:cloud | none | Reliable | 200K | Coding-heavy agent tasks via Ollama Cloud |
llama3:8b | 5 GB | Avoid, no tool template | 8K | Nothing agentic; use llama3.1:8b at minimum |
deepseek-r1 distills | 5 to 40 GB | Avoid, loops on tool calls | 128K | Reasoning chat, not OpenClaw |
If you are also weighing which agent runtime to put on top of these models, our guide to Hermes agent vs OpenClaw vs Claude Code and which to run in 2026 covers where OpenClaw's channel-first design wins.
How do you configure OpenClaw to point at a local or remote Ollama instance?
OpenClaw reads its Ollama provider settings from openclaw.json in the ~/.openclaw directory. Set baseUrl to http://127.0.0.1:11434 for a local install or to the OLLAMA_HOST address of a remote machine, then either leave the models list empty so OpenClaw discovers everything ollama list returns, or declare explicit models with context window and zero cost.
Implicit discovery is convenient on a laptop. Explicit lists are better in production because you control context window, cost accounting, and which model is primary. A minimal explicit config looks like this; confirm key names against the provider page at docs.openclaw.ai for your installed version:
{
"models": {
"providers": {
"ollama": {
"baseUrl": "http://192.168.1.40:11434",
"models": [
{ "id": "qwen3:14b", "name": "Qwen3 14B", "contextWindow": 32768,
"cost": { "input": 0, "output": 0 } }
]
}
}
},
"agents": { "defaults": { "model": { "primary": "ollama/qwen3:14b" } } }
}For a remote Ollama box, the server must listen on more than loopback. The Ollama FAQ documents setting
OLLAMA_HOST=0.0.0.0 on the serving machine; pair that with a private network such as a VPN or Tailscale rather than exposing port 11434 to the internet, because Ollama ships with no authentication.
What hardware do you need to run OpenClaw with a local Ollama model at acceptable speed?
A usable local OpenClaw agent needs enough RAM or VRAM to hold the model plus a 32K context: 8 GB runs qwen3:8b at 4-bit, 16 GB runs qwen3:14b, 24 GB of VRAM runs qwen3:30b-a3b or gpt-oss:20b comfortably, and gpt-oss:120b wants 64 GB or more. Below 8 GB, use Ollama Cloud instead.
The sizing rule is simple: the 4-bit download size plus 2 to 6 GB for a 32K KV cache must fit in the fastest memory you have. Apple Silicon unified memory counts as VRAM, which is why 32 GB and 64 GB Macs are popular Ollama OpenClaw hosts.
How do you run OpenClaw and Ollama together with Docker Compose?
Run Ollama and OpenClaw as two services on one Compose network, persist models in a named volume, and point OpenClaw at http://ollama:11434 through OLLAMAHOST. If Ollama runs on the host instead, use http://host.docker.internal:11434, add the host-gateway extrahosts entry on Linux, and bind Ollama to 0.0.0.0.
Here is a working starting point:
services:
ollama:
image: ollama/ollama:latest
volumes:
- ollama:/root/.ollama
ports:
- "11434:11434"
environment:
- OLLAMA_CONTEXT_LENGTH=32768
openclaw:
image: ghcr.io/openclaw/openclaw:latest # confirm the tag in the OpenClaw Docker docs
depends_on:
- ollama
environment:
- OLLAMA_HOST=http://ollama:11434
volumes:
- ./openclaw:/home/node/.openclaw
ports:
- "18789:18789"
volumes:
ollama:For an NVIDIA GPU inside Compose, add a
deploy.resources.reservations.devices block to the ollama service and install the NVIDIA container toolkit. For Ollama on the host (the usual choice on a Mac, where Docker cannot reach the GPU), delete the ollama service, set OLLAMA_HOST=http://host.docker.internal:11434, and on Linux add extra_hosts: ["host.docker.internal:host-gateway"] to the openclaw service.We cover volumes, TLS, and image pinning in detail in our guide to running OpenClaw with Docker Compose in 2026, and the Ubuntu-specific install and update flow in OpenClaw Docker on Ubuntu.
Why does ollama launch openclaw fail with unknown integration openclaw, and how do you fix it?
The unknown integration openclaw error means the Ollama binary you ran predates the OpenClaw integration, or a second, older ollama binary sits earlier on your PATH than the updated app. Run ollama --version, update to 0.18.1 or newer, run which ollama to confirm the path, restart the Ollama service, then retry the launch command.
The second cause catches Mac users most often: the Ollama desktop app updates itself, but a Homebrew-installed CLI in /opt/homebrew/bin can stay old, and
which ollama shows which one your shell found. Remove or upgrade the stale copy, open a new terminal, and the integration list refreshes.Three related failures have different fixes. "Ollama not detected" means the server is not running; start the app or run
ollama serve. "No models available" means nothing is pulled yet; run ollama pull qwen3:14b or pick a cloud model. "Connection refused" from inside Docker means you used localhost instead of host.docker.internal or the service name.Why do OpenClaw agents loop, ignore tools, or return errors with certain local models?
OpenClaw agents loop or ignore tools when the model has no tool-calling template, when Ollama's default 4096-token context truncates the system prompt and tool schemas, or when a reasoning model emits thinking text instead of a structured call. Fix it by switching to a tools-tagged model, raising OLLAMACONTEXTLENGTH to 32768, and disabling thinking for routine tasks.
Context is the fix people miss. The Ollama FAQ states the default context window is 4096 tokens as of November 2026, and OpenClaw's system prompt plus a dozen tool schemas can exceed that before your message arrives. Set
OLLAMA_CONTEXT_LENGTH=32768 as a server environment variable, or declare contextWindow per model in openclaw.json so OpenClaw trims history correctly.Thinking models such as qwen3 deserve a decision rule: enable thinking for planning-heavy tasks and disable it for channel chat and recurring jobs, where the extra tokens double latency without improving tool selection.

Should you use Ollama Cloud or a fully local Ollama install as the OpenClaw backend?
Use fully local Ollama when privacy is the priority and your machine has at least 16 GB of memory for a 14B-class tool-calling model. Use Ollama Cloud when you need frontier-class speed and quality from models like kimi-k2.5:cloud without GPU hardware, accepting that prompts leave your machine and usage is metered under Ollama's published limits.
Ollama Cloud models carry the
:cloud suffix and run after ollama signin; the free tier and paid tiers with their usage limits are published on ollama.com/cloud.Our decision rule: if the agent reads customer data, contracts, or trading positions, keep inference local or on a provider whose key you own. If the agent mostly drafts, researches, and schedules, Ollama Cloud or a BYOK key to Anthropic or OpenAI will be faster and cheaper than buying a GPU.
Is OpenClaw the same as Open WebUI, and can both share one Ollama?
OpenClaw and Open WebUI are different tools that happily share one Ollama server. Open WebUI is a chat interface for talking to models in a browser, while OpenClaw is an agent runtime that runs tasks, calls tools, and answers on Telegram, WhatsApp, Discord, and Slack. Both connect to the same http://localhost:11434 endpoint without conflict.
A common setup runs Open WebUI on port 3000 for chat and OpenClaw's gateway on 18789 for automation, both pointed at one Ollama. Watch memory: two different models requested at once will both load, so standardize on one model family or raise
OLLAMA_MAX_LOADED_MODELS deliberately.When should you run OpenClaw on Agent 37 instead of your own laptop or Mac Mini?
Run OpenClaw on Agent 37 when the agent must stay online after your laptop sleeps, when a contractor needs access without screen sharing, or when you host agents for clients. Agent 37 starts at $3.99 per month, isolates each OpenClaw instance in its own container, and lets its Ollama provider point at your GPU box or Ollama Cloud.
Our Mac Mini to Agent 37 migration guide is the method we use: export the OpenClaw config, API keys, and channel tokens, provision a matching instance, reconnect integrations through the dashboard, run both systems in parallel for 24 to 48 hours, then retire the local processes.
Agent 37 Basic allocates 1 vCPU, 4 GB RAM, and 8 GB storage, sized for the OpenClaw runtime, gateway, and task board, not for holding a 9 GB qwen3:14b weight file. The Ollama OpenClaw pattern that works on Agent 37 is a hosted agent whose provider base URL points at your GPU machine over a private network, at Ollama Cloud, or at Anthropic and OpenAI through bring-your-own keys that never pass through Agent 37.
What you gain is operational: a browser TTY terminal, visual file browser, and live Linux desktop via noVNC for editing openclaw.json without SSH, automatic runtime updates and security patches, and 1000+ integrations through Composio including Gmail, WhatsApp, Slack, and GitHub. Agencies get white-label APIs and preloaded templates. For a plain-language explanation of the model, see what OpenClaw managed hosting includes. Gartner predicts 40 percent of enterprise apps will feature task-specific AI agents by 2026, and that assumption rests on production-grade runtimes, not a laptop that must stay awake.
How did we compare these options?
We compared the published Ollama docs and release notes, the OpenClaw docs for the Ollama provider and Docker install, the tools capability tags on ollama.com model pages, and Agent 37's own plan specs and pricing. We did not benchmark tokens per second, and every time-sensitive fact is stamped November 2026.
How do you get started with Agent 37?
Getting started with Agent 37 takes one click: pick the OpenClaw runtime, deploy, and the agent stack is live in an isolated container from $3.99 per month. Add your provider API keys, which go directly to Anthropic, OpenAI, or any other provider, set the Ollama provider base URL, and assign the first job from the built-in task board.
We reached #1 Product of the Day on Product Hunt by making exactly this path simple for non-technical founders, with guidance and community support included. Deploy your OpenClaw agent on Agent 37 and point it at the Ollama models you already run.
What do people also ask?
What Ollama version is required for ollama launch openclaw?
Ollama 0.18.1 or newer as of November 2026. Run
ollama --version to check; if launch is missing or returns unknown integration openclaw, update Ollama, confirm which ollama points at the updated binary, and restart the Ollama service before retrying.Which Ollama models work best with OpenClaw?
Models with the tools capability tag on ollama.com. Locally, qwen3:14b on 16 GB machines and qwen3:30b-a3b or gpt-oss:20b on 24 GB GPUs are the dependable picks; in Ollama Cloud, kimi-k2.5:cloud and glm-4.7:cloud. Avoid llama3:8b, gemma3, and deepseek-r1 distills, which lack tool templates or loop.
How do I fix the unknown integration openclaw error?
The error means your Ollama binary predates the OpenClaw integration or an older copy sits earlier on PATH. Update to Ollama 0.18.1 or newer, run
which ollama to find stale Homebrew or manual installs, remove or upgrade them, open a fresh terminal, and run ollama launch openclaw again.Can OpenClaw on Agent 37 use a local Ollama model?
Yes, by pointing the Ollama provider base URL at your own GPU machine over a private network such as a VPN or Tailscale, or at Ollama Cloud. Agent 37 hosts the OpenClaw agent, gateway, and task board from $3.99 per month; its Basic plan (1 vCPU, 4 GB RAM, 8 GB storage) is not sized to serve large model weights itself.
Should I use Ollama Cloud or local Ollama for OpenClaw?
Use local Ollama when privacy matters and you have at least 16 GB of memory for a 14B tool-calling model. Use Ollama Cloud when you want frontier-class models like kimi-k2.5:cloud with no GPU, accepting that prompts leave your machine and usage limits published on ollama.com/cloud apply.
