English | 简体中文 | 繁體中文 | Español | Français | Bahasa Indonesia | 日本語 | 한국어 | Русский | Tiếng Việt
Discord · X · WeChat 微信交流群 · Feishu
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
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 | shWindows PowerShell
irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1 | iexPreview 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-runOr 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 webuiSee Install and Quick Start and Updating nanobot for troubleshooting and upgrades.
If the installer already opened the WebUI, continue there. Otherwise run:
nanobot webui- Open Settings → Models and add a model preset (OpenRouter, Anthropic, OpenAI, Gemini, DeepSeek, Codex/Copilot OAuth, or local Ollama/vLLM/LM Studio).
- Pick a workspace folder and send your first message—or ask nanobot directly in chat to help connect a channel or tool.
- 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 CLIRemote 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@SERVEROpen 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- First time? Beginner Walkthrough · Install & Quick Start · Documentation Index
- Interfaces: WebUI Guide · CLI & TUI Reference · 15+ Chat Apps (Telegram, Discord, Slack, Feishu, WeChat, WhatsApp, Email, Mattermost, Linear)
- Models & tools: Providers & Models · MCP Presets & Apps · Image Generation
- Memory & automation: Memory & Dream · Scheduled Tasks & Triggers
- Self-hosting & internals: Deployment · Configuration · Python SDK · Architecture · Troubleshooting
Self-host: Docker Compose · Linux systemd · macOS LaunchAgent
Latest release: v0.4.2 release notes · Update guide · Release archive
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.
Xubin Ren |
Yongru Cheng |