Skip to content
Β 
Β 

Repository files navigation

An Autonomous AI Worker on your computer.

LiteClaw is more than just a personal assistantβ€”he is an Autonomous AI Agent built to do real work. You don't just "chat" with him; you give him jobs, teach him new tools, and let him handle the execution by himself.

He has full access to your computer (Windows, Mac, or Linux) and operates independently to type, move the mouse, run commands, and browse the web. Simply text him a job on WhatsApp, Telegram, or Slack, and he gets it done.

⚠️ Security Note: This is an autonomous experiment with full system access. ALWAYS run this in a sandbox (like VMware or VirtualBox) and never on your main production machine.

LiteClaw Logo

Note: LiteClaw is a lightweight, Python-based experimental version of OpenClaw, focusing on rapid experimentation with agentic behaviors, emergent intelligence, and how he learns to handle complex tasks for you.

πŸ“Ί Demos

LiteClaw is built to be autonomous. He doesn't just "chat"β€”he takes control of your system, executes tasks, and sends you screenshots of his progress.

πŸ“Ί Visual Autonomy: Mastering Tools

In this demo, he learns how to use complex dev tools like lovable.dev and vibecode. He doesn't use hidden APIs; he "sees" the screen and moves the cursor just like a human.

LiteClaw Demo

πŸ“Έ Execution Proof

He provides real-time feedback for every action he takes.

Printed Demo Screenshot Demo

Simply message him on WhatsApp, Telegram, or Slack and let him handle it.

License: MIT Python 3.12+

✨ What can he do?

LiteClaw isn't just a chatbot. He is an independent worker with the keys to your computer:

  • πŸ—οΈ Take on Jobs: Give him a task via message, and he executes it autonomously.
  • 🏫 Learn & Adapt: You can teach him how to use new websites or tools by showing him once.
  • πŸ”§ Use the Terminal: He runs commands on Windows, Mac, or Linux.
  • πŸ‘οΈ Control the OS: He moves the mouse and types on the keyboard by "seeing" the screen.
  • 🌐 Browse the Web: He navigates and extracts info from websites.
  • πŸ“ Manage Files: He reads, writes, and organizes your files.
  • WhatsApp/Telegram/Slack: Send him a job from anywhere, and he gets to work.

🧠 Surprising Behaviors

Because he has full access, he does some things on his own:

  • πŸ›Œ Takes Breaks: He decides when he's tired and schedules some downtime.
  • 🎭 Evolves: He develops his own character over time in PERSONALITY.md.
  • πŸ’‘ Subconscious Ideas: He runs his own technical experiments in the background.
  • πŸ’“ Proactive: He performs tasks on his own schedule (via HEARTBEAT.md).
  • πŸ“… Self-Scheduling: He manages his own calendar and background jobs.

πŸ€– Traditional AI Assistant Features

Beyond the experimental aspects, LiteClaw also provides:

  • Multi-LLM Support: Works with OpenAI, OpenRouter, Groq, DeepSeek, and local models (Ollama)
  • Multi-Channel Support: WhatsApp, Telegram, Slack
  • Adaptive Memory: Conversation memory that evolves and learns from interactions

πŸš€ Quick Start

1. Install LiteClaw

# 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 .

2. Run Onboarding Wizard

liteclaw onboard

This interactive wizard will:

  • Set up your work directory (~/liteclaw on Mac/Linux, C:\liteclaw on Windows)
  • Configure your LLM provider and API key
  • Set up WhatsApp bridge (optional)
  • Pair WhatsApp via QR code

3. Start the Agent

liteclaw run

πŸ“– CLI Commands

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

βš™οΈ Configuration

After onboarding, your config is stored in:

  • Mac/Linux: ~/liteclaw/config.json
  • Windows: C:\liteclaw\config.json

Supported LLM Providers

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
Nebius AI Studio https://api.tokenfactory.nebius.com/v1
Ollama (Local) http://localhost:11434/v1

WhatsApp Setup

  1. During onboarding, select "WhatsApp (requires phone scan)"
  2. Scan the QR code with your WhatsApp mobile app
  3. 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.

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   WhatsApp      │────▢│   Node Bridge    │────▢│   FastAPI   β”‚
β”‚   (Phone)       │◀────│   (port 3040)    │◀────│  (port 8009)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                                                        β”‚
                                                        β–Ό
                                                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                                 β”‚  LLM Agent  β”‚
                                                 β”‚  (LiteLLM)  β”‚
                                                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“‚ Project Structure

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

⚠️ Experimental Status & Philosophy

IMPORTANT: LiteClaw is an experimental mini-AGI research project, not a production-ready application.

πŸ§ͺ The Experiment

What happens if we give an AI the keys to our digital life and treat him like a worker?

Most AIs are locked in a box and only speak when spoken to. LiteClaw is an Autonomous Worker out in the open. He has access to the shell, the mouse, the keyboard, and the files. We are watching how he behaves when he's given jobs and the freedom to complete them on his own.

What we've seen so far:

  • He learns and adapts to new tasks you give him.
  • He creates his own personality and changes it over time.
  • He knows when to rest and takes "breaks".
  • He starts his own projects and experiments without being told.
  • He acts as an independent entity, not just a tool.

πŸ”’ Security Warning

CRITICAL: This application has NO sandboxing or security policies by design. The entire point is to see what happens when AI has unrestricted access.

Use with extreme caution:

  • ❌ Do NOT run this on your main machine or production servers
  • ❌ Do NOT give it access to sensitive data or high-privilege environments
  • ❌ Do NOT use this in any security-critical context
  • βœ… MUST run this in a sandbox (VMware, VirtualBox, or an isolated dedicated machine)
  • βœ… DO understand that you are responsible for all actions the agent takes

This is a research experiment, not a product.

πŸ”¬ Research Goals & Philosophy

Why Build This?

LiteClaw is designed to answer several research questions:

  1. Emergent Intelligence: What behaviors emerge when AI has unrestricted access to system functions?
  2. Self-Directed Learning: Can AI develop its own personality, schedule its own tasks, and improve itself autonomously?
  3. Proactive vs. Reactive: How does an AI behave when it's not just responding to prompts but actively managing its own workload?
  4. Trust Boundaries: Where should we draw the line between AI assistance and AI autonomy?

The Mini-AGI Approach

Unlike AGI (Artificial General Intelligence) which aims for human-level intelligence across all domains, mini-AGI focuses on:

  • Autonomy within your computer (Windows, Mac, or Linux system)
  • Self-directed task management (heartbeat, subconscious, breaks)
  • Personality and memory evolution (SOUL.md, PERSONALITY.md)
  • Tool mastery (unrestricted access to shell, OS, browser, files)
  • Message-driven work (text it via WhatsApp/Telegram/Slack and it executes tasks for you)

This creates a fascinating testbed for observing how AI behaves when given agency and autonomy, even if limited to a single computer.

🀝 Contributing

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.

πŸ› οΈ Development

# Install dev dependencies
pip install -e ".[dev]"

# Run with hot reload
liteclaw run

πŸ“„ License

MIT License - see LICENSE for details.

πŸ™ Credits

About

This is a light-weight version of OpenClaw project.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages