Overview
Nanobot is a personal AI agent from the HKU Data Intelligence Lab that runs in a browser UI, a terminal or chat apps (Telegram, Discord, Slack, WeChat, email and others). Its February 2026 README spoke of about 4,000 lines of core code; at v0.3.5 its nanobot/ package holds about 160,000 lines of Python, by our count. It reaches Claude through a native Anthropic provider, and also works with OpenAI, OpenRouter, AWS Bedrock and local servers such as Ollama and vLLM. Shell commands pass a filter that blocks obvious destructive patterns; the OS sandbox (bubblewrap on Linux, Seatbelt on macOS) and the workspace guard are off until you set them, and its docs ask for both in production. Chat channels require pairing or an allowlist, except Slack and Mattermost direct messages, which are open by default.
Our take
Editorial opinion, not a test result.
Best for
- A personal agent with a browser UI and chat apps on a small Linux, macOS or Windows machine
- Linux ARM64 hosts such as a 64-bit Raspberry Pi (it ships Linux ARM64 wheels)
- Builders who want a Python SDK and an OpenAI-compatible API around their agent
Not for
- Teams that want one shared agent with per-user accounts: its README describes a personal agent
- Setups that will not revisit the config: the shell sandbox and workspace guard stay off until you set them
- Windows hosts that need OS-level isolation: Nanobot has no sandbox backend on Windows
Security posture
| Sandbox by default | no |
| Auth on dashboard | no |
| Threat model documented | no |
| Multi-LLM support | yes |
| CVEs on NVD (total) | 10 |
| CVEs in the last 30 days | 0 |
Off by default: a built-in filter blocks obvious destructive commands, and the OS sandbox for shell commands (bubblewrap on Linux, Seatbelt on macOS) and the workspace guard are opt-in. Its docs ask for both in production.
Sources
Sandbox default and model support read in the project's own documentation and repository on 2026-10-18.
- Nanobot README (v0.3.5): channels, platform wheels, Python SDK
- Nanobot docs (v0.3.5): providers, "Anthropic direct uses the native Anthropic provider"
- Nanobot docs (v0.3.5): configuration, security section (sandbox and workspace guard off by default)
- Nanobot SECURITY.md (v0.3.5): blocked command patterns, exec sandbox, known limitations
- Nanobot README of February 2026 (v0.1.3.post4): "~4,000 lines", Anthropic already a provider
Links
- Homepage: https://nanobot.wiki
- Repository: https://github.com/HKUDS/nanobot
Run Nanobot on portable hardware
Verified working on these portable hosts (with the standard caveats: see the per-device pages for power, RAM headroom, browser-tool support):
Compare Nanobot with others
Nanobot CVEs (10 on NVD)
Stats refreshed every 6 hours from public sources (GitHub API, NVD CVE feed, CISA KEV). See our methodology for the full tracking pipeline.
See also: all AI agents, all AI CVEs, AI hardware, scan your AI stack, Pro alerts.