nanobot是一款超轻量级个人AI助手,以约4000行核心代码实现高效智能代理功能,资源占用低、启动快且易于部署与扩展。
nanobot: Ultra-Lightweight Personal AI Assistant
https://pypi.org/project/nanobot-ai/
🐈 nanobot is an ultra-lightweight personal AI assistant inspired by https://github.com/openclaw/openclaw
⚡️ Delivers core agent functionality in just ~4,000 lines of code — 99% smaller than Clawdbot's 430k+ lines.
📏 Real-time line count: 3,510 lines (run bash core_agent_lines.sh to verify anytime)
Key Features of nanobot:
🪶 Ultra-Lightweight: Just ~4,000 lines of core agent code — 99% smaller than Clawdbot.
🔬 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 deploy and you're ready to go.
# Initialize config (first time only) docker run -v ~/.nanobot:/root/.nanobot --rm smanx/nanobot nanobot onboard # Edit config on host to add API keys vim ~/.nanobot/config.json # Run gateway (connects to Telegram/WhatsApp) docker run -v ~/.nanobot:/root/.nanobot -p 18790:18790 smanx/nanobot # or docker run -v ~/.nanobot:/root/.nanobot -p 18790:18790 \ -e NANOBOT_DEFAULT_MODEL=... \ -e OPENAI_API_BASE=... \ -e OPENAI_API_KEY=... \ smanx/nanobot # Or run a single command docker run -v ~/.nanobot:/root/.nanobot --rm smanx/nanobot nanobot agent -m "Hello!" docker run -v ~/.nanobot:/root/.nanobot --rm smanx/nanobot nanobot status
Environment Variables
| Environment Variable | Description |
|---|---|
NANOBOT_DEFAULT_MODEL | Default model name to use |
OPENAI_API_BASE | OpenAI API base URL |
OPENAI_API_KEY | OpenAI API key |
Related Links
- Official Documentation: https://github.com/HKUDS/nanobot
- Original Project: https://github.com/HKUDS/nanobot
smanx 命名空间的其他可用镜像:
smanx/nanobot Related Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务
