N

nanobot

SHA-256
49.2k stars·AI Productivity·SHA-256 checksum verified

Ultra-lightweight Python framework for a self-hosted personal AI agent with WebUI, terminal TUI, chat-app channels, memory, MCP tools, and scheduled automation.

Smart Download

Download Download Version

v0.3.5 · 42.3 MB

A tiny, self-hosted personal AI agent whose entire codebase you can actually read and own.

Core Features

  • Runs in a browser WebUI or native terminal TUI out of the box
  • Connects to Telegram, Discord, Slack, WeChat, Feishu, Email, Mattermost, and Linear
  • Built-in tools read PDF, Word, Excel, and PowerPoint files for summarization
  • Shell access, web search and fetch, MCP integrations, cron jobs, and multi-agent delegation
  • Dream long-term memory keeps preferences and session history across chats

What It Can't Do

  • •Note: nanobot does not include an AI model—you must supply your own API key (usage fees apply) or a local model server. It requires Python 3.11+, and plain pip installs may fail with an externally-managed-environment error, so prefer the official installer or uv. Because the agent can run shell commands and read/write files, restrict its permissions and never expose it unprotected on a sensitive production server. Before upgrading, back up the config directory and workspace so sessions and long-term memory are not lost.

Use Cases

  • Chat in the browser or terminal to read reports, organize files, and draft summaries
  • Embed the agent in Telegram or Discord for on-the-go mobile conversations
  • Run long-horizon goals and scheduled automations like daily news digests
  • Integrate agent capabilities into your own apps via the Python SDK or OpenAI-compatible API

nanobot is an open-source, MIT-licensed personal AI agent framework built by HKUDS, trusted by nearly 50k GitHub stargazers. It runs in a browser WebUI, a native terminal TUI, or inside chat apps like Telegram, Discord, Slack, WeChat, Feishu, Email, Mattermost, and Linear. Out of the box it reads PDF, Word, Excel, and PowerPoint files, executes shell commands, searches and fetches web content, generates images, schedules cron automations, and coordinates multi-agent workflows via MCP. Its Dream memory system keeps session history and long-term preferences, while a Python SDK and OpenAI-compatible API make integration trivial. It works with any OpenAI-compatible provider or local model server, with fallback model support. From a technical-review standpoint, nanobot's key differentiators are weight and transparency: compared with OpenClaw it offers a dramatically smaller, fully readable core you can audit in an afternoon, and compared with LangChain it is a ready-to-run assistant rather than a low-level SDK requiring weeks of assembly. If you want a persistent, chat-native AI agent you fully own and can self-host, nanobot is one of the leanest credible options available.

Tags

AI AgentSelf-hostedLLMMCPAutomationChat BotPython

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Make sure Python 3.11 or newer is installed and you have an API key from a supported model provider

4

Run the official one-line installer: the curl script on macOS/Linux or the PowerShell command on Windows

5

After installation, run nanobot webui and the browser setup page opens automatically

Install Guide
  1. Make sure Python 3.11 or newer is installed and you have an API key from a supported model provider
  2. Run the official one-line installer: the curl script on macOS/Linux or the PowerShell command on Windows
  3. After installation, run nanobot webui and the browser setup page opens automatically
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

05a431bafd7acb7a978e4faba2eb055e7e8b2d1474178b520b71f89eb8f70ad6

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

If installed via the one-line installer, delete the ~/.nanobot/venv directory to remove the program. If installed with uv, run uv tool uninstall nanobot-ai; with pip, run python -m pip uninstall nanobot-ai. Configuration, memory, and session data live in the ~/.nanobot directory—back it up if needed, then delete it manually for a complete removal.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-10-28 13:32:49
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

5 FAQs

Similar Projects