← Open Source

Your lightweight open-source personal agent.

ApplicationsPersonalProductivityPython
Momentum
+22stars in 24 hours+0.0%
50.6k
Stars
8.80k
Forks
+153
This week
100
Contributors
Created 2026-02-01 · Updated 2026-12-06 · #705 today
Top developers
README

nanobot

A fast, self-hosted workspace for getting real work done with AI models—from your browser, terminal, or the chat apps you already use. Built around a single lightweight Python gateway and a WebUI we spend serious time crafting, it keeps parallel conversations smooth without heavyweight desktop runtimes.

8 concurrent live sessions across a 4-pane workbench on a single Python gateway (~149 MiB), live split resizing, native BSP layouts, mid-stream queueing, and cross-session @mentions · 1080p 60fps MP4

Install

Requires Python 3.11+ and a cloud provider, OAuth subscription, or local model server. Packaged installs bundle both the WebUI and terminal UI—no frontend build step needed.

Note

This README tracks main; the installers below install the latest stable release. For published release docs, visit nanobot.wiki.

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh

Windows PowerShell

irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1 | iex
Preview the installer or inspect the scripts first
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh -s -- --dry-run
# Windows PowerShell
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1))) --dry-run

Or read scripts/install.sh and scripts/install.ps1 directly.

Other install methods: uv, pip, or from source
# uv
uv tool install nanobot-ai
nanobot webui
# pip (inside a virtual environment)
python -m pip install nanobot-ai
nanobot webui
# From source (latest main)
git clone https://github.com/HKUDS/nanobot.git
cd nanobot
python3 -m venv .venv
source .venv/bin/activate   # Windows PowerShell: .venv\Scripts\Activate.ps1
python -m pip install -e .
nanobot webui

See Install and Quick Start and Updating nanobot for troubleshooting and upgrades.

Quick Start

If the installer already opened the WebUI, continue there. Otherwise run:

nanobot webui
  1. Open Settings → Models and add a model preset (OpenRouter, Anthropic, OpenAI, Gemini, DeepSeek, Codex/Copilot OAuth, or local Ollama/vLLM/LM Studio).
  2. Pick a workspace folder and send your first message—or ask nanobot directly in chat to help connect a channel or tool.
  3. Group up to four topics in resizable panes, queue follow-ups mid-stream, and pull context across sessions with @.
Terminal UI (TUI), remote SSH access, and background gateway

Terminal UI (shares the same gateway and history as the WebUI):

nanobot onboard --wizard
nanobot                    # interactive TUI
nanobot agent -m "Hello!"  # single-shot CLI

Remote server over SSH:

# On the server
nanobot webui --no-open

# On your machine
ssh -N -L 127.0.0.1:8765:127.0.0.1:8765 user@SERVER

Open the complete login link printed on the server (including #...), or connect from an existing local WebUI via Remote Instances.

Background gateway:

nanobot gateway --background
nanobot gateway status | logs | restart | stop

Docs

Deploy

Self-host: Docker Compose · Linux systemd · macOS LaunchAgent

Releases

Latest release: v0.4.2 release notes · Update guide · Release archive

Open Source Partners

Contribute

Everyone is welcome to open an issue with a bug, reproduction, use case, or suggestion. Discuss the problem first; pull requests are limited to repository collaborators. See CONTRIBUTING.md for the process and recognition.

Maintainers


Xubin Ren


Yongru Cheng

Community Contributors

Thanks for visiting ✨ nanobot!

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store