AiBOX.im

nanobot

Ultra-lightweight personal agent that works in your browser, terminal or chat app — your data stays local

WindowsmacOS Difficulty ●●○○○ stable v0.4.1
nanobot icon

nanobot · icon from the registry

System requirements

No extra runtime needed

This app ships with everything it needs — no Node.js, Python or other runtimes to install.

Platforms

WindowsmacOS

Ultra-lightweight personal agent that works in your browser, terminal or chat app — your data stays local

Registry data updated: 2026-11-12

Config & data

Config file written to

~/.nanobot/config.json

  • ~/.nanobot

Everything stays on your own machine — nothing is uploaded. To uninstall, delete these folders.

Install in three steps

  1. 01

    Install AiBOX

    One portable file for Windows (macOS coming). Double-click and it runs — no installer, no administrator rights.

    Go to download →
  2. 02

    Pick nanobot

    Open the AiBOX app catalog, find nanobot and press Install. AiBOX checks what your machine already has and installs only what is missing.

  3. 03

    Follow the wizard

    It downloads with a checksum check, writes the config and fills in your API key if the app needs one. You just click.

    ✓ Installed until it works.

Prefer to do it by hand? The full written guide is right below. Read the guide ↓

Install guide

The same steps in written form — follow along at your own pace.

One line: nanobot (HKUDS, 50k+ stars) is an ultra-lightweight open-source personal agent: it works from a browser, a terminal or your chat apps, reads and writes your files, remembers preferences and runs scheduled tasks — pure Python, with config and history stored in your own ~/.nanobot.

What you get

  • Browser WebUI (localhost) + terminal TUI + chat channels (Telegram/QQ…) in one tool
  • File tools, scheduled tasks, MCP tools, skill packages, SQLite session history
  • Model freedom: OpenAI, Claude, DeepSeek, Qwen… or fully local and free via Ollama

Before you start (3 minutes)

NeedNotes
Python 3.11+Check with python --version; grab it from python.org if missing (Windows: tick "Add to PATH")
A modelA provider key (OpenAI/Claude/DeepSeek…) or local Ollama (free, offline)
SystemWindows x64 (SSE4.2 required) / macOS 13+ (Intel and Apple Silicon)

Not needed: administrator rights, Docker, a server. The install target is an isolated virtualenv at ~/.nanobot/venv — your system Python is never touched.

Install

Route A: install with AiBOX (recommended)

  1. Open AiBOX → app directory → nanobot → Install
  2. AiBOX downloads the official release wheel (sha256-verified, accelerated automatically in CN) and installs it into ~/.nanobot/venv — the same layout as the official installer
  3. When it finishes, run nanobot webui in a terminal to configure it

Route B: manual install (official commands)

Official recommended installer (creates the environment and opens the WebUI):

# Windows PowerShell
irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1 | iex
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh

Already using uv / pip? Install the same nanobot-ai package yourself:

uv tool install nanobot-ai        # or: python -m pip install nanobot-ai

Configuration (connect a model)

nanobot webui     # opens the WebUI (copy the full login link from the terminal, including the # fragment)
  1. Settings → Models → save a provider/model preset (enter your key or local endpoint)
  2. Free local route: run ollama serve and ollama pull qwen2.5:7b, then pick the Ollama provider in nanobot
  3. Settings are written to ~/.nanobot/config.json (you can reference secrets as ${VAR} environment variables instead)

Verification: what "success" looks like

  1. nanobot --version prints 0.4.1 (or the version you installed)
  2. Send Hello! in the WebUI → a normal reply means the model is connected
  3. Stronger check: start a new topic, ask it to "read notes.txt and write summary.md", then open the generated file
  4. Chat channels: follow the WebUI onboarding to connect Telegram and get a reply there

FAQ

  • nanobot is not recognized: the installer prints the exact command to reuse; or run python -m nanobot webui (uv/pipx users: locate the environment with the original tool)
  • pip says externally-managed-environment: do not add --break-system-packages — use the official installer or uv tool install nanobot-ai instead
  • PyPI downloads are slow in CN: point pip at a domestic mirror (e.g. TUNA), or use the AiBOX route (its download layer is already accelerated)
  • Port in use / WebUI won't open: the login link printed in the terminal is authoritative; for remote servers forward port 8765 over SSH
  • Upgrading: stick to your install method — uv tool upgrade nanobot-ai or python -m pip install -U nanobot-ai; stop the gateway and back up ~/.nanobot first

Uninstall

# Stop the gateway first (gateway stop in the WebUI, or Ctrl+C)
rm -rf ~/.nanobot      # venv, config.json and chat history live here — back up before deleting

More: stable docs at nanobot.wiki · repo docs

Model / API key setup

AiBOX fills this in for you during the wizard — this section is for setting it up by hand.

OpenAI

You need an API key from the provider.

~/.nanobot/config.json

Get a key ↗

Anthropic (Claude)

You need an API key from the provider.

~/.nanobot/config.json

Get a key ↗

Ollama (local)

Local model — no API key needed.

~/.nanobot/config.json

Common questions

Which platforms does nanobot run on?

Runs on Windows / macOS — install it with AiBOX on any of them.

How hard is nanobot to install?

Difficulty 2 out of 5. AiBOX does the download and setup; your part is clicking through the wizard and pasting a key if the app needs one.

Where does nanobot keep my data?

Everything stays on your own machine: ~/.nanobot. To uninstall, delete these — nothing is ever uploaded.

Something not working?

An outdated step, an error you do not understand, a typo — tell us and we will fix this page.

Report a problem →

Version & updates

Current version
v0.4.1
Registry data updated
2026-11-12

Upstream projects

Version numbers are re-checked by our daily probe — when upstream ships a new release, this page follows.

Questions or problems?

A wrong step, a confusing error, a typo — open an issue and someone will look.