Nanobot:超輕量個人AI助理

Back
Category : News

最近,有一個新嘅AI項目Nanobot推出咗,佢係一個超輕量個人AI助理,只用咗大約4,000行code就實現咗核心agent功能,比起Clawdbot嘅43萬多行細咗99%。佢設計嚟講求速度、資源消耗少、同埋易於修改,特別適合用嚟做研究同開發。主要特點包括:超輕量codebase,啟動快,用資源少;code清潔易讀,方便修改同擴展;效能高,迭代快速;使用簡單,一鍵部署。架構方面,有agent核心邏輯、skills如GitHub、天氣、tmux;channels整合Telegram、WhatsApp、Feishu;仲有message routing、scheduled tasks、支援多個LLM providers如OpenRouter、Anthropic、OpenAI等。安裝好易,從source git clone之後pip install -e .;或者用uv tool install nanobot-ai;或直接pip install nanobot-ai。

快速開始:nanobot onboard,設定~/.nanobot/config.json加API keys同model,然後nanobot agent -m “What is 2+2?” 就得。

支援local models用vLLM,chat apps設定,CLI指令如gateway、status、cron等。亦支援Docker build同run。未來roadmap會加voice transcription、多模態功能、長-term memory、更好reasoning、更多integrations如Discord、Slack。佢用MIT license,旨在教育、研究同技術交流。https://github.com/HKUDS/nanobot