Nanobot: Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with…
HKUDS/nanobotUltra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
Evaluate and collect.
What the project says.
English 简体中文 繁體中文 Español Français Bahasa Indonesia 日本語 한국어 Русский Tiếng Việt Discord · X · WeChat 微信交流群 · Feishu nanobot 🐈 nanobot is a lightweight, open-source, self-hosted personal AI agent written in Python. Chat with it from your browser, terminal, or favorite chat app to work with files, remember preferences, use tools, and run scheduled tasks - powered by any supported cloud or local AI model. 💡 Why nanobot - Lightweight & low footprint: Small Python core with fast startup and low memory usage - runs comfortably on a personal laptop or a modest VPS without heavyweight infrastructure. - Polished WebUI & native TUI out of the box: Includes a clean, responsive browser workbench (multi-pane topics, live tool activity, inline file diffs, context usage, themes, and custom backgrounds) plus a matching terminal UI - no separate frontend build needed. - Works where you already chat: Connect seamlessly to 15+ chat apps including Telegram, Discord, Slack, Feishu, WeChat, WhatsApp, Email, Mattermost, and Linear. - Real tools, memory & automations: Reads images, PDFs, and Office files ( .docx , .xlsx , .pptx ), edits files, connects to MCP servers and plugins, builds long-term memory with Dream, and runs scheduled tasks, local triggers, and sustained goals. - Model freedom & full control: Use any cloud API (OpenRouter, Anthropic, OpenAI, Gemini, DeepSeek), OAuth subscription (OpenAI Codex, GitHub Copilot, xAI Grok), or local server (Ollama, vLLM, LM Studio) - self-hosted on your own machine. Start Here What you want to do Where to go --- --- Install nanobot with no terminal or config experience Start Without Technical Background Install quickly and get your first reply Install → Quick Start Explore the browser workbench WebUI Connect Telegram, Discord, Slack, Feishu, WeChat, Email, Linear, or others Chat Apps Guide Configure models, MCP tools, memory, or security Documentation · Configuration Run nanobot continuously or on a server Deploy · Deployment Guide Embed nanobot in Python Python SDK Contribute or extend nanobot Architecture · Contributing 📦 Install Requires Python 3.11 or newer and an account on a supported AI provider or local model server. Packaged installs include both the WebUI and terminal UI - no frontend build tools required. [!NOTE] This README tracks the latest development branch; the installer below installs the latest stable release. For published release docs, visit nanobot.wiki. Recommended: one-command installer (installs into an isolated environment and opens the WebUI automatically on desktop) macOS / Linux Windows PowerShell Preview the installer or inspect the scripts first Preview what the installer will do without changing anything: Or read scripts/install.sh and scripts/install.ps1 directly. Other install methods: uv, pip, or from source uv pip (inside a virtual environment) From source (latest main , requires Git) For full install options, troubleshooting nanobot: command not found , or updating an existing install, see Install and Quick Start and Updating nanobot. 🚀 Quick Start If the installer already opened the WebUI in your browser, continue right there. Otherwise run: Your first three steps: 1. Open Settings → Models , create a preset, and add your provider API key (or sign in with OAuth). See Configure Your Model. 2. Start a new topic and send Hello! to verify your model connection. 3. Try a file task: pick a practice folder with Restricted access and ask "Read notes.txt and write a short summary to summary.md." See Your first file task. Once that works, you can ask nanobot right in chat to help configure your next feature - for example: "I am using the WebUI. Help me connect Telegram and allow only my account." (See Continue with nanobot.) Terminal-only setup and interactive TUI Configure a model without a browser: Send a single test message or launch the interactive terminal UI (shares history and gateway with the WebUI): Useful TUI shortcuts: type / for commands, @ for apps/topics, $ for skills, Ctrl...
Continue the conversation.
Comments, one-level replies, owner highlights, and discussion notifications are included with ORYNT membership.
Sign in with GitHub