ClaudeWave
HKUDS
HKUDS

nanobot

View on GitHub

"๐Ÿˆ nanobot: The Ultra-Lightweight Personal AI Agent"

Subagents39.5k stars6.9k forksโ— PythonMITUpdated today
ClaudeWave Trust Score
75/100
โœ“ Trusted

Ultra-lightweight personal AI agent in Python positioned as a minimal alternative to larger harnesses.

Passed
  • โœ“Open-source license (MIT)
  • โœ“Actively maintained (<30d)
  • โœ“Healthy fork ratio
  • โœ“Clear description
  • โœ“Topics declared
  • โœ“Documented (README)
Use with caution
Last scanned: 4/14/2026
Install in Claude Desktop
Method detected: Manual
{
  "mcpServers": {
    "nanobot": {
      "command": "node",
      "args": ["/path/to/nanobot/dist/index.js"]
    }
  }
}
1. Copy the snippet above.
2. Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
3. Replace any <placeholder> values with your API keys or paths.
4. Restart Claude Desktop. The MCP server appears automatically.
๐Ÿ’ก Clone https://github.com/HKUDS/nanobot and follow its README for install instructions.
Use cases
๐Ÿ› ๏ธ Dev Tools๐Ÿง  AI / ML๐ŸŽจ Creative

Subagents overview

<div align="center">
  <img src="nanobot_logo.png" alt="nanobot" width="500">
  <h1>nanobot: Ultra-Lightweight Personal AI Agent</h1>
  <p>
    <a href="https://pypi.org/project/nanobot-ai/"><img src="https://img.shields.io/pypi/v/nanobot-ai" alt="PyPI"></a>
    <a href="https://pepy.tech/project/nanobot-ai"><img src="https://static.pepy.tech/badge/nanobot-ai" alt="Downloads"></a>
    <img src="https://img.shields.io/badge/python-โ‰ฅ3.11-blue" alt="Python">
    <img src="https://img.shields.io/badge/license-MIT-green" alt="License">
    <a href="https://nanobot.wiki/docs/0.1.5/getting-started/nanobot-overview"><img src="https://img.shields.io/badge/Docs-nanobot.wiki-blue?style=flat&logo=readthedocs&logoColor=white" alt="Docs"></a>
    <a href="./COMMUNICATION.md"><img src="https://img.shields.io/badge/Feishu-Group-E9DBFC?style=flat&logo=feishu&logoColor=white" alt="Feishu"></a>
    <a href="./COMMUNICATION.md"><img src="https://img.shields.io/badge/WeChat-Group-C5EAB4?style=flat&logo=wechat&logoColor=white" alt="WeChat"></a>
    <a href="https://discord.gg/MnCvHqpUGB"><img src="https://img.shields.io/badge/Discord-Community-5865F2?style=flat&logo=discord&logoColor=white" alt="Discord"></a>
  </p>
</div>

๐Ÿˆ **nanobot** is an **ultra-lightweight** personal AI agent inspired by [OpenClaw](https://github.com/openclaw/openclaw).

โšก๏ธ Delivers core agent functionality with **99% fewer lines of code**.

๐Ÿ“ Real-time line count: run `bash core_agent_lines.sh` to verify anytime.

## ๐Ÿ“ข News

- **2026-04-05** ๐Ÿš€ Released **v0.1.5** โ€” sturdier long-running tasks, Dream two-stage memory, production-ready sandboxing and programming Agent SDK. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.5) for details.
- **2026-04-04** ๐Ÿš€ Jinja2 response templates, Dream memory hardened, smarter retry handling.
- **2026-04-03** ๐Ÿง  Xiaomi MiMo provider, chain-of-thought reasoning visible, Telegram UX polish.
- **2026-04-02** ๐Ÿงฑ Long-running tasks run more reliably โ€” core runtime hardening.
- **2026-04-01** ๐Ÿ”‘ GitHub Copilot auth restored; stricter workspace paths; OpenRouter Claude caching fix.
- **2026-03-31** ๐Ÿ›ฐ๏ธ WeChat multimodal alignment, Discord/Matrix polish, Python SDK facade, MCP and tool fixes.
- **2026-03-30** ๐Ÿงฉ OpenAI-compatible API tightened; composable agent lifecycle hooks.
- **2026-03-29** ๐Ÿ’ฌ WeChat voice, typing, QR/media resilience; fixed-session OpenAI-compatible API.
- **2026-03-28** ๐Ÿ“š Provider docs refresh; skill template wording fix.
- **2026-03-27** ๐Ÿš€ Released **v0.1.4.post6** โ€” architecture decoupling, litellm removal, end-to-end streaming, WeChat channel, and a security fix. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post6) for details.


<details>
<summary>Earlier news</summary>

- **2026-03-26** ๐Ÿ—๏ธ Agent runner extracted and lifecycle hooks unified; stream delta coalescing at boundaries.
- **2026-03-25** ๐ŸŒ StepFun provider, configurable timezone, Gemini thought signatures.
- **2026-03-24** ๐Ÿ”ง WeChat compatibility, Feishu CardKit streaming, test suite restructured.
- **2026-03-23** ๐Ÿ”ง Command routing refactored for plugins, WhatsApp/WeChat media, unified channel login CLI.
- **2026-03-22** โšก End-to-end streaming, WeChat channel, Anthropic cache optimization, `/status` command.
- **2026-03-21** ๐Ÿ”’ Replace `litellm` with native `openai` + `anthropic` SDKs. Please see [commit](https://github.com/HKUDS/nanobot/commit/3dfdab7).
- **2026-03-20** ๐Ÿง™ Interactive setup wizard โ€” pick your provider, model autocomplete, and you're good to go.
- **2026-03-19** ๐Ÿ’ฌ Telegram gets more resilient under load; Feishu now renders code blocks properly.
- **2026-03-18** ๐Ÿ“ท Telegram can now send media via URL. Cron schedules show human-readable details.
- **2026-03-17** โœจ Feishu formatting glow-up, Slack reacts when done, custom endpoints support extra headers, and image handling is more reliable.
- **2026-03-16** ๐Ÿš€ Released **v0.1.4.post5** โ€” a refinement-focused release with stronger reliability and channel support, and a more dependable day-to-day experience. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post5) for details.
- **2026-03-15** ๐Ÿงฉ DingTalk rich media, smarter built-in skills, and cleaner model compatibility.
- **2026-03-14** ๐Ÿ’ฌ Channel plugins, Feishu replies, and steadier MCP, QQ, and media handling.
- **2026-03-13** ๐ŸŒ Multi-provider web search, LangSmith, and broader reliability improvements.
- **2026-03-12** ๐Ÿš€ VolcEngine support, Telegram reply context, `/restart`, and sturdier memory.
- **2026-03-11** ๐Ÿ”Œ WeCom, Ollama, cleaner discovery, and safer tool behavior.
- **2026-03-10** ๐Ÿง  Token-based memory, shared retries, and cleaner gateway and Telegram behavior.
- **2026-03-09** ๐Ÿ’ฌ Slack thread polish and better Feishu audio compatibility.
- **2026-03-08** ๐Ÿš€ Released **v0.1.4.post4** โ€” a reliability-packed release with safer defaults, better multi-instance support, sturdier MCP, and major channel and provider improvements. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post4) for details.
- **2026-03-07** ๐Ÿš€ Azure OpenAI provider, WhatsApp media, QQ group chats, and more Telegram/Feishu polish.
- **2026-03-06** ๐Ÿช„ Lighter providers, smarter media handling, and sturdier memory and CLI compatibility.
- **2026-03-05** โšก๏ธ Telegram draft streaming, MCP SSE support, and broader channel reliability fixes.
- **2026-03-04** ๐Ÿ› ๏ธ Dependency cleanup, safer file reads, and another round of test and Cron fixes.
- **2026-03-03** ๐Ÿง  Cleaner user-message merging, safer multimodal saves, and stronger Cron guards.
- **2026-03-02** ๐Ÿ›ก๏ธ Safer default access control, sturdier Cron reloads, and cleaner Matrix media handling.
- **2026-03-01** ๐ŸŒ Web proxy support, smarter Cron reminders, and Feishu rich-text parsing improvements.
- **2026-02-28** ๐Ÿš€ Released **v0.1.4.post3** โ€” cleaner context, hardened session history, and smarter agent. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post3) for details.
- **2026-02-27** ๐Ÿง  Experimental thinking mode support, DingTalk media messages, Feishu and QQ channel fixes.
- **2026-02-26** ๐Ÿ›ก๏ธ Session poisoning fix, WhatsApp dedup, Windows path guard, Mistral compatibility.
- **2026-02-25** ๐Ÿงน New Matrix channel, cleaner session context, auto workspace template sync.
- **2026-02-24** ๐Ÿš€ Released **v0.1.4.post2** โ€” a reliability-focused release with a redesigned heartbeat, prompt cache optimization, and hardened provider & channel stability. See [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post2) for details.
- **2026-02-23** ๐Ÿ”ง Virtual tool-call heartbeat, prompt cache optimization, Slack mrkdwn fixes.
- **2026-02-22** ๐Ÿ›ก๏ธ Slack thread isolation, Discord typing fix, agent reliability improvements.
- **2026-02-21** ๐ŸŽ‰ Released **v0.1.4.post1** โ€” new providers, media support across channels, and major stability improvements. See [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4.post1) for details.
- **2026-02-20** ๐Ÿฆ Feishu now receives multimodal files from users. More reliable memory under the hood.
- **2026-02-19** โœจ Slack now sends files, Discord splits long messages, and subagents work in CLI mode.
- **2026-02-18** โšก๏ธ nanobot now supports VolcEngine, MCP custom auth headers, and Anthropic prompt caching.
- **2026-02-17** ๐ŸŽ‰ Released **v0.1.4** โ€” MCP support, progress streaming, new providers, and multiple channel improvements. Please see [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.4) for details.
- **2026-02-16** ๐Ÿฆž nanobot now integrates a [ClawHub](https://clawhub.ai) skill โ€” search and install public agent skills.
- **2026-02-15** ๐Ÿ”‘ nanobot now supports OpenAI Codex provider with OAuth login support.
- **2026-02-14** ๐Ÿ”Œ nanobot now supports MCP! See [MCP section](#mcp-model-context-protocol) for details.
- **2026-02-13** ๐ŸŽ‰ Released **v0.1.3.post7** โ€” includes security hardening and multiple improvements. **Please upgrade to the latest version to address security issues**. See [release notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.3.post7) for more details.
- **2026-02-12** ๐Ÿง  Redesigned memory system โ€” Less code, more reliable. Join the [discussion](https://github.com/HKUDS/nanobot/discussions/566) about it!
- **2026-02-11** โœจ Enhanced CLI experience and added MiniMax support!
- **2026-02-10** ๐ŸŽ‰ Released **v0.1.3.post6** with improvements! Check the updates [notes](https://github.com/HKUDS/nanobot/releases/tag/v0.1.3.post6) and our [roadmap](https://github.com/HKUDS/nanobot/discussions/431).
- **2026-02-09** ๐Ÿ’ฌ Added Slack, Email, and QQ support โ€” nanobot now supports multiple chat platforms!
- **2026-02-08** ๐Ÿ”ง Refactored Providersโ€”adding a new LLM provider now takes just 2 simple steps! Check [here](#providers).
- **2026-02-07** ๐Ÿš€ Released **v0.1.3.post5** with Qwen support & several key improvements! Check [here](https://github.com/HKUDS/nanobot/releases/tag/v0.1.3.post5) for details.
- **2026-02-06** โœจ Added Moonshot/Kimi provider, Discord integration, and enhanced security hardening!
- **2026-02-05** โœจ Added Feishu channel, DeepSeek provider, and enhanced scheduled tasks support!
- **2026-02-04** ๐Ÿš€ Released **v0.1.3.post4** with multi-provider & Docker support! Check [here](https://github.com/HKUDS/nanobot/releases/tag/v0.1.3.post4) for details.
- **2026-02-03** โšก Integrated vLLM for local LLM support and improved natural language task scheduling!
- **2026-02-02** ๐ŸŽ‰ nanobot officially launched! Welcome to try ๐Ÿˆ nanobot!

</details>

> ๐Ÿˆ nanobot is for educational, research, and technical exchange purposes only. It is unrelated to crypto and does not involve any official token or coin.

## Key Features of nanobot:

๐Ÿชถ **Ultra-Lightweight**: A lightweight implementation built for stable, long-running AI agents.

๐Ÿ”ฌ **Research-Ready**: Clean, readable code that's easy to understand, modify, and extend for research.

โšก๏ธ **Lightning Fast**: M
aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexllmnanobotopenaiopenclaw

More Subagents