Nanobot is a lightweight, open-source framework for personal AI assistants that focuses on providing essential agent functionalities and autonomous capabilities within a compact and understandable codebase of roughly 3,400 to 4,000 lines of Python, which is around 99% smaller than similar large agent frameworks. Its design is purposely straightforward and modular, making it accessible for researchers and developers to comprehend, modify, and explore for various projects. The framework includes features such as persistent memory, task scheduling, built-in tools, and the ability to integrate with several large language models through platforms like OpenRouter, allowing it to function locally or to be deployed swiftly using command-line instructions. Furthermore, nanobot supports real-time web searches and can connect through multiple chat platforms, including Telegram, Discord, WhatsApp, and Feishu, enabling seamless interaction across diverse environments. The lightweight structure not only facilitates rapid startup times and minimal resource consumption but also provides a clean architectural framework that developers can easily customize without intricate abstractions, making it an ideal choice for both personal use and experimentation in AI development. Additionally, its user-friendly nature encourages innovation and creativity among developers, fostering an environment ripe for advancements in AI applications.