Skip to content

neul-labs/openclawOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10,948 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OpenClawOS

OpenClaw

CI status GitHub release Discord MIT License

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.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                          OpenClawOS                                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚                         KERNEL                                 β”‚ β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
β”‚  β”‚  β”‚ Gateway β”‚  β”‚  Agent   β”‚  β”‚ Memory  β”‚  β”‚     Sessions     β”‚ β”‚ β”‚
β”‚  β”‚  β”‚ Server  β”‚  β”‚ Runtime  β”‚  β”‚ (Embed) β”‚  β”‚                  β”‚ β”‚ β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
β”‚  β”‚                           β”‚                                    β”‚ β”‚
β”‚  β”‚                      IPC Server                                β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚                              β”‚                                      β”‚
β”‚                     Unix Socket (JSONL)                             β”‚
β”‚                              β”‚                                      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚                     APPS (Process Isolated)                   β”‚  β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚  β”‚
β”‚  β”‚  β”‚ Telegram β”‚  β”‚ Discord  β”‚  β”‚  Slack   β”‚  β”‚ WhatsApp β”‚ ... β”‚  β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Core Concepts

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)

Quick Start

# Install
npm install -g openclaw@latest

# Run onboarding wizard
openclaw onboard --install-daemon

# Start the gateway
openclaw gateway

Package Ecosystem

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

Supported Channels

Production Ready

  • Telegram - Bot API integration
  • Discord - Full guild and thread support
  • Slack - Bolt framework
  • WhatsApp - Business API
  • Signal - via signal-cli

Beta

  • iMessage - macOS native
  • Google Chat - Workspace API
  • Microsoft Teams - Bot Framework
  • Matrix - Self-hosted, federated

Community

  • IRC, LINE, Twitch, Nostr, and more

Models

OpenClawOS supports multiple LLM providers:

  • Anthropic - Claude (recommended: Claude Opus 4.6)
  • OpenAI - GPT-4, Codex
  • Google - Gemini
  • Custom - Any OpenAI-compatible API

Development

From Source

git clone https://github.com/openclaw/openclaw.git
cd openclaw

pnpm install
pnpm build

pnpm openclaw gateway

Building Apps

import { 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.

Documentation

Comprehensive documentation is available in the documentation/ directory:

Build Documentation

cd documentation
pip install mkdocs-material
mkdocs serve

Project Structure

openclaw/
β”œβ”€β”€ 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

Links

License

MIT License - see LICENSE for details.

About

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.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors