nanobot
nanobot is a lightweight AI agent configured by a single config.json. Built on uv-managed Python, install and start are both one-liners.
Prerequisites
| Item | Requirement |
|---|---|
| uv | Installed |
| WRouter | A working sk- token |
Install
bash
uv tool install nanobot-aiWindows extra step
Add %USERPROFILE%\.local\bin to PATH so nanobot is callable:
powershell
$env:PATH = "$env:USERPROFILE\.local\bin;$env:PATH"Persist by adding to your PowerShell Profile.
Verify install
bash
nanobot --versionConfigure
1. Generate default config
bash
nanobot onboardWrites the config to:
- Linux / macOS:
~/.nanobot/config.json - Windows:
%USERPROFILE%\.nanobot\config.json
2. Edit config.json
json
{
"agents": {
"defaults": {
"model": "claude-sonnet-4-6",
"provider": "wrouter"
}
},
"providers": {
"wrouter": {
"apiKey": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"apiBase": "https://wrouter.ai/v1"
}
}
}Field notes:
| Field | Note |
|---|---|
apiBase | Must end in /v1 |
model | Must match WRouter's model ID exactly |
provider (under defaults) | Refers to the key under providers |
Multiple providers can live in parallel; agents.defaults.provider picks the default.
Start
bash
nanobot agentAsk anything; a response means it works.
Switch models
Edit agents.defaults.model and restart nanobot agent.
Known limitations
nanobotis minimal by design; advanced agent orchestration features live in other agents like Hermes or AionUi.