Nanobot is an ultra-lightweight personal AI assistant inspired by OpenClaw. It delivers core agent functionality in just ~4,000 lines of code — 99% smaller than Clawdbot’s 430k+ lines. Nanobot supports 11 messaging platforms including WhatsApp, Telegram, Slack, Discord, and is optimized for low-resource deployments on Raspberry Pi and similar hardware.
License: MIT
GitHub: 35.7k+ stars, 6.1k+ forks, 168 contributors | HKUDS/nanobot
- 🪶 Ultra-Lightweight - Just ~4,000 lines of core agent code (99% smaller than Clawdbot)
- 🔬 Research-Ready - Clean, readable codebase easy to understand and extend
- ⚡️ Lightning Fast - Minimal footprint, faster startup, lower resource usage
- 💎 Easy-to-Use - One-click deployment with
nanobot onboard
- 📱 11 Messaging Platforms - WhatsApp, Telegram, Slack, Discord, Feishu, DingTalk, QQ, Email, Matrix, Mochat, Wecom
- 🔌 MCP Support - Model Context Protocol for tool integration (including SSE transport)
- ⏰ Scheduled Tasks - Cron jobs and heartbeat periodic tasks
- 🧠 Local LLM Support - vLLM integration for local model deployment
- Raspberry Pi Assistant - Run AI agent on low-power hardware
- Multi-Platform Bot - Single bot runtime across WhatsApp, Telegram, Slack, Discord
- Personal AI Agent - 24/7 real-time assistance with scheduled tasks
- Research & Learning - Clean codebase for understanding AI agent architecture
- Team Automation - Multi-channel team communication automation
| Component |
Technology |
| Language |
Python 98.0%, TypeScript 1.1%, Other 0.9% |
| Python Version |
3.11, 3.12 (requires >=3.11) |
| Package Manager |
pip, uv (recommended) |
| LLM Providers |
20 providers: OpenRouter, Anthropic, OpenAI, Azure OpenAI, DeepSeek, Groq, Gemini, and more |
| Local LLM |
vLLM, Ollama support |
| Messaging |
11 platforms: Telegram, Discord, WhatsApp (Node.js bridge), Slack, Feishu, DingTalk, QQ, Email (IMAP/SMTP), Matrix (E2EE), Mochat, Wecom |
| Container |
Docker, Docker Compose |
| Component |
Minimum |
Recommended |
| OS |
Linux (systemd) |
Ubuntu 20.04+, Debian 10+ |
| Python |
3.11 |
3.12 |
| CPU |
1 core |
2+ cores |
| RAM |
512 MB |
1+ GB |
| Disk |
500 MB |
1+ GB |
| Node.js |
18+ (WhatsApp only) |
20+ (WhatsApp only) |
- ✅ Open-source (MIT License)
- ✅ Active development (v0.1.4.post5 - March 16, 2026)
- ✅ 35.7k+ GitHub stars, 6.1k+ forks, 168 contributors
- ✅ PyPI package:
nanobot-ai
- ✅ Docker support with Dockerfile and docker-compose.yml
- ✅ 11 messaging platform integrations
- ✅ MCP (Model Context Protocol) support with SSE transport
- ⚠️ Security Advisories:
- CVE-2026-2577 (CVSS 10.0 Critical): WhatsApp session hijacking. Versions < v0.1.3.post7 affected. Upgrade immediately.
- CVE-2026-31977 (CVSS 9.0 Critical): Authorization bypass via sender ID injection. Versions < v0.1.4.post3 affected. Upgrade to v0.1.4.post4 or higher.
Any questions?
Feel free to contact us. Find all contact information on our contact page.