nanobot

HKUDS

A small, self-hosted personal AI agent written in Python that you can chat with through common messaging apps and extend with tools, designed to be easy to read and modify.

PythonCreated

What is HKUDS/nanobot?

nanobot is a lightweight, open-source, self-hosted personal AI agent written in Python. You can talk to it from a browser, a terminal or a chat app such as Discord, WeChat or Feishu. Its small codebase is meant to be readable and easy to modify, so you can extend it with your own tools rather than configuring a large framework.

The README is translated into many languages and links to community channels on Discord, X and WeChat. Because it runs on your own server or machine, the security of its tools and the credentials you give it depend on how you deploy it.

It suits developers who want a personal agent they can read and change, and people who want an assistant reachable from their everyday messaging apps while the data stays on their own hardware.

agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllms