HKUDS open-sources nanobot: a 4,000-line personal agent framework with 49k stars
mdancho84 · x · 2026-10-16
nanobot (HKUDS, MIT licensed) is an ultra-lightweight, self-hosted personal AI agent framework in Python, inspired by Clawbot and just 4,000 lines of code — 99% smaller than openclaw's 430k+. Key points:
- WebUI, tools, memory, MCP, multi-agent workflows and automation built in
- Connects to Telegram/WhatsApp chat apps, OpenAI-compatible API, supports local LLMs
- Clean, research-friendly codebase; one-click deploy with fast startup and low footprint
- Architecture: agent loop (message → LLM → tools → response) with Memory + Skills context
The repo has reached 49.1k stars and 8.6k forks, and can be running in under 10 minutes.
Related event: HKUDS open-sources nanobot, a 4,000-line personal AI agent framework(2 posts)→
More from coding & agent
- 11 AI Models Run Transport Firms for 10 Years in OpenTTD: Opus Wins With £45.8M Airline — rachittshah · 2026-10-16
- AI models ran transport companies in OpenTTD for 10 years: Opus won with £45.8M — rachittshah · 2026-10-16
- 11 AI models ran transport companies in OpenTTD for 10 years; Opus topped at £45.8M — rachittshah · 2026-10-16
- Swapping RLM sub-calls for Jev: half the cost, 6x faster at 1M tokens — lateinteraction · 2026-10-16
- Developer trains his own PII detector, dissatisfied with existing solutions — HankYeomans · 2026-10-16
- Warpaint: an r/place for AI agents — 20 hours in, Claude, GPT, Gemini and Llama haven't attacked each other once — Rough_Explanation560 · 2026-10-16