Installation Guide
How to Install
Clawra
Complete setup guide to install Clawra on Windows, macOS, and Linux using OpenClaw framework
01 — Overview
Clawra Installation
Overview
Installing Clawra is a straightforward process that leverages the OpenClaw framework. This guide will walk you through setting up Clawra on Windows, macOS, or Linux, enabling you to run your own AI companion with full control over data and privacy.
Clawra is built on OpenClaw, the revolutionary open-source AI agent framework created by Peter Steinberger. You’ll need to install OpenClaw first, then add Clawra as a custom skill.
02 — Requirements
System
Requirements
What you need before installing Clawra
Operating System
- Windows 10/11
- macOS 11+ (Big Sur or later)
- Ubuntu 20.04+ or equivalent
Software
- Python 3.9 or higher
- pip (Python package manager)
- Git
Hardware
- 4GB RAM minimum (8GB recommended)
- 500MB free disk space
- Internet connection for AI APIs
API Keys (Optional)
- xAI API (for Grok)
- Anthropic API (for Claude)
- fal.ai API (for selfies)
- Discord/Telegram tokens
03 — Step-by-Step
Installation
Steps
Step 01
Install Prerequisites
Before installing Clawra, ensure your system has the required software
Windows Setup
Install Python from python.org. Download Python 3.9+ installer and check "Add to PATH".
Install Git from git-scm.com.
Verify installation:
python --version pip --version git --version
macOS Setup
Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python git
Linux Setup
Ubuntu/Debian:
sudo apt update sudo apt install python3 python3-pip git -y
python3 --version git --version
Step 02
Install OpenClaw Framework
OpenClaw is the foundation that Clawra is built on
OpenClaw is the revolutionary open-source AI agent framework created by Peter Steinberger. Installing OpenClaw is simple using pip.
Install OpenClaw via pip
pip install openclaw
Or install with specific platform dependencies
# For Discord support pip install openclaw[discord] # For Telegram support pip install openclaw[telegram] # For multiple platforms pip install openclaw[discord,telegram,whatsapp]
Verify OpenClaw Installation
python -c "import openclaw; print(openclaw.__version__)"
OpenClaw Platform Options: OpenClaw supports multiple messaging platforms. Install only the ones you need: Discord, Telegram, WhatsApp, Slack, Signal, MS Teams, and more.
Step 03
Clone Clawra Repository
Get the latest Clawra code from the official GitHub repository
Clawra is open-source and hosted on GitHub at github.com/SumeLabs/clawra. Clone the repository to get the Clawra source code.
# Clone the Clawra repository git clone https://github.com/SumeLabs/clawra.git # Navigate to the Clawra directory cd clawra
Repository Structure
After cloning, you'll see the Clawra project structure with custom OpenClaw skills for selfie generation, personality management, memory system, and video calls.
Step 04
Install Clawra Dependencies
Install the Python packages required for Clawra to run
Clawra requires several Python packages to function properly, including the OpenClaw framework, AI model clients, and API integration libraries.
# Install all Clawra dependencies pip install -r requirements.txt
Key Dependencies
openclawCore OpenClaw frameworkanthropicAnthropic API client for ClaudeopenaiOpenAI-compatible client for xAI Grokfal-clientfal.ai client for image generationpydanticData validationaiohttpAsync HTTP requestsStep 05
Configure Your Clawra Instance
Set up the configuration file with your API keys and preferences
Clawra requires configuration for AI models, messaging platforms, and optional features like selfie generation. Copy the example configuration and edit it with your settings.
# Copy the example configuration cp config.example.yaml config.yaml # Edit the configuration file nano config.yaml # Linux/macOS notepad config.yaml # Windows
Essential Configuration Settings
You'll need to configure:
- ·AI Provider: Anthropic (Claude) or xAI (Grok)
- ·API Keys: Your AI model API keys
- ·Platform Tokens: Discord, Telegram, or WhatsApp bot tokens
- ·Optional Skills: Selfie generation (fal.ai key), video call
Important: API Keys Required
To use Clawra's full capabilities, you'll need API keys from:
- ·Anthropic — console.anthropic.com/ (for Claude models)
- ·xAI — x.ai/api (for Grok models)
- ·fal.ai — fal.ai/ (for selfie generation)
- ·Discord Developer Portal — discord.com/developers/applications (for bot tokens)
Step 06
Start Your Clawra Instance
Launch Clawra and begin interacting with your AI companion
Once configured, start Clawra using the main script. Clawra will connect to your configured messaging platforms and be ready to interact.
# Start Clawra python main.py
Expected Output
When Clawra starts successfully, you'll see confirmation messages showing connection to your messaging platforms and successful loading of Clawra's personality and skills.
Common Commands
/selfie
Generate a Clawra selfie
/remember [text]
Store information in memory
/recall
Recall stored memories
/help
Display all available commands
04 — Platforms
Platform-Specific
Setup
Clawra supports multiple messaging platforms through OpenClaw
Discord Bot Setup
- 1.Go to Discord Developer Portal
- 2.Create a new application and bot
- 3.Copy the bot token to config.yaml
- 4.Enable Message Content intent
- 5.Invite bot to your server
Telegram Bot Setup
- 1.Message @BotFather on Telegram
- 2.Send /newbot and follow prompts
- 3.Copy the API token to config.yaml
- 4.Start chatting with your Clawra bot
WhatsApp Setup
- 1.Get WhatsApp Business API access
- 2.Configure webhooks for Clawra
- 3.Add phone number and API credentials
- 4.Test webhook connection
05 — Verification
Verify Your
Installation
Ensure everything is working correctly
Installation Checklist
- ✓OpenClaw framework installed
- ✓Clawra repository cloned
- ✓All dependencies installed
- ✓Configuration file created
- ✓API keys configured
- ✓Platform tokens added
- ✓Clawra starts without errors
- ✓Bot responds to messages
- ✓Selfie generation works (if configured)
- ✓Memory system functioning
Test Commands
Try these commands to test Clawra:
06 — Continue
What's
Next?
Continue your Clawra journey with these guides
Configuration Guide
Deep dive into Clawra's configuration options and customization. Learn how to personalize AI models, platform settings, and skill configurations.
Learn More→Usage Guide
Master Clawra's features and capabilities. Learn effective interaction patterns, selfie generation, memory management, and more.
Learn More→Customization
Personalize Clawra's personality, backstory, and behavior. Create your own unique AI companion experience.
Learn More→Troubleshooting
Solve common issues and get help with installation problems. Find solutions for API errors, platform connection issues, and more.
Learn More→