Lightweight Light Weight AI Assistant
LiteClaw is a lite weight AI Assistant gateway that connects LLMs to your world through messaging platforms (WhatsApp, Telegram, Slack). It enables powerful capabilities like Vision-powered OS control (mouse/keyboard) for browsers and desktop apps, shell execution, and proactive task management.
Note: LiteClaw is a lightweight, Python-based version of OpenClaw, focusing on speed, modularity, and easy deployment while providing the core agentic capabilities.
Just like its powerful parent project OpenClaw, LiteClaw (the lite mini version) captures user commands and executes them precisely, providing real-time feedback and screenshots.
- π€ Multi-LLM Support: Works with OpenAI, OpenRouter, Groq, DeepSeek, and local models (Ollama)
- ποΈ Vision OS Control: Cross-platform control (Windows, Linux, MacOS) via mouse movements and keyboard commands (Powered by Gemini 3 Flash and other Vision models)
- π‘ Multi-Channel Support: WhatsApp, Telegram, Slack
- π Proactive Heartbeat: Define periodic autonomous tasks in
HEARTBEAT.md - π§ Adaptive Personality: Soul/Personality/Subconscious memory that evolves over time
- π‘ Autonomous Innovation: A built-in "Subconscious" system that triggers random technical experiments and self-improvement tasks
- π§ Shell Execution: Run terminal commands safely
- π Cron Jobs: Schedule recurring tasks via API
- π§΅ Sub-Agents: Delegate long-running tasks to background agents
# Clone the repository
git clone https://github.com/Pr0fe5s0r/LiteClaw.git
cd LiteClaw
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# .venv\Scripts\activate # Windows
# Install in development mode
pip install -e .liteclaw onboardThis interactive wizard will:
- Set up your work directory (
~/liteclawon Mac/Linux,C:\liteclawon Windows) - Configure your LLM provider and API key
- Set up WhatsApp bridge (optional)
- Pair WhatsApp via QR code
liteclaw run| Command | Description |
|---|---|
liteclaw onboard |
Run the setup wizard |
liteclaw run |
Start the gateway (FastAPI + Node Bridge) |
liteclaw run --no-bridge |
Start without the Node.js bridge |
liteclaw config |
View current configuration |
liteclaw status |
Check system status |
After onboarding, your config is stored in:
- Mac/Linux:
~/liteclaw/config.json - Windows:
C:\liteclaw\config.json
| Provider | Base URL |
|---|---|
| OpenAI | https://api.openai.com/v1 |
| OpenRouter | https://openrouter.ai/api/v1 |
| Groq | https://api.groq.com/openai/v1 |
| DeepSeek | https://api.deepseek.com/v1 |
| Ollama (Local) | http://localhost:11434/v1 |
- During onboarding, select "WhatsApp (requires phone scan)"
- Scan the QR code with your WhatsApp mobile app
- Messages from your allowed numbers will be processed by the agent
Note: Add your WhatsApp ID to WHATSAPP_ALLOWED_NUMBERS in config.json to filter who can interact with the bot.
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββ
β WhatsApp ββββββΆβ Node Bridge ββββββΆβ FastAPI β
β (Phone) βββββββ (port 3040) βββββββ (port 8009)β
βββββββββββββββββββ ββββββββββββββββββββ ββββββββ¬βββββββ
β
βΌ
βββββββββββββββ
β LLM Agent β
β (LiteLLM) β
βββββββββββββββ
LiteClaw/
βββ src/liteclaw/
β βββ agent.py # Main AI agent logic
β βββ cli.py # CLI commands
β βββ config.py # Settings management
β βββ main.py # FastAPI application
β βββ memory.py # Conversation memory
β βββ scheduler.py # Cron job manager
β βββ tools.py # Agent tools (shell, browser, etc.)
β βββ AGENT.md # Agent personality/instructions
β βββ HEARTBEAT.md # Proactive task definitions
β βββ SOUL.md # Long-term memory
β βββ bridge/ # Node.js WhatsApp bridge
βββ config.json # Your configuration
βββ requirements.txt
βββ pyproject.toml
IMPORTANT: LiteClaw is currently in active testing/beta mode.
Security Warning: This application currently has no built-in sandboxing or advanced security policies for tool execution (like shell or browser). It should be used with extreme caution.
- Do not run this on a production server.
- Avoid giving the agent access to sensitive data or high-privilege environments.
- You are responsible for the actions the agent takes on your behalf.
LiteClaw is an evolving project and we are looking for contributors and new ideas! Whether it's fixing bugs, adding new bridge integrations (Discord, Matrix, etc.), improving the core agent logic, or suggesting creative new use cases, your input is welcome.
Please see our Contributing Guide for more details on how to get involved, join discussions, and submit code.
# Install dev dependencies
pip install -e ".[dev]"
# Run with hot reload
liteclaw runMIT License - see LICENSE for details.
- LiteLLM - Unified LLM API
- whatsapp-web.js - WhatsApp Web API