OpenClawOS is an OS-like architecture for AI assistants. It provides a kernel-based design with process-isolated applications, enabling reliable multi-channel AI assistant infrastructure.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β OpenClawOS β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β KERNEL β β
β β βββββββββββ ββββββββββββ βββββββββββ ββββββββββββββββββββ β β
β β β Gateway β β Agent β β Memory β β Sessions β β β
β β β Server β β Runtime β β (Embed) β β β β β
β β βββββββββββ ββββββββββββ βββββββββββ ββββββββββββββββββββ β β
β β β β β
β β IPC Server β β
β βββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ β
β β β
β Unix Socket (JSONL) β
β β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β APPS (Process Isolated) β β
β β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β β
β β β Telegram β β Discord β β Slack β β WhatsApp β ... β β
β β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Component | Description |
|---|---|
| Kernel | Core gateway: routing, sessions, agent runtime, memory |
| Apps | Process-isolated channels and plugins (IPC communication) |
| Skills | In-process agent tools (coding, canvas, memory) |
| Extensions | Kernel enhancements (auth providers, hooks) |
# Install
npm install -g openclaw@latest
# Run onboarding wizard
openclaw onboard --install-daemon
# Start the gateway
openclaw gateway| Type | Isolation | Examples |
|---|---|---|
| Apps | Process | @openclawos/telegram, @openclawos/discord, @openclawos/slack |
| Skills | In-process | coding-agent, canvas, memory |
| Agents | Config | agent-coder, agent-writer |
| Extensions | In-process | auth providers, gateway methods |
- Telegram - Bot API integration
- Discord - Full guild and thread support
- Slack - Bolt framework
- WhatsApp - Business API
- Signal - via signal-cli
- iMessage - macOS native
- Google Chat - Workspace API
- Microsoft Teams - Bot Framework
- Matrix - Self-hosted, federated
- IRC, LINE, Twitch, Nostr, and more
OpenClawOS supports multiple LLM providers:
- Anthropic - Claude (recommended: Claude Opus 4.6)
- OpenAI - GPT-4, Codex
- Google - Gemini
- Custom - Any OpenAI-compatible API
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm build
pnpm openclaw gatewayimport { ChannelApp } from "@openclawos/sdk/app";
class MyChannelApp extends ChannelApp {
protected channelId = "mychannel";
manifest = { ... };
protected async setupChannel(): Promise<void> {
// Initialize channel connection
}
protected async handleInbound(event): Promise<void> {
await this.dispatchInbound(event.from, event.content);
}
protected async sendMessage(params): Promise<void> {
// Send via platform API
}
}
new MyChannelApp().start();See Developing Apps for the full guide.
Comprehensive documentation is available in the documentation/ directory:
cd documentation
pip install mkdocs-material
mkdocs serveopenclaw/
βββ packages/
β βββ kernel/ # Supervisor, IPC server
β βββ protocol/ # IPC message types, manifest schema
β βββ sdk/ # App SDK (ChannelApp, KernelClient)
βββ apps/ # Process-isolated channel apps
β βββ telegram/
β βββ discord/
β βββ slack/
β βββ ...
βββ src/ # Kernel source
β βββ gateway/ # HTTP/WS server
β βββ agent/ # Agent runtime
β βββ memory/ # Vector memory
β βββ sessions/ # Session management
βββ extensions/ # Kernel enhancements
βββ documentation/ # MkDocs documentation
βββ ui/ # Web UI
MIT License - see LICENSE for details.