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.

🌏 中文版

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 36 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 articleBig picture, doc structure, where to start
2Installation Guide (Part 1): Local Deploymentnpm / Docker / Nix / Bun / Podman / Raspberry Pi
3Installation Guide (Part 2): Cloud Platforms & K8sAzure / GCP / DigitalOcean / Hetzner / Fly.io / Railway / K8s / Ansible

Best for: Everyone. Install it first, ask questions later.

Platforms (#4-5)

#TitleWhat You’ll Learn
4Desktop Platforms: macOS, Linux, WindowsOS-specific differences, WSL2 setup, macOS menu bar app
5Mobile Platforms: iOS & AndroidMobile app installation and pairing flow

Best for: Multi-device users.

Models (#6-8)

#TitleWhat You’ll Learn
6Model Requirements & Provider EcosystemOverview of 35+ providers, Tool Use requirements, setup for the big three
7More Providers: DeepSeek, Groq, Ollama, OpenRouter…Authentication and configuration for 30+ additional providers
8Advanced Models: Failover, Prompt Caching & Token BillingAuth rotation, cooldown mechanisms, billing tracking

Best for: Anyone choosing models, cutting costs, or ensuring high availability.

Agent Core (#9-12)

#TitleWhat You’ll Learn
9Multi-Agent & Delegate ArchitectureMulti-agent routing, binding, delegate agents
10Agent Runtime: Workspace, System Prompt & BootstrapWhat an agent’s “home” looks like and how to customize its personality
11Agent Loop: Execution Cycle, Streaming & QueueThe complete flow of a single agent execution
12Session, Memory & CompactionHow conversations are stored, compressed, and remembered

Best for: Anyone who wants to deeply understand how the agent works. This is the heart of OpenClaw.

Channels (#13-16)

#TitleWhat You’ll Learn
13Channel Overview: Pairing, Groups & RoutingDM/Node Pairing, group strategies, routing rules
14Primary Channels: WhatsApp, Telegram, DiscordComplete setup for the three main channels
15Enterprise Channels: Slack, Teams, Google Chat, MatrixEnterprise messaging platform integration
16Other Channels: Signal, iMessage, LINE, IRC, Nostr…Niche but interesting channels

Best for: Anyone who wants to connect AI to a specific chat platform.

Security (#17-19)

#TitleWhat You’ll Learn
17Sandbox Mechanisms: Docker, SSH & OpenShellThree sandbox backends, Tool Policy, Elevated escape hatch
18Threat Model: MITRE ATLAS Security AnalysisPrompt Injection, token theft, supply chain risks
19Access Control: Auth, Secrets & OAuthAuthentication mechanisms, secret management, Trusted Proxy

Best for: Anyone who cares about security. OpenClaw lets AI execute system commands — security is not optional.

Tools (#20-23)

#TitleWhat You’ll Learn
20Browser Control & Search Engine IntegrationBrowser Tool, 8 search engines, Firecrawl
21Sub-Agents, Skills & ClawHubChild agents, the skill system, community marketplace
22Execution Tools: Exec, Thinking, DiffsCommand execution, deep reasoning, code patching
23More Tools: TTS, PDF, Lobster, ReactionsText-to-speech, PDF, Pipeline, emoji reactions

Best for: Anyone who wants to know what an AI agent can do.

Automation (#24-25)

#TitleWhat You’ll Learn
24Cron, Webhooks & Event-Driven AutomationScheduling, HTTP hooks, Gmail PubSub, polling
25Standing Orders: Letting the Agent Act AutonomouslyAuthorization framework, Scope/Trigger/Escalation

Best for: Anyone who wants AI to run tasks on a schedule or respond to external events.

Gateway (#26-29)

#TitleWhat You’ll Learn
26Gateway Configuration & Hot ReloadConfig file structure, live reloading, Config RPC
27Gateway Networking: Protocols & Remote AccessNetworking model, Tailscale, Bridge Protocol
28Multi-Gateway & Background ProcessesMulti-instance deployment, profile isolation, Rescue Bot
29Gateway API: OpenAI-Compatible & Tool CallingHTTP API, OpenResponses, RPC

Best for: Ops engineers, and anyone who wants remote access or to expose an API to other systems.

Plugins (#30-31)

#TitleWhat You’ll Learn
30Plugin Architecture & SDK OverviewPlugin system design, SDK entry points, runtime
31Build Your Own PluginChannel/Provider Plugin development, testing, publishing

Best for: Developers who want to extend OpenClaw’s functionality.

Interfaces (#32-33)

#TitleWhat You’ll Learn
32Mobile Nodes: Pairing, Canvas, Camera, Voice WakeUsing your phone as an AI sensory extension
33Web UI: Control UI, Dashboard, WebChat, TUIFeatures and configuration of all user interfaces

Best for: Everyday users, and anyone who wants to operate from a browser or phone.

Operations & Reference (#34-36)

#TitleWhat You’ll Learn
34Operations & TroubleshootingDoctor, Health Check, Logging, common issues
35Pi Integration Architecture & Reference Quick LookupAgent Runtime engine, various reference materials
AppendixCLI Command Quick ReferenceUsage for all 48 CLI commands

Best for: Anyone running into issues, or anyone who wants to look up a specific command.

Which Reader Are You?

“I just want to get it running quickly” → #1 → #2 → #14 (pick a channel) → #6 (choose a model). Four articles and you’re done.

“I want to be a daily user” → The four above + #33 (Web UI) + #12 (Session) + #24 (automation scheduling).

“I want to deeply understand the architecture” → #9-12 (Agent Core) → #11 (Agent Loop) → #35 (Pi Integration) → #17-19 (Security).

“I want to deploy to production” → #3 (Cloud Platforms) → #26-29 (Gateway Operations) → #17-19 (Security) → #34 (Troubleshooting).

“I want to develop plugins” → #30-31 + #21 (Skills) + #22 (Exec) + #29 (API).

“I want to integrate enterprise messaging” → #13 (Channel 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.

References

This article is compiled from the following original OpenClaw documents: