Duyệt miễn phí mỗi ngày. Lên Pro để cài đặt và dùng Airsc MCP không giới hạn.

Xem gói Pro
MCP serverCẩn thậnQuy trình & bộ nhớ agentNâng cao

nanobot

HKUDS · HKUDS/nanobot

Framework Python tự host này cho phép xây dựng AI agent cá nhân với WebUI, công cụ, bộ nhớ, tích hợp MCP và quy trình làm việc đa agent.

Framework tác nhân AI cá nhân tự host, mã nguồn mở, siêu nhẹ bằng Python với WebUI, công cụ, bộ nhớ, MCP, quy trình làm việc đa tác nhân, tự động hóa và ứng dụng trò chuyện

49k sao8.7kGiấy phép: MITCập nhật Hôm qua0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Tạo một trợ lý AI tùy chỉnh với bộ nhớ lâu dài và nhiều công cụ khác nhau.
  • Tích hợp agent của bạn với các nền tảng trò chuyện như Discord hoặc Telegram.
  • Phát triển các quy trình làm việc đa agent phức tạp để tự động hóa và xử lý dữ liệu.

Thử hỏi agent của bạn

  • “Cấu hình nanobot để kết nối tài khoản Telegram của tôi và phản hồi tin nhắn.”
  • “Tạo quy trình làm việc agent theo dõi repo GitHub để tìm các vấn đề mới và tóm tắt hàng ngày.”
  • “Thiết lập công cụ web scraping cho nanobot để trích xuất dữ liệu từ các trang web thương mại điện tử.”

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.README.md

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

English | 简体中文 | 繁體中文 | Español | Français | Bahasa Indonesia | 日本語 | 한국어 | Русский | Tiếng Việt

Discord ·
X ·
WeChat / Feishu

nanobot

🐈 nanobot is an ultra-lightweight, open-source, self-hosted personal AI agent framework written in Python. Use it in a browser, terminal, or chat app to work with files, remember preferences, and schedule tasks. Connect a supported model provider or local model server to supply the AI.

Start Here

You want to...Go to
Install nanobot with no terminal/config backgroundStart Without Technical Background
Install quickly and get your first replyInstall and Quick Start
Open the bundled browser UIWebUI
Connect Telegram, Discord, WeChat, Slack, Email, Mattermost, Linear, or another channelChat app guide
Configure providers, fallback models, Langfuse, MCP, web tools, or securityDocs and Configuration
Develop the browser UIInstall current source, then WebUI development and Contributing
Integrate from Python or HTTPPython SDK or Agent API
Understand or extend the internalsArchitecture, Contributing, and Provider extensions
Deploy to the cloud or keep nanobot running as a serviceDeployment

What can nanobot do?

nanobot can:

  • run in a browser WebUI or terminal
  • connect to Telegram, Discord, Slack, WeChat, Email, Mattermost, Linear, and other channels
  • read PDF, Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files with built-in file tools, for tasks such as summarizing reports
  • use shell, web search/fetch, MCP integrations, cron, image generation, and multi-agent delegation
  • keep session history and long-term memory through Dream
  • run long-horizon goals and scheduled automations
  • expose a Python SDK and OpenAI-compatible API for integrations
  • deploy as a long-running local or server-side agent gateway

💡 Why nanobot

  • Persistent workflows: keep saved conversations, long-term memory, and task results for later work.
  • Chat-native reach: WebUI, API, Telegram, Feishu, Slack, Discord, Teams, email, Mattermost, and Linear.
  • Model freedom: OpenAI-compatible APIs, local LLMs, image generation, search, and fallbacks.
  • Small core: readable internals with MCP, memory, deployment, and automation built in.
  • Own your stack: inspect, customize, self-host, and extend without a giant platform.

📦 Install

You need Python 3.11 or newer and access to a supported model provider or local model server. Model fees or local hardware requirements depend on the service you choose; nanobot does not supply a model account.

Choose the stable release for everyday use or current source for development and the latest features. This README describes current source; published documentation covers the released version.

New to terminals or model credentials? Follow Start Without Technical Background. Updating an existing instance? Follow updates and recovery for your installation method, backup steps and restart checks.

TrackInstall withUpdate withWhat runs
Stableinstaller, uv, or pipmanaged installer: WebUI update; other installs: original package toolone released Python/WebUI/TUI version
Current sourceeditable Git checkoutgit pull --ff-only + editable dependency syncPython, WebUI, and TUI from that checkout

Stable release: automatic setup (recommended)

The installer chooses an isolated Python environment and opens setup for you. The two commands below are the same installation method for different operating systems; run only the one for your system.

macOS / Linux

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

Windows PowerShell

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

Installer details, preview, and script review

The default command installs or upgrades the stable PyPI release. Fresh installations use a dedicated environment under ~/.nanobot/venv. On a fresh local desktop it opens the WebUI for model setup. That gateway keeps running after the browser or terminal closes; use the printed gateway stop command to stop it. SSH, headless, existing-config and older-release installs use terminal setup.

Existing installations keep their package manager, extras and constraints. An active ordinary venv remains an explicit target, not an installer-managed environment. The installer avoids system-wide pip and prints the command to reuse if nanobot is not on PATH.

To preview the plan without changing your environment, pass --dry-run.

curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh -s -- --dry-run
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1))) --dry-run

If you prefer to inspect the script first, open scripts/install.sh or scripts/install.ps1.

Already use uv or pip? Install the stable package yourself

Use this instead of the recommended installer when you already manage your own Python environment. These commands install the same stable `nanobo

Xem mã nguồn trên GitHub