项目:HKUDS/nanobot · ⭐ 43k · 香港大学数据科学实验室
nanobot由香港大学研究员Xubin Ren开发,核心理念"小而你的"——让AI Agent回归轻量和个性化。2026年2月首次提交,6月突破4.3万星。架构:小核心+大生态,支持30+LLM,一个人能跑,一群人能用。
# Python 安装
pip install nanobot-agent
# 或从源码
git clone https://github.com/HKUDS/nanobot.git
cd nanobot
pip install -e .
# 启动
nanobot init --model ollama/qwen3.8
nanobot run
| 特性 | 说明 |
|---|---|
| 小核心 | 核心仅几千行,轻量启动,资源占用极低 |
| 大生态 | 30+LLM适配器、插件市场、MCP协议支持 |
| 本地优先 | 数据不出本地,隐私安全有保障 |
| 多模型 | OpenAI/Claude/Ollama/vLLM/DeepSeek等全支持 |
# nanobot.yaml
model: ollama/qwen3.8
tools:
- file_search
- code_executor
- web_search
memory:
type: sqlite
path: ~/.nanobot/memory.db
plugins:
- name: github
config:
token: ${GITHUB_TOKEN}
nanobot的"小"不是功能少,而是核心精简——所有高级能力通过插件扩展,按需加载不占资源。适合个人开发者在笔记本上跑一个私人AI助手。
nanobot由香港大学研究员Xubin Ren开发,核心理念"小而你的"——让AI Agent回归轻量和个性化。2026年2月首次提交,6月突破4.3万星。架构:小核心+大生态,支持30+LLM,一个人能跑,一群人能用。
OpenHuman数字分身教程