NanoBot
Python-based AI assistant with ~4,000 lines of code from Hong Kong University. YAML configuration, simple and clean architecture. Released February 2, 2026.
Ultra-Lightweight Python AI Assistant
NanoBot is an ultra-lightweight personal AI assistant developed by HKUDS (Data Intelligence Lab at the University of Hong Kong), released on February 2, 2026. It delivers core OpenClaw functionality in just ~4,000 lines of Python code — 99% smaller than OpenClaw's 430,000+ lines.
Launch Date: February 2, 2026 Developer: HKUDS (Hong Kong University Data Intelligence Lab) Code Size: ~4,000 lines of Python (99% smaller than OpenClaw) Platforms: Supports 9+ chat platforms (WhatsApp, Telegram, Discord, Feishu, etc.)
Why NanoBot?
Ultra-Lightweight: At ~4,000 lines of Python code, NanoBot is 99% smaller than OpenClaw (430,000+ lines), making it incredibly easy to understand, modify, and deploy.
Clean Architecture: Well-organized, readable Python codebase with skills-based extensibility, agent loop architecture, and cron-based task scheduling.
Multi-Platform Support: Supports 9+ messaging platforms including WhatsApp, Telegram, Discord, Feishu, and more.
Multiple LLM Providers: Works with OpenRouter, Anthropic, OpenAI, DeepSeek, Groq, and Gemini.
Educational Value: Perfect for learning AI agent architecture due to its minimal, focused codebase.
Installation
git clone https://github.com/HKUDS/nanobot
cd nanobot
pip install -r requirements.txt
# Configure config.yaml
python main.pyLicense
MIT License - Free and open source.
Sources
- NanoBot Official Website - February 2, 2026
- HKUDS/nanobot GitHub Repository
- NanoBot: A 4K-Line Personal Agent - Akillness - December 2025
- Ry Walker Research - NanoBot - December 2025
- NanoBot Ultra-Lightweight AI Assistant - ScriptByAI - December 2025
- NanoBot - Jimmy Song - February 2026