← Back to research
·7 min read·opensource

NanoBot

NanoBot is an ultra-lightweight open-source Python personal AI agent from the University of Hong Kong's Data Intelligence Lab, now at 44K GitHub stars with a bundled WebUI, sustained-goal support, and 14+ chat platform integrations.

Key takeaways

  • Stars doubled from 22K to 44K between February and June 2026 — the fastest-growing OpenClaw alternative, with commits landing daily
  • v0.2.0 (May 2026) bundled the WebUI into the pip wheel and added /goal for sustained long-running objectives
  • Platform count grew from 9 to 14+: WeChat, WeCom, Signal, Matrix, and MS Teams joined Telegram, Discord, WhatsApp, Slack, Feishu, DingTalk, Email, and QQ
  • The original ~4,000-line pitch is now historical — the codebase has grown substantially with WebUI, image generation, and an extension registry
  • pip install simplicity — running in under 2 minutes

FAQ

How does NanoBot compare to OpenClaw?

NanoBot launched as a ~4,000-line Python rewrite of OpenClaw's core (vs 430,000+ lines of TypeScript). The codebase has grown well beyond that with the WebUI and extension system, but the agent core remains far smaller and easier to audit.

What platforms does NanoBot support?

Telegram, Discord, WhatsApp, Slack, Feishu/Lark, DingTalk, Email, QQ, Mochat, WeChat, WeCom, Signal, Matrix, and MS Teams, plus a WebSocket channel and bundled WebUI — more than any other lightweight alternative.

Who built NanoBot?

The Data Intelligence Lab at the University of Hong Kong (GitHub org HKUDS), with a fast-growing contributor base — recent releases each merged 80-105 PRs with 12-20 new contributors.

Overview

NanoBot is an ultra-lightweight personal AI agent from the University of Hong Kong's Data Intelligence Lab (HKUDS), launched as a ~4,000-line Python rewrite of OpenClaw's core — 99% smaller than OpenClaw's 430,000+ line codebase.[1] Four months in, the codebase has grown well beyond that original pitch, adding a bundled WebUI, image generation, and an extension registry, though the agent core remains compact and readable.[2]

With 44,000+ GitHub stars as of June 2026 — double its February count — NanoBot has the largest community among OpenClaw alternatives. Development pace is exceptional: recent releases each merged 80-105 PRs with 12-20 new contributors, and commits land daily.[3]

Key Stats

MetricValue
GitHub Stars44K+ (as of June 2026)
Forks7.8K+
LanguagePython (≥3.11)
LicenseMIT
Installpip install nanobot-ai
First ReleaseFebruary 2, 2026
Latestv0.2.1 (June 1, 2026)
Docsnanobot.wiki (10 languages)

Installation

# Install from PyPI
pip install nanobot-ai

# Or with uv (faster)
uv tool install nanobot-ai

# Initialize
nanobot onboard

# Start chatting
nanobot agent

# Or run gateway for chat platforms
nanobot gateway

Platform Support

NanoBot supports more chat platforms than any other lightweight alternative — the list grew from 9 at launch to 14+ by June 2026:[4]

PlatformNotes
TelegramBot token; webhook mode added May 2026
DiscordBot token; thread sessions, slash commands
WhatsAppQR code scan
SlackBot token + App-Level token; thread context
Feishu/LarkApp ID + App Secret; topic-isolated sessions
DingTalkApp Key + App Secret (Stream Mode)
EmailIMAP/SMTP credentials
QQApp ID + App Secret
MochatClaw token (auto-setup available)
WeChat / WeComAdded March 2026, voice + multimodal
SignalAdded May 2026
MatrixWith verification support
MS TeamsThread-aware conversation references
WebSocket / WebUIBundled browser UI ships in the wheel since v0.2.0

Provider Support

ProviderNotes
OpenRouterRecommended for global access
AnthropicClaude direct
OpenAIGPT models
DeepSeekChinese provider
GroqFast inference + free Whisper
GeminiGoogle models
vLLMLocal model support
MiniMaxChinese provider
Moonshot/KimiChinese provider
AWS BedrockNative Converse support (May 2026)
NVIDIA NIMAdded May 2026
Hugging FaceAdded April 2026
LM StudioLocal models (April 2026)
GitHub CopilotGPT-5 / o-series routing
CustomAny OpenAI-compatible endpoint, with fallback_models

Provider coverage roughly doubled since February — Zhipu, StepFun, Skywork, Novita, LongCat, MiMo, and others joined the lineup, and fallback_models (v0.2.0) routes around flaky endpoints automatically.[2]

Features

  • Memory System — "Dream" two-stage persistent memory (hardened in v0.1.5)
  • MCP Support — Multiple MCP servers, resources and prompts exposed as tools
  • WebUI Workbench — Bundled browser UI with project workspaces, live file-edit activity, model/context controls (v0.2.0-v0.2.1)
  • Sustained Goals/goal pins long-running objectives in runtime context, surviving compaction and long tool chains (v0.2.0)
  • Image Generation — Inline previews via Zhipu, Gemini, MiniMax, OpenAI, Ollama backends
  • ClawHub Skills — Search and install public agent skills
  • Scheduled Tasks — Natural language task scheduling with durable cron persistence
  • Voice Transcription — Whisper via Groq (free) or SiliconFlow
  • Observability — Langfuse integration (v0.1.5)
  • Extensions — Extension registry unifying CLI Apps and MCP (v0.2.1)
  • Agent SDKAgentLoop.from_config() for embedding in Python programs

Architecture

User → Chat Platform → NanoBot Gateway → LLM Provider → Response
                           ↓
                    Memory System (SQLite)

Single Python process. No microservices. No message queues. Minimal dependencies.

Strengths

  • Simplicity — Agent core remains compact and readable, though no longer the weekend-read 4,000 lines of launch
  • Platform Coverage — 14+ chat integrations, more than any alternative
  • pip Install — Running in under 2 minutes, WebUI included since v0.2.0
  • Momentum — 44K stars, daily commits, 80-105 PRs per release, fast-growing contributor base
  • MCP Support — Multiple servers, extension registry
  • Local Models — vLLM, Ollama, and LM Studio for self-hosted LLMs

Weaknesses / Considerations

  • Python Runtime — 100MB+ RAM overhead vs Go/Rust alternatives
  • Security Surface — Application-level, not OS-level isolation; v0.2.0 alone shipped four security fixes (SSRF, media path confinement, workspace boundaries), a reminder that a chat-connected agent with shell access carries real risk[2]
  • Scope Creep — The minimalism pitch is eroding: WebUI, image generation, 20+ providers, and an extension registry mean the codebase is no longer trivially auditable
  • Issue Backlog — 869 open issues as of June 2026; triage lags the contribution firehose
  • Feature Set — Still smaller than full OpenClaw
  • Single Process — No multi-agent architecture

What Developers Say

From the Hacker News launch thread (257 points, 128 comments):[5]

"Skimmed the repo, this is basically the irreducible core of an agent: small loop, provider abstraction, tool dispatch, and chat gateways. The LOC reduction (99%, from 400k to 4k) mostly comes from leaving out RAG pipelines, planners, multi-agent orchestration, UIs, and production ops." — johaugum

"What are people using these things for? The use cases I've seen look a bit contrived and I could ask Claude or ChatGPT to do it directly" — loveparade

"Can this be sandboxed? I've been running OpenClaw in a VM on macOS, which seems more resource intensive than necessary." — lxgr

Sentiment splits between appreciation for the readable core and skepticism about personal-agent use cases generally — security and sandboxing questions recur throughout the thread.

Who Built It

The Data Intelligence Lab at the University of Hong Kong (GitHub org HKUDS) — not HKUST as sometimes reported. The project is designed to be research-ready — clean code that's easy to understand, modify, and extend — though by mid-2026 the contributor base extends well beyond the lab, with 12-20 new contributors per release.[3]

Ideal User

  • Researchers wanting readable AI agent code to study and modify
  • Multi-platform users needing support for obscure chat apps (Feishu, DingTalk, QQ)
  • Python developers who prefer pip-install simplicity
  • Teams wanting quick deployment without infrastructure complexity

Bottom Line

NanoBot has graduated from minimalist sketch to the default OpenClaw alternative. Stars doubled to 44K in four months, the WebUI now ships in the wheel, /goal makes long-running work durable, and 14+ platform integrations cover nearly any chat app. Free, MIT-licensed, no commercial entity or disclosed funding behind it.

Two trade-offs to watch. Python's runtime overhead (100MB+ RAM) still rules out edge deployment — for constrained hardware, look at PicoClaw (Go) or ZeroClaw (Rust). And the original "read it in a weekend" auditability is fading as the feature surface grows; if that was your reason for choosing it, pin an early version or audit the agent core specifically.

For users who want an ownable, fast-moving personal agent without OpenClaw's bulk, NanoBot is the clear pick in this weight class.