Index / nanobot · updated Oct 2, 2026
nanobot
HKUDS/nanobot · healthy · rank 3 of 43 by stars
An ultra-lightweight (~4k line) Python rewrite of OpenClaw with WebUI, terminal, and chat-app frontends. Packs tools, memory, MCP, multi-agent delegation, and automation into a small, readable, self-hosted core.
Facts
Repository
Runtime
Posture
Community
Security breakdown
Composite 72 / 100 · how these are scored
higher is safer
higher is safer
higher is safer
higher is safer
higher is riskier
Model access
Read from the repository, not written by a model · 82 files examined
5 providers · gateway support
Pinned models
claude-opus-4-7 released 2026-04-16 — 6 months old (from the public model catalogue)
Pin last edited 21 days ago
Several defaults are pinned; the project picks one per provider rather than shipping a single default.
Evidence
Decision
Why choose nanobot over OpenClaw?
Why choose this
- Dramatically smaller codebase (~4k lines) that is easier to audit and modify
- Lower resource footprint and faster startup
- Built-in WebUI plus terminal and chat-app frontends
Tradeoffs
- Younger project with less production hardening
- Smaller plugin/skill ecosystem than OpenClaw
- Fewer community-contributed integrations and docs depth
Best fit
- Users wanting a lightweight OpenClaw alternative in Python
- Self-hosters who value a small, readable codebase
- People needing multi-channel chat (Telegram/Discord/WhatsApp) plus WebUI
Avoid if
- You need hardened container-level sandboxing out of the box
- You require enterprise multi-tenant access controls
- You want a battle-tested project with years of production history
Strong evidence from README, PyPI presence, active commits, and ecosystem digests confirming it as a leading OpenClaw alternative. Reddit discussion is thin, so community sentiment is partly inferred from web footprint and star count.
AI layer reviewed Sep 21, 2026 · how this is written
Star activity
48,737 stars today
Overview
nanobot is an ultra-lightweight, open-source personal AI agent framework from HKUDS, written in Python (3.11+) and distributed via PyPI as nanobot-ai. It positions itself as a compact (~4,000-line) rewrite of OpenClaw, keeping the core small and readable while still shipping a WebUI, terminal UI, and chat-app integrations (Telegram, Discord, WhatsApp). It includes tool use, long-term memory, MCP integrations, model routing, multi-agent delegation, scheduled automation, and an OpenAI-compatible API.
Architecturally, nanobot runs as a long-lived gateway service (nanobot gateway) that can be operated headless or through the browser-based WebUI, making it familiar to users coming from OpenClaw who already run agents as services. Recent releases (v0.3.5) added a refreshed terminal UI, a calendar for automations, side-by-side chats, plugins, and OAuth device-flow sign-in for providers like Copilot — evidence of rapid, sustained development with CI and an active Discord community.
Compared to OpenClaw, nanobot trades ecosystem maturity for simplicity: the small codebase is easier to audit, self-host, and extend, and its resource footprint is minimal. However, its plugin ecosystem and security hardening are still emerging, so users needing battle-tested sandboxing or a large skill library may still prefer OpenClaw.