Skip to content

OpenClaw Documentation Guide: 200+ Docs — Where Do You Start?

Mar 28, 2026 1 min
TL;DR OpenClaw has 200+ docs. This article helps you see the big picture, understand what each section covers, and decide where to start based on your role.
Table of Contents
  1. What OpenClaw Does
  2. Documentation Overview
  3. Series Article Map
    1. Getting Started (#1-3)
    2. Platforms (#4-5)
    3. Models (#6-8)
    4. Agent Core (#9-12)
    5. Channels (#13-16)
    6. Security (#17-19)
    7. Tools (#20-23)
    8. Automation (#24-25)
    9. Gateway (#26-27)
    10. Plugins (#28)
    11. Interfaces (#29-30)
    12. Operations and Reference (#31-32)
  4. Which Reader Are You?
  5. The Big Picture
  6. Changelog
  7. References

🌏 中文版

OpenClaw is an open-source, self-hosted AI gateway — a single Gateway program that connects WhatsApp, Telegram, Discord, iMessage, and 24+ other chat platforms to an AI agent. Its documentation spans 16 directories and 335 files, covering everything from installation to threat modeling. This article is the starting point for the entire series: get the big picture first, then decide where to dive in.

What OpenClaw Does

Chat App (WhatsApp / Telegram / Discord / iMessage / Slack / ...)

   Gateway (runs locally, port 18789)

  ┌────┼────┬────────┬──────────┬──────────┐
  AI   CLI   Web UI   macOS App   Mobile Node
Agent              (Control UI)   (iOS/Android)

You send a message from your phone; the Gateway routes it to an AI agent; the agent uses tools to take action (read files, run commands, open a browser, search the web), then sends the result back to your chat app. The Gateway is the sole control plane, and everything runs on your own machine.

This is not just a chatbot framework. It is a full-fledged AI agent operations system covering: multi-model provider switching, sandbox isolation, scheduled automation, a plugin ecosystem, Mobile Node integration, and enterprise-grade access control.

Documentation Overview

DirectoryFile CountWhat It Covers
cli/48Usage and parameters for every CLI command
tools/40Browser control, 8 search engines, Sub-Agent, Skills, Exec, TTS, PDF...
providers/38Authentication and configuration for 35+ model providers (Anthropic, OpenAI, Google, DeepSeek, Ollama...)
gateway/34Gateway configuration, networking model, protocols, API, sandbox, secrets, remote access
concepts/29Core architectural concepts: Agent Loop, Session, Memory, Streaming, Context Engine...
channels/29Configuration for 24+ channels: WhatsApp QR pairing, Telegram Bot, Discord, Slack, Signal...
install/27npm, Docker, K8s, Nix, Bun, 9 cloud platforms, Raspberry Pi, Ansible
plugins/17Plugin SDK, architecture, Channel/Provider Plugin development, testing, publishing
reference/16AGENTS.md templates, token billing, Prompt Caching, RPC, release process
platforms/10Platform-specific notes for macOS, Linux, Windows/WSL2, iOS, Android
automation/9Cron scheduling, Webhooks, Standing Orders, Gmail PubSub, Hooks
nodes/9iOS/Android Node pairing, Camera, Audio, Voice Wake, Location
help/7FAQ, troubleshooting, debugging, environment issues
web/5Control UI, Dashboard, WebChat, TUI
security/3MITRE ATLAS threat model, formal verification
Root~12Pi integration architecture, auth semantics, CI, VPS, network topology

Series Article Map

This series contains 32 articles organized into 12 sections. Below is a summary of each section's focus and intended audience.

Getting Started (#1-3)

#TitleWhat You'll Learn
1This articleThe big picture, doc structure, where to start
2Installation (Part 1): Choosing Among Six Local MethodsThe trade-offs, plus the npm/pnpm lifecycle-script, PATH, and OOM traps that actually stop an install
3Installation (Part 2): Four Decisions for Cloud DeploymentBinding and auth, admin isolation, trust boundary, recoverability, and K8s probe/ConfigMap behavior

Best for: Everyone. Get it installed first.

Platforms (#4-5)

#TitleWhat You'll Learn
4Desktop: Windows Now Has a Native HubNode as a hard requirement, the three Windows paths, service targets per OS
5Mobile: Phones Are Peripherals, Not GatewaysThree-tier approval scopes, watchOS's dedicated transport, the upgrade order

Best for: Multi-device users.

Models (#6-8)

#TitleWhat You'll Learn
6Model Requirements and the Provider EcosystemProvider/model/agent runtime/channel are four layers; openai/* does not mean Codex
7A Category Map of 60 ProvidersThe real bar for local models: tool support, 16K context, and never /v1
8Models, Advanced: Failover, Cooldowns, CachingWho chose the model decides its strictness; cooldowns are 30s → 1m → 5m

Best for: Anyone choosing models, cutting cost, or needing high availability.

Agent Core (#9-12)

#TitleWhat You'll Learn
9Multi-Agent: Persona Boundaries and Agents Spawning AgentsWhere isolation really ends, plus provenance and the human gate
10Agent Runtime: How the System Prompt Is AssembledThree-layer assembly, the cache boundary, the Promised Work contract
11Agent Loop: Serialization and Writer ClaimsWhy a superseded turn cannot write; the two hook systems
12Sessions and MemoryMain-session convergence, incognito boundaries, four memory files, dreaming

Best for: Anyone who wants to understand how the agent actually works.

Channels (#13-16)

#TitleWhat You'll Learn
13Channels Overview: 31 Channels, Nearly All Plugins"Who can trigger" and "what the model sees" are separate axes
14Main Channels: WhatsApp, Telegram, DiscordEach channel's silent-failure mode
15Enterprise Channels: Slack's Three TransportsPick by deployment shape; the shared-Slack-app trap
16Other Channels and ReefAn encrypted side channel between different people's agents

Best for: Anyone connecting AI to a specific chat platform.

Security (#17-19)

#TitleWhat You'll Learn
17Sandboxing: Four Backends, Three Switchestools.exec.host defaults to auto, so "unset means sandboxed" is false
18Threat Model: What It Does Not ProtectThe personal-assistant trust boundary and the not-a-vulnerability list
19Access Control: SecretRef Sentinels and LimitsIt removes plaintext from config, but it is not process isolation

Best for: Anyone who cares about security. OpenClaw runs system commands; security is not optional.

Tools (#20-23)

#TitleWhat You'll Learn
20Browser and SearchThree browser profiles; search results typed as untrusted
21Skills and Sub-AgentsSix-layer precedence; why sub-agents get no message tool
22ExecTurning off the file tools does not make exec read-only
23Large Catalogs: Code Mode, Tool Search, MCPTwo answers for when tools outgrow the prompt

Best for: Anyone wondering what the agent can do without burning all their tokens.

Automation (#24-25)

#TitleWhat You'll Learn
24Choosing Among Six Automation MechanismsAutomations (exact) versus Heartbeat (contextual); failure semantics
25Standing OrdersAuthorization versus clock; bootstrap injects only six files

Best for: Anyone scheduling work or delegating routine tasks.

Gateway (#26-27)

#TitleWhat You'll Learn
26Configuration and Strict ValidationAn unknown key stops the Gateway booting; the three anti-clobber shapes
27Binding, Auth, and Credential PrecedenceNon-loopback forces auth; the ordering that decides which credential wins

Best for: Ops engineers and anyone wanting remote access.

Plugins (#28)

#TitleWhat You'll Learn
28The Plugin System: Install Security and VerificationTreat installs like running code; only inspect --runtime proves loading

Best for: Anyone extending OpenClaw.

Interfaces (#29-30)

#TitleWhat You'll Learn
29Nodes in Depth: Remote Execution ApprovalApproval binds the plan, not later-editable fields
30UI: Control UI, TUI, Web ChatThe session rail observes a running agent without interrupting it

Best for: Everyday users operating from a browser or phone.

Operations and Reference (#31-32)

#TitleWhat You'll Learn
31Operations: Triage and TroubleshootingThe seven-command ladder; check the tool profile before blaming the model
32Reference: Agent Runtime ArchitecturePi was absorbed; the built-in runtime is openclaw

Best for: Anyone hitting problems or wanting the internal architecture.

Which Reader Are You?

"I just want it running" → #1 → #2 → #14 (pick a channel) → #6 (choose a model). Four articles.

"I want to be a daily user" → Those four + #30 (UI) + #12 (sessions and memory) + #24 (automation).

"I want to understand the architecture" → #9-12 (agent core) → #32 (runtime architecture) → #17-19 (security).

"I want to deploy to production" → #3 (cloud) → #26-27 (Gateway) → #17-19 (security) → #31 (troubleshooting).

"I want to develop plugins" → #28 (plugin system) + #21 (skills) + #23 (MCP and Code Mode).

"I care about security" → #18 (threat model) → #17 (sandboxing) → #19 (SecretRef) → #13 (the two channel axes).

"I want enterprise messaging" → #13 (channels overview) → #15 (Slack/Teams) → #19 (access control) → #9 (multi-agent).

The Big Picture

OpenClaw's documentation volume reflects its ambition: it is not just a "chatbot framework" but a complete AI agent operations system. It covers everything from model provider management and sandbox security to MITRE ATLAS threat analysis. 335 files may look daunting, but the organizational structure is clear — once you know what you need, you can quickly find the right section.

This series will break down every section in detail. Next up: installation.

Changelog

  • 2026-08-18 (second pass): After all 32 articles were revised against the current official docs, the series map was rebuilt — every title and focus line changed (for example #32 moved from "Pi integration architecture" to "Agent runtime architecture", since Pi has been absorbed into core), and the "Which Reader Are You?" routes were reordered with a new "I care about security" path.
  • 2026-08-18: Corrected the series map. The series was planned as 36 articles but landed at 32 — multi-gateway and background processes, the Gateway API, a standalone plugin-building guide, and the CLI quick-reference appendix were never published separately, with multi-gateway and plugin development folded into existing articles instead. Numbering from #26 onward, the section headings, and the "Which Reader Are You?" routes have all been realigned to the articles that actually exist.

References

This article is compiled from the following original OpenClaw documents: