Guide

OpenClaw with Ollama Herd

OpenClaw turns a local model into an agent that can touch files, browse, and reply through your messaging apps. Ollama Herd gives it a fleet to run on, and the context headroom that long agent sessions need.

TL;DR

Start with Ollama's own path

If you have not run OpenClaw before, use Ollama's built-in launcher first. It is the shortest path to a working agent and it does not need Herd:

ollama launch openclaw

That configures OpenClaw against your local Ollama and gets you an agent on one machine. If one Mac is all you have, you are done, and this guide has nothing to add. Come back when a single machine starts being the bottleneck.

Install the Ollama Herd skill

Ollama Herd publishes a skill on ClawHub, OpenClaw's skill registry. Install it once and any OpenClaw-compatible agent gains fleet awareness:

clawhub install ollama-herd

Or find it by search:

clawhub search "ollama herd"

With the skill installed, your agent can answer questions like "which node is busiest right now", "pull qwen3-coder onto the Studio", or "why did that request fail", without you memorising endpoints. Full skill reference on the Agent Skill page.

Point OpenClaw at your herd

OpenClaw talks to an Ollama-compatible endpoint. Ollama Herd is one, so this is a URL change rather than an integration:

# Instead of a single Ollama on one machine:
#   http://localhost:11434
#
# Point at the herd:
    http://localhost:11435

Nothing else in your OpenClaw config changes. Requests now get scored across every registered Mac and land on whichever one can answer fastest. See Quickstart if the herd is not running yet.

Why a fleet matters for agents specifically

Agent workloads are different from chat. A chat turn is short and forgiving. An OpenClaw session runs for hours, accumulates a long history, and fires many tool calls, and every one of those is a full inference request.

OpenClaw vs Claude Code: both, not either

These are different shapes of agent and Herd serves both from the same endpoint.

OpenClawClaude Code
Where you talk to itMessaging apps (WhatsApp, Telegram, Slack, Discord, iMessage)Terminal
Shape of workAmbient, long-running, reaches you anywhereFocused coding sessions at your desk
API it speaksOllama-compatibleAnthropic Messages API
Herd endpoint:11435 (Ollama + OpenAI compatible):11435 via ANTHROPIC_BASE_URL

Running both against one herd is the point: the same pool of Macs serves your terminal sessions and your messaging agent, and the router keeps them from trampling each other. See the Claude Code guide for that side.

Being honest about what Herd does not do

Related Reading