Back to Astrbot

README

README.md

4.24.214.2 KB
Original Source

<div align="center">

<a href="https://github.com/AstrBotDevs/AstrBot/blob/master/README_zh.md">简体中文</a><a href="https://github.com/AstrBotDevs/AstrBot/blob/master/README_zh-TW.md">繁體中文</a><a href="https://github.com/AstrBotDevs/AstrBot/blob/master/README_ja.md">日本語</a><a href="https://github.com/AstrBotDevs/AstrBot/blob/master/README_fr.md">Français</a><a href="https://github.com/AstrBotDevs/AstrBot/blob/master/README_ru.md">Русский</a>

<div> <a href="https://trendshift.io/repositories/12875" target="_blank"></a> <a href="https://hellogithub.com/repository/AstrBotDevs/AstrBot" target="_blank"></a> </div> <div>

<a href="https://zread.ai/AstrBotDevs/AstrBot" target="_blank"></a> <a href="https://hub.docker.com/r/soulter/astrbot"></a>

</div>

<a href="https://astrbot.app/">Documentation</a><a href="https://blog.astrbot.app/">Blog</a><a href="https://astrbot.featurebase.app/roadmap">Roadmap</a><a href="https://github.com/AstrBotDevs/AstrBot/issues">Issue Tracker</a><a href="mailto:[email protected]">Email Support</a>

</div>

AstrBot is an open-source all-in-one Agent chatbot platform that integrates with mainstream instant messaging apps. It provides reliable and scalable conversational AI infrastructure for individuals, developers, and teams. Whether you're building a personal AI companion, intelligent customer service, automation assistant, or enterprise knowledge base, AstrBot enables you to quickly build production-ready AI applications within your IM platform workflows.

Key Features

  1. 💯 Free & Open Source.
  2. ✨ AI LLM Conversations, Multimodal, Agent, MCP, Skills, Knowledge Base, Persona Settings, Auto Context Compression.
  3. 🤖 Supports integration with Dify, Alibaba Cloud Bailian, Coze, and other agent platforms.
  4. 🌐 Multi-Platform: QQ, WeChat Work, Feishu, DingTalk, WeChat Official Accounts, Telegram, Slack, and more.
  5. 📦 Plugin Extensions with 1000+ plugins available for one-click installation.
  6. 🛡️ Agent Sandbox for isolated, safe execution of code, shell calls, and session-level resource reuse.
  7. 💻 WebUI Support.
  8. 🌈 Web ChatUI Support with built-in agent sandbox and web search.
  9. 🌐 Internationalization (i18n) Support.
<table align="center"> <tr align="center"> <th>💙 Role-playing & Emotional Companionship</th> <th>✨ Proactive Agent</th> <th>🚀 General Agentic Capabilities</th> <th>🧩 1000+ Community Plugins</th> </tr> <tr> <td align="center"><p align="center"></p></td> <td align="center"><p align="center"></p></td> <td align="center"><p align="center"></p></td> <td align="center"><p align="center"></p></td> </tr> </table>

Quick Start

One-Click Deployment

For users who want to quickly experience AstrBot, are familiar with command-line usage, and can install a uv environment on their own, we recommend the uv one-click deployment method ⚡️:

bash
uv tool install astrbot --python 3.12
astrbot init # Only execute this command for the first time to initialize the environment
astrbot run

Requires uv to be installed. AstrBot requires Python 3.12 or later. The --python 3.12 option ensures that uv creates the tool environment with Python 3.12.

[!NOTE] For macOS users: due to macOS security checks, the first run of the astrbot command may take longer (about 10-20s).

Update astrbot:

bash
uv tool upgrade astrbot --python 3.12

[!WARNING] AstrBot deployed via uv does not support upgrading through the WebUI. To update, please run the command above from the command line.

Docker Deployment

For users familiar with containers and looking for a more stable, production-ready deployment method, we recommend deploying AstrBot with Docker / Docker Compose.

Please refer to the official documentation: Deploy AstrBot with Docker.

Deploy on RainYun

For users who want one-click deployment and do not want to manage servers themselves, we recommend RainYun's one-click cloud deployment service ☁️:

Desktop Application Deployment

For users who want to use AstrBot on desktop and mainly use ChatUI, we recommend AstrBot App.

Visit AstrBot-desktop to download and install; this method is designed for desktop usage and is not recommended for server scenarios.

Launcher Deployment

For desktop users who also want fast deployment and isolated multi-instance usage, we recommend AstrBot Launcher.

Visit AstrBot Launcher to download and install.

Deploy on Replit

Replit deployment is maintained by the community and is suitable for online demos and lightweight trials.

AUR

AUR deployment targets Arch Linux users who prefer installing AstrBot through the system package workflow.

Run the command below to install astrbot-git, then start AstrBot in your local environment.

bash
yay -S astrbot-git

More deployment methods

If you need panel-based management or deeper customization, see BT-Panel Deployment for BT Panel app-store setup, 1Panel Deployment for 1Panel app-market deployment, CasaOS Deployment for NAS/home-server visual deployment, and Manual Deployment for fully custom source-based installation with uv.

Supported Messaging Platforms

Connect AstrBot to your favorite chat platform.

PlatformMaintainer
QQOfficial
OneBot v11 protocol implementationOfficial
TelegramOfficial
Wecom & Wecom AI BotOfficial
WeChat Official AccountsOfficial
Feishu (Lark)Official
DingTalkOfficial
SlackOfficial
DiscordOfficial
LINEOfficial
SatoriOfficial
KOOKOfficial
MisskeyOfficial
MattermostOfficial
WhatsApp (Coming Soon)Official
MatrixCommunity
Rocket.ChatCommunity
VoceChatCommunity

Supported Model Services

ServiceType
OpenAI and Compatible ServicesLLM Services
AnthropicLLM Services
Google GeminiLLM Services
Moonshot AILLM Services
Zhipu AILLM Services
DeepSeekLLM Services
Ollama (Self-hosted)LLM Services
LM Studio (Self-hosted)LLM Services
AIHubMixLLM Services (API Gateway, supports all models)
CompShareLLM Services
302.AILLM Services
TokenPonyLLM Services
SiliconFlowLLM Services
PPIO CloudLLM Services
ModelScopeLLM Services
OneAPILLM Services
DifyLLMOps Platforms
Alibaba Cloud Bailian ApplicationsLLMOps Platforms
CozeLLMOps Platforms
OpenAI WhisperSpeech-to-Text Services
SenseVoiceSpeech-to-Text Services
Xiaomi MiMo OmniSpeech-to-Text Services
OpenAI TTSText-to-Speech Services
Gemini TTSText-to-Speech Services
GPT-Sovits-InferenceText-to-Speech Services
GPT-SovitsText-to-Speech Services
FishAudioText-to-Speech Services
Edge TTSText-to-Speech Services
Alibaba Cloud Bailian TTSText-to-Speech Services
Azure TTSText-to-Speech Services
Minimax TTSText-to-Speech Services
Xiaomi MiMo TTSText-to-Speech Services
Volcano Engine TTSText-to-Speech Services

❤️ Sponsors

<p align="center"> </p>

❤️ Contributing

Issues and Pull Requests are always welcome! Feel free to submit your changes to this project :)

How to Contribute

You can contribute by reviewing issues or helping with pull request reviews. Any issues or PRs are welcome to encourage community participation. Of course, these are just suggestions—you can contribute in any way you like. For adding new features, please discuss through an Issue first.

Development Environment

AstrBot uses ruff for code formatting and linting.

bash
git clone https://github.com/AstrBotDevs/AstrBot
pip install pre-commit
pre-commit install

🌍 Community

QQ Groups

  • Group 12: 916228568 (New)

  • Group 9: 1076659624 (Full)

  • Group 10: 1078079676 (Full)

  • Group 11: 704659519 (Full)

  • Group 1: 322154837 (Full)

  • Group 3: 630166526 (Full)

  • Group 4: 1077826412 (Full)

  • Group 5: 822130018 (Full)

  • Group 6: 753075035 (Full)

  • Group 7: 743746109 (Full)

  • Group 8: 1030353265 (Full)

  • Developer Group(Chit-chat): 975206796

  • Developer Group(Formal): 1039761811

Discord Server

<a href="https://discord.gg/hAVk6tgV36"></a>

❤️ Special Thanks

Special thanks to all Contributors and plugin developers for their contributions to AstrBot ❤️

<a href="https://github.com/AstrBotDevs/AstrBot/graphs/contributors"> </a>

Additionally, the birth of this project would not have been possible without the help of the following open-source projects:

⭐ Star History

[!TIP] If this project has helped you in your life or work, or if you're interested in its future development, please give the project a Star. It's the driving force behind maintaining this open-source project <3

<div align="center">

</div> <div align="center">

Companionship and capability should never be at odds. What we aim to create is a robot that can understand emotions, provide genuine companionship, and reliably accomplish tasks.

私は、高性能ですから!

</div>