About nanobot
nanobot is an open-source agent framework from the Data Intelligence Lab at the University of Hong Kong (HKUDS), kept deliberately small. One process provides sessions, long-term memory, shell, web and file tools, MCP servers, skills and cron-style automations.
On a CloudSat VPS it stays online around the clock, so bots answer and scheduled jobs fire while your computer is off. Its default permission limits it to the workspace, which is not an OS sandbox.
nanobot needs Python 3.11 or newer and a model provider: an OpenAI-compatible API key, or a local server such as Ollama or vLLM.
What you get with nanobot
- Telegram, Discord, Slack, Email, Mattermost and Teams channels
- Shell, web search and document tools
- Session history plus long-term memory
- MCP servers and reusable skills
- Cron-style automations
- Browser WebUI and terminal client
nanobot use cases
- Run a private assistant you message from Telegram
- Schedule daily digests and research summaries
- Experiment with agent tooling on a small codebase
After you deploy nanobot
- SSH in as root once the server reads Running, and create a non-root user for the agent.
- Run
nanobot onboard --wizardto pick a provider and model and enter your key. - For the WebUI, start
nanobot webui, tunnel it withssh -L 8765:127.0.0.1:8765 user@<server IP>and openhttp://127.0.0.1:8765. - Connect a channel, for example a Telegram bot token, then keep it running with
nanobot gateway --background.
nanobot ports
Open these in your firewall if you use one: 22/tcp SSH, 8765/tcp WebUI (localhost only, reach it through a tunnel).
nanobot FAQ
How is nanobot different from OpenClaw?
nanobot keeps a compact Python codebase that is easy to read and change; OpenClaw is a larger Node.js project with more integrations.
Is it safe to give nanobot shell access?
Treat it like an operator holding your permissions: run it as a non-root user on its own server, limit who may message it, and keep the WebUI on localhost.
Disclaimer. The nanobot project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.