This page provides a high-level introduction to OpenClaw's architecture, core concepts, and system organization. It explains what OpenClaw is, how its major components fit together, and where to find detailed documentation for each subsystem.
For installation and first-time setup, see Getting Started. For architectural details of the Gateway control plane, see Core Concepts. For platform-specific details, see Platform Architecture.
OpenClaw is a multi-platform AI gateway and personal assistant system that orchestrates conversations between messaging channels and AI agents AGENTS.md21 It connects to messaging platforms like WhatsApp, Telegram, Slack, and Discord, providing a unified interface for AI interaction CHANGELOG.md13
The system is designed around a Personal Assistant Trust Model, assuming a single trusted operator boundary per gateway. It enables agents to perform real-world tasks through a rich tool ecosystem, including browser automation via the google_meet tool, filesystem access, and specialized MCP (Model Context Protocol) servers docs/plugins/google-meet.md113-122 docs/gateway/configuration-reference.md84-88
Sources: AGENTS.md21 CHANGELOG.md13 docs/gateway/configuration-reference.md84-88 docs/plugins/google-meet.md113-122
The following diagram illustrates how the high-level system components map to specific code entities and directories within the repository.
Gateway as Central Control Plane
The Gateway is the core engine that manages the lifecycle of the assistant. It handles:
openclaw.json against the GENERATED_BASE_CONFIG_SCHEMA src/config/schema.base.generated.ts5-6runEmbeddedPiAgent pipeline and specialized toolsets CHANGELOG.md15diagnostics.otel) src/config/schema.base.generated.ts154-162Sources: src/config/schema.base.generated.ts1-10 CHANGELOG.md13-15 docs/gateway/configuration-reference.md9-18 AGENTS.md21
The Gateway is the always-on control plane. It manages Agents, which are execution contexts configured with specific models and workspace defaults docs/gateway/configuration-reference.md41-44 The system supports multi-agent routing where specific channels can be bound to different identities docs/gateway/configuration-reference.md46-47
A Session represents a specific conversation thread, with automated lifecycle management and compaction to handle context limits docs/gateway/configuration-reference.md48 Channels are the transport layers (like Slack, Discord, or Google Meet) that route messages to the Gateway docs/gateway/configuration-reference.md34-39
Tools are functional capabilities (like google_meet or mcp) that the agent can invoke extensions/google-meet/index.ts113 Skills are modular extensions that teach agents how to use these tools, managed via SKILL.md files and the skills configuration block docs/gateway/configuration-reference.md126-130
For a deeper dive, see Core Concepts.
Sources: docs/gateway/configuration-reference.md34-130 CHANGELOG.md13-15 extensions/google-meet/index.ts113
OpenClaw is built for high portability across desktop, server, and mobile environments.
| Platform | Role | Technology |
|---|---|---|
| Server / Desktop | Core Gateway | Node.js 22+ / TypeScript AGENTS.md46 |
| Web | Control UI | Browser-based Dashboard src/config/schema.help.ts46 |
| iOS / macOS | Native Client | Swift-based Apps (Talk mode support) src/config/schema.help.ts51-52 |
| Android | Native Client | Jetpack Compose src/config/schema.help.ts52 |
| Container | Deployment | Docker Multi-arch CHANGELOG.md43 |
For details on the build system and native integrations, see Platform Architecture.
Sources: AGENTS.md46 src/config/schema.help.ts51-52 extensions/google-meet/src/transports/chrome.ts18
OpenClaw operates on a Personal Assistant Trust Model. Because the assistant has access to sensitive local tools (like shell execution or browser control), it defaults to a "fail-closed" posture:
logging.redactSensitive) for logs and transcripts src/config/schema.help.ts45-48Sources: src/config/schema.help.ts45-48 docs/gateway/configuration-reference.md168-169 CHANGELOG.md43
The recommended way to set up OpenClaw is via the interactive onboarding wizard.
This command guides you through:
For a full walkthrough, see Getting Started.
Sources: src/config/schema.base.generated.ts80-127 CHANGELOG.md13-32 docs/gateway/configuration-reference.md13-22
Refresh this wiki
This wiki was recently refreshed. Please wait 4 days to refresh again.