OpenAI
You need an API key from the provider.
~/.nanobot/config.json
Get a key ↗Ultra-lightweight personal agent that works in your browser, terminal or chat app — your data stays local
nanobot · icon from the registry
This app ships with everything it needs — no Node.js, Python or other runtimes to install.
Ultra-lightweight personal agent that works in your browser, terminal or chat app — your data stays local
Registry data updated: 2026-11-12
Config file written to
~/.nanobot/config.json
Everything stays on your own machine — nothing is uploaded. To uninstall, delete these folders.
One portable file for Windows (macOS coming). Double-click and it runs — no installer, no administrator rights.
Go to download →Open the AiBOX app catalog, find nanobot and press Install. AiBOX checks what your machine already has and installs only what is missing.
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 ↓
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.
| Need | Notes |
|---|---|
| Python 3.11+ | Check with python --version; grab it from python.org if missing (Windows: tick "Add to PATH") |
| A model | A provider key (OpenAI/Claude/DeepSeek…) or local Ollama (free, offline) |
| System | Windows 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.
~/.nanobot/venv — the same layout as the official installernanobot webui in a terminal to configure itOfficial 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
nanobot webui # opens the WebUI (copy the full login link from the terminal, including the # fragment)
ollama serve and ollama pull qwen2.5:7b, then pick the Ollama provider in nanobot~/.nanobot/config.json (you can reference secrets as ${VAR} environment variables instead)nanobot --version prints 0.4.1 (or the version you installed)Hello! in the WebUI → a normal reply means the model is connectednanobot 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)externally-managed-environment: do not add --break-system-packages — use the official installer or uv tool install nanobot-ai insteaduv tool upgrade nanobot-ai or python -m pip install -U nanobot-ai; stop the gateway and back up ~/.nanobot first# 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
AiBOX fills this in for you during the wizard — this section is for setting it up by hand.
You need an API key from the provider.
~/.nanobot/config.json
Get a key ↗You need an API key from the provider.
~/.nanobot/config.json
Get a key ↗Local model — no API key needed.
~/.nanobot/config.json
Runs on Windows / macOS — install it with AiBOX on any of them.
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.
Everything stays on your own machine: ~/.nanobot. To uninstall, delete these — nothing is ever uploaded.
An outdated step, an error you do not understand, a typo — tell us and we will fix this page.
Upstream projects
Version numbers are re-checked by our daily probe — when upstream ships a new release, this page follows.
A wrong step, a confusing error, a typo — open an issue and someone will look.