nanobot
nanobot, from the HKU Data Intelligence Lab (HKUDS), is an ultra-lightweight, self-hosted personal AI agent framework written in Python. It runs in a browser WebUI, in the terminal or inside chat apps, and combines tools, long-term memory, MCP integrations, model routing, subagents and scheduled automations around a deliberately small, readable core.
It suits individuals and small teams who want their own always-on assistant without adopting a large platform. Typical uses include chatting with an assistant from Telegram, Discord, Slack, WeChat, Feishu, email or Linear; running long-horizon goals and recurring tasks; and giving the agent tools such as file access, shell, web search, image generation and MCP servers. It works with OpenAI-compatible APIs and local models, offers fallbacks between providers, and exposes a Python SDK and an OpenAI-compatible API for integrations.