explaingit

astrbotdevs/astrbot

📈 Trending32,540PythonAudience · developerComplexity · 3/5ActiveLicenseSetup · hard

TLDR

Open-source platform for deploying AI chatbots across Telegram, Discord, WeChat, and other messaging apps with a plugin marketplace and multi-provider LLM support.

Mindmap

mindmap
  root((AstrBot))
    What it does
      AI chatbot bridge
      Multi-messenger deploy
      Plugin marketplace
      Knowledge base RAG
    Supported platforms
      Telegram Discord
      WeChat Slack
      Feishu DingTalk
    AI providers
      OpenAI Gemini
      Dify Coze
      Custom models
    Key features
      Multi-turn history
      MCP tool calling
      Agent sandbox
      Web UI config
    Deployment
      Docker Compose
      Desktop app
      Python 3.12+
    Use cases
      Team assistants
      Customer support
      Personal companion
      Chat automation

Things people build with this

USE CASE 1

Deploy an AI assistant to your team's Slack or Discord server that answers questions and automates workflows.

USE CASE 2

Build a customer support chatbot that uses your company's documents to answer customer questions automatically.

USE CASE 3

Create a personal AI companion accessible across multiple messaging apps like Telegram and WeChat.

USE CASE 4

Set up image generation, translation, or weather lookup bots using the 1000+ community plugins.

Tech stack

PythonDockerOpenAIGoogle GeminiDifyCoze

Getting it running

Difficulty · hard Time to first run · 1day+

Requires Docker, multiple API keys (OpenAI/Gemini), and configuration across multiple messaging platforms (Telegram, Discord, WeChat) plus potential Dify/Coze integration setup.

Use it freely, but if you run it as a network service, you must release your changes to users. Strongest copyleft for SaaS.

In plain English

AstrBot is an open-source platform for building and deploying AI chatbot assistants that connect to popular messaging apps. It acts as a bridge between multiple AI language models and various instant messaging platforms, so you can deploy a chatbot on Telegram, Discord, WeChat, Feishu, DingTalk, Slack, or other services using the same configuration and plugin system. The platform handles the infrastructure work of managing conversations, routing messages, maintaining context, and interfacing with LLM providers so you can focus on customizing the bot's behavior. It supports connecting to many AI providers including OpenAI models, Google Gemini, and others, as well as integration with agent platforms like Dify and Coze. Features include multi-turn conversation history, knowledge bases for retrieval-augmented generation (which lets the bot answer questions using your own documents), custom personas, MCP tool-calling support, and an agent sandbox for safe code execution. The plugin marketplace contains over 1000 community-built extensions available for one-click installation, covering use cases like image generation, translation, weather lookup, and more. The project includes a web UI for configuration and management, and a chat UI for direct interaction. You would use AstrBot when you want to add an AI assistant to a team chat platform, build a customer-facing chatbot, create a personal AI companion across multiple messaging apps, or run automation workflows triggered by chat messages. The tech stack is Python, requiring version 3.12 or later. Deployment options include a uv package manager installation, Docker and Docker Compose, and a desktop application. The project is free and open source.

Copy-paste prompts

Prompt 1
How do I set up AstrBot to connect my OpenAI API key and deploy it to Discord?
Prompt 2
Show me how to create a custom plugin for AstrBot that integrates with my knowledge base.
Prompt 3
What's the easiest way to deploy AstrBot using Docker Compose on my server?
Prompt 4
How do I configure AstrBot to use retrieval-augmented generation with my own documents?
Prompt 5
Can you walk me through installing a plugin from the AstrBot marketplace and configuring it?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.