OpenClaw GitHub

Official OpenClaw repository, installation from source, and contributing guide.

Quick Link

github.com/openclaw/openclaw

Star us on GitHub! ⭐

What's in the Repository

📁 Directory Structure

  • /cmd - CLI entry points
  • /gateway - Gateway service
  • /agents - Agent implementations
  • /providers - Model provider integrations
  • /channels - Channel integrations (Telegram, Discord, etc.)
  • /tools - Tool implementations

Install from Source

Prerequisites

  • • Go 1.22+
  • • Node.js 22+ (for CLI)
  • • Git

Clone and Build

# Clone the repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Install Go dependencies
go mod download

# Build the gateway
cd gateway && go build -o openclaw-gateway .
cd ..

# Or use the install script
curl -fsSL https://openclaw.ai/install.sh | bash

Common Issues from GitHub

Contributing

  • • Fork the repo and create a feature branch
  • • Follow the code style (run make lint)
  • • Write tests for new features
  • • Submit a Pull Request
  • • Join the Discord for discussion

Resources