nanobot: An Ultra-Lightweight, Self-Hosted Personal AI Agent Framework

This repository profile is provided by osrepos.com, an open source repository discovery platform.

nanobot: An Ultra-Lightweight, Self-Hosted Personal AI Agent Framework

Summary

nanobot is an ultra-lightweight, open-source, self-hosted personal AI agent framework built in Python. It offers a WebUI, tools, memory, multi-agent workflows, and automation capabilities, making it a versatile solution for personal AI tasks. Users can deploy it across various platforms, including chat apps, for seamless integration.

Repository Information

Analyzed by OSRepos on August 9, 2026

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

nanobot is an innovative, ultra-lightweight, and open-source personal AI agent framework developed in Python. Designed for self-hosting, it provides a comprehensive suite of features including a WebUI, various tools, long-term memory, Model Context Protocol (MCP) integrations, multi-agent workflows, and scheduled automation. Whether you prefer a browser interface, a terminal, or integration with popular chat applications, nanobot offers a flexible and powerful platform for managing your AI agents.

Installation

Getting started with nanobot requires Python 3.11 or newer. For the most stable experience, installation from PyPI or using uv is recommended. If you prefer the latest features, you can install from source.

One-command setup (macOS / Linux):

curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh

One-command setup (Windows PowerShell):

irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1 | iex

Alternatively, you can install using uv or pip:

Install with uv:

uv tool install nanobot-ai

Install from PyPI with pip:

python -m pip install nanobot-ai

For detailed instructions, including source installation and troubleshooting, please refer to the official documentation.

Examples

Once installed, nanobot offers several ways to interact with your AI agent.

Open nanobot in your browser (recommended first run):

nanobot webui

This command launches the WebUI, allowing you to configure models and start new topics.

For a quick, one-shot interaction in the terminal:

nanobot agent -m "Hello!"

This is useful for quick checks or integrating into shell scripts. You can also run the gateway in the background or interact entirely within the terminal.

Why Use nanobot?

nanobot stands out due to several key advantages:

  • Persistent Workflows: It ensures that goals, memory, tools, and chat context endure across long-running tasks.
  • Chat-Native Reach: With support for WebUI, API, Telegram, Discord, Slack, WeChat, email, and Mattermost, nanobot is accessible wherever you communicate.
  • Model Freedom: It supports OpenAI-compatible APIs, local LLMs, image generation, search, and fallback models, giving you control over your AI backend.
  • Small Core: Its readable internals, with built-in MCP, memory, deployment, and automation, make it easy to understand and extend.
  • Own Your Stack: You have the freedom to inspect, customize, self-host, and extend the framework without reliance on a large platform.

Links

Related repositories

Similar repositories that may be relevant next.

QwenPaw: Your Personal AI Assistant for Local and Cloud Deployment

QwenPaw: Your Personal AI Assistant for Local and Cloud Deployment

August 7, 2026

QwenPaw is a powerful personal AI assistant designed for easy installation and deployment, either on your local machine or in the cloud. It supports multiple chat applications and offers highly extensible capabilities, making it a versatile tool for various AI-driven tasks. With its robust memory system and security features, QwenPaw aims to be an intuitive and private partner in your digital life.

agentai-agentchatbot
Zero: The AI Coding Agent for Your Local Terminal

Zero: The AI Coding Agent for Your Local Terminal

July 6, 2026

Zero is an innovative AI coding agent designed for your local terminal, offering powerful capabilities to inspect repositories, edit files, run commands, and utilize browser/terminal helpers. It provides durable local sessions while giving users full control over the AI model and permission levels. This tool empowers developers with a customizable and secure AI assistant directly within their development environment.

aiai-agentcli
OfficeCLI: The AI-Native CLI for Word, Excel, and PowerPoint Automation

OfficeCLI: The AI-Native CLI for Word, Excel, and PowerPoint Automation

June 28, 2026

OfficeCLI is a free, open-source command-line interface designed for AI agents and developers to read, edit, and automate Word, Excel, and PowerPoint files. It operates as a single binary, requiring no Office installation or dependencies. With its built-in rendering and formula engines, OfficeCLI enables high-fidelity document manipulation and visualization in headless environments.

ai-agentclioffice-automation
Agent-Reach: Empower Your AI Agents with Internet Access, Zero API Fees

Agent-Reach: Empower Your AI Agents with Internet Access, Zero API Fees

June 21, 2026

Agent-Reach is a powerful GitHub repository that equips AI agents with the ability to access and search the entire internet, including platforms like Twitter, Reddit, YouTube, and Bilibili. It provides a streamlined CLI experience, eliminating the need for complex API configurations and associated fees. This project ensures your AI agent can "see" and interact with web content effortlessly.

ai-agentagent-infrastructureai-search

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️