Skip to content

Ollama Docs, Revised

OpenClaw

Task page. 10 changes, 3 questions for the owner. Audit: mixed. Original source at commit 318ee28.

Revised

OpenClaw is a personal AI assistant that runs on your own devices. It bridges messaging services (WhatsApp, Telegram, Slack, Discord, iMessage, and more) to AI coding agents through a centralized gateway.

Use Ollama to install, configure, and start OpenClaw with a local or cloud model.1X25?1

Quick start

ollama launch openclaw

Ollama handles everything automatically:

  1. 2Install: If OpenClaw isn't installed, Ollama prompts to install it through3 npm
  2. Security: On the first launch, a security notice explains the risks of tool access
  3. Model: Pick a model from the selector (see supported local and cloud models4)
  4. Onboarding: Ollama configures the provider, installs the gateway daemon, sets your model as the primary, and enables OpenClaw's bundled Ollama web search
  5. Gateway: Starts in the background and opens the OpenClaw terminal user interface (TUI)5

Note: OpenClaw requires a larger context window. Use a context window of at least 64k tokens if you use local models.6 See Context length for more information.

Note: Previously known as Clawdbot. ollama launch clawdbot still works as an alias.

Web search and fetch

OpenClaw ships with a bundled Ollama web_search provider that lets local or cloud-backed Ollama setups search the web through the configured Ollama host.

ollama launch openclaw

Ollama turns on web search automatically when you launch OpenClaw through Ollama.7 To configure it manually:

openclaw configure --section web

Note: Ollama web search for local models requires ollama signin.

Configure without launching

To change the model without starting the gateway and TUI:

ollama launch openclaw --config

To use a specific model directly:X2

ollama launch openclaw --model kimi-k2.5:cloud

If the gateway is already running, it restarts automatically to pick up the new model.

Run without interaction (headless mode)8

Run OpenClaw without interaction for use in Docker, CI/CD, or scripts:

ollama launch openclaw --model kimi-k2.5:cloud --yes

The --yes flag auto-pulls the model, skips selectors, and requires --model9.

Connect messaging apps

openclaw configure --section channels

Link WhatsApp, Telegram, Slack, Discord, or iMessage to chat with your local models from anywhere.

Stop the gateway10

openclaw gateway stop

Notes on this page

  1. 1 Added Audit: improved The page opened with a description of OpenClaw but never said what the page helps the reader do.

    proc-state-goal

    Auditor: The opening sentence tells readers what the page helps them do.

  2. 2 Wording Audit: improved The same change applies to all five items in the launch list: each em dash became a colon.

    Was: Install — If OpenClaw isn't installed, Ollama prompts to install it via npm

    punct-em-dash EmDash

    Auditor: Colons make the labels and explanations in the launch list easier to scan.

  3. 3 Wording Audit: improved Plain words: "through" instead of "via".

    Was: via

    Latin

    Auditor: “Through” is plainer than “via.”

  4. 4 Wording Audit: improved The link text now says where the link goes instead of "here"; the target is unchanged.

    Was: see supported local and cloud models here

    link-descriptive-text LinkText

    Auditor: The link text describes its destination while keeping the same target.

  5. 5 Wording Audit: improved The abbreviation is spelled out at its first use.

    Was: TUI

    SpellOutFirst

    Auditor: Spelling out “terminal user interface” helps readers who may not know the abbreviation.

  6. 6 Wording Audit: regression An instruction in the active voice that names the reader, with the same 64k figure.

    Was: It is recommended to use a context window of at least 64k tokens if using local models.

    voice-active-in-instructions PronounContractions

    Auditor: “Use” makes the 64k context window sound mandatory, while the original only recommends it.

  7. 7 Wording Audit: improved The passive hid who turns web search on, so Ollama is now the actor.

    Was: Ollama web search is enabled automatically when launching OpenClaw through Ollama.

    voice-active-in-instructions

    Auditor: Naming Ollama as the actor makes the automatic setup clearer.

  8. 8 Wording Audit: improved The heading used a prefix the standard closes; it now says what the reader does. No other page links to this heading.

    Was: Non-interactive (headless) mode

    ClosedPrefixes type-title-signals-type

    Auditor: The heading leads with the reader’s action and keeps the useful term “headless.”

  9. 9 Wording Audit: improved "To be specified" adds nothing to "requires".

    Was: --model to be specified

    prin-plain-words

    Auditor: Removing “to be specified” makes the requirement more direct without changing it.

  10. 10 Wording Audit: improved A task heading starts with the verb the reader performs. No other page links to this heading.

    Was: Stopping the gateway

    type-title-signals-type

    Auditor: The heading starts with the action the reader wants to perform.

Questions for the owner

  • ?1 This page covers several goals (launch, web search, change the model, run headless, connect messaging, stop the gateway); should it stay as one page or become a short quick start with separate pages for the rest?

    About: “Use Ollama to install, configure, and start OpenClaw with a local or cloud model.”

  • X2 Integration pages use cloud models the lifecycle page lists as retired. Cloud model lifecycle lists kimi-k2.5, glm-5 and qwen3-coder:480b as retired and says dependent tools must switch, but several integration pages still use them in commands and configs. Which replacement models should these integration pages use now that these cloud models are retired?

    Pages: Cloud model lifecycle, OpenClaw, Run Copilot CLI with Ollama, Hermes Agent, Run Droid with Ollama, Use Roo Code with Ollama

  • X25 CLI reference's list of launch integrations is short. The CLI reference lists five supported ollama launch integrations, while integration pages document other launch targets it omits, such as OpenClaw, DeepSeek Harness, Copilot and Pool. Should the CLI reference list every launch target or link to the Integrations overview instead?

    Pages: CLI reference, OpenClaw, Run DeepSeek Harness with Ollama, Run Copilot CLI with Ollama, Use Pool with Ollama

Original

OpenClaw is a personal AI assistant that runs on your own devices. It bridges messaging services (WhatsApp, Telegram, Slack, Discord, iMessage, and more) to AI coding agents through a centralized gateway.

Quick start

ollama launch openclaw

Ollama handles everything automatically:

  1. Install — If OpenClaw isn't installed, Ollama prompts to install it via npm
  2. Security — On the first launch, a security notice explains the risks of tool access
  3. Model — Pick a model from the selector (see supported local and cloud models here)
  4. Onboarding — Ollama configures the provider, installs the gateway daemon, sets your model as the primary, and enables OpenClaw's bundled Ollama web search
  5. Gateway — Starts in the background and opens the OpenClaw TUI

Note: OpenClaw requires a larger context window. It is recommended to use a context window of at least 64k tokens if using local models. See Context length for more information.

Note: Previously known as Clawdbot. ollama launch clawdbot still works as an alias.

Web search and fetch

OpenClaw ships with a bundled Ollama web_search provider that lets local or cloud-backed Ollama setups search the web through the configured Ollama host.

ollama launch openclaw

Ollama web search is enabled automatically when launching OpenClaw through Ollama. To configure it manually:

openclaw configure --section web

Note: Ollama web search for local models requires ollama signin.

Configure without launching

To change the model without starting the gateway and TUI:

ollama launch openclaw --config

To use a specific model directly:

ollama launch openclaw --model kimi-k2.5:cloud

If the gateway is already running, it restarts automatically to pick up the new model.

Non-interactive (headless) mode

Run OpenClaw without interaction for use in Docker, CI/CD, or scripts:

ollama launch openclaw --model kimi-k2.5:cloud --yes

The --yes flag auto-pulls the model, skips selectors, and requires --model to be specified.

Connect messaging apps

openclaw configure --section channels

Link WhatsApp, Telegram, Slack, Discord, or iMessage to chat with your local models from anywhere.

Stopping the gateway

openclaw gateway stop

What Changed

The page gets a goal sentence, and the five-item launch list loses its em dashes. A vague link, an unspelled abbreviation, two headings, and a few wordings follow the standard. Commands, models, and flags are untouched; the retired-model conflict and the CLI coverage gap are attached as questions.

Content type: task. The page's main job is to get a reader from nothing to a running OpenClaw through ollama launch, with short procedures for related goals.

Automated check, original: 1 errors, 8 warnings, 1 suggestions. Revised: 0 errors, 0 warnings, 0 suggestions.

Independent audit (GPT-6): mixed. The revision is clearer and easier to scan, with better link text and a spelled-out abbreviation. One edit turns a recommendation into a direct instruction, changing its force.

Regressions:

  • The context window sentence changes a recommendation into a direct instruction to use at least 64k tokens with local models.

What the revision missed:

  • The page ends after the gateway stop command without a final sentence telling readers what to do, despite the standard’s instruction to end task content with the reader’s next action.

Wording (9)

  • 2 The same change applies to all five items in the launch list: each em dash became a colon. improved
  • 3 Plain words: "through" instead of "via". improved
  • 4 The link text now says where the link goes instead of "here"; the target is unchanged. improved
  • 5 The abbreviation is spelled out at its first use. improved
  • 6 An instruction in the active voice that names the reader, with the same 64k figure. regression
  • 7 The passive hid who turns web search on, so Ollama is now the actor. improved
  • 8 The heading used a prefix the standard closes; it now says what the reader does. No other page links to this heading. improved
  • 9 "To be specified" adds nothing to "requires". improved
  • 10 A task heading starts with the verb the reader performs. No other page links to this heading. improved

Added (1)

  • 1 The page opened with a description of OpenClaw but never said what the page helps the reader do. improved