OpenSource-Hub

nanobot

Framework

HKUDS/nanobot

Lightweight open-source AI agent runtime for tools, chats, and workflows.

Overview

nanobot is an open-source, ultra-lightweight personal AI agent runtime you can truly own. It supports WebUI, chat channels, tools, memory, MCP, model routing, automation, and deployment. The core is small and readable, making it easy to customize and extend.

README Preview

\n  \n  \n\n\n\n  \n    English |\n    简体中文 |\n    繁體中文 |\n    Español |\n    Français |\n    Bahasa Indonesia |\n    日本語 |\n    한국어 |\n    Русский |\n    Tiếng Việt\n  \n  \n    \n    \n    \n    \n    \n        \n    \n        \n    \n        \n    \n    \n    \n    \n  \n\n\n🐈 **nanobot** is an open-source, ultra-lightweight personal AI agent you can truly own. It keeps the agent core small and readable while giving you the practical pieces for real long-running work: WebUI, chat channels, tools, memory, MCP, model routing, automation, and deployment.\n\n## Start Here\n\n| You want to... | Go to |\n|---|---|\n| Install nanobot with no terminal/config background | [Start Without Technical Background](./docs/start-without-technical-background.md) |\n| Install quickly and get one CLI reply | [Install](#-install) and [Quick Start](#-quick-start) |\n| Open the bundled browser UI | [WebUI](#-webui) |\n| Connect Telegram, Discord, WeChat, Slack, Email, Mattermost, or another chat app | [Chat Apps](./docs/chat-apps.md) |\n| Configure providers, fallback models, Langfuse, MCP, web tools, or security | [Docs](./docs/README.md) and [Configuration](./docs/configuration.md) |\n| Understand or extend the internals | [Architecture](./docs/architecture.md) and [Development](./docs/development.md) |\n| Deploy to the cloud in one click | [Deploy to Render](#deploy-to-render) |\n\n## Deploy to Render\n\nDeploy nanobot's gateway and bundled WebUI as a single web service with persistent memory. Render reads [`render.yaml`](./render.yaml) and prompts for two secrets on deploy: `ANTHROPIC_API_KEY` and `NANOBOT_WEB_TOKEN` (the password that gates the public WebUI — generate a strong random value, e.g. `openssl rand -hex 32`).\n\n> **Note:** The blueprint attaches a persistent disk so sessions, memory, and WebUI history survive restarts. Persistent disks require a paid service (they are not available on Render's free tier).\n\n[](https://render.com/deploy?repo=https://github.com/HKUDS/n