← Back to Leaderboard
AAstrBotDevs

AstrBotDevs/AstrBot

A self-hosted Python agent hub that connects chat platforms to model providers

Engineering Health (Methodology)
A · 87/100
Maintenance Activity
● Updated today
Latest Release
v4.30.3
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity11/20
DockerSelf-Hosted1 README badge views (30d)
Total Stars
★ 47,926
24h Growth
+16
7d Growth
+298
Forks
3,737

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

AstrBotDevs/AstrBot Star History (2022-12-07 - 2026-12-04) ALL-TIME STAR HISTORY (2022-12 – 2026-12) +47.9k in 1458d · avg +33/day 50.6k 25.3k 0 2022-12-07: ★ 12023-03-11: ★ 1802023-06-10: ★ 3492023-09-09: ★ 4032023-12-09: ★ 4412024-03-09: ★ 4822024-06-08: ★ 5192024-09-07: ★ 5462024-12-07: ★ 5872025-03-08: ★ 5,3072025-06-07: ★ 8,9692025-09-06: ★ 11,4172025-12-06: ★ 13,4442026-03-07: ★ 19,0502026-06-06: ★ 33,2772026-09-05: ★ 39,5842026-12-04: ★ 47,926 ★ 47.9k 2022-12 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

AstrBot is a Python 3.12+ application that sits between messaging platforms and model services. The integration flow is to receive a message through an IM adapter or Web ChatUI, handle it through the built-in agent runtime, and return the response through that channel. Messaging and inference are configured separately, so choosing an OpenAI-compatible or Ollama endpoint does not dictate which chat platform to use.

The tree includes main.py, runtime_bootstrap.py, the astrbot/ package, and dashboard/. FastAPI is listed in the Python stack, with SQLAlchemy asyncio support and aiosqlite among the persistence dependencies. Libraries such as dingtalk-stream, lark-oapi, and python-telegram-bot reflect the platform-specific adapter layer. Plugins and MCP extend agent tooling; the Agent Sandbox provides a separate execution environment for code and shell calls, with resources reusable within a session.

Key Capabilities & Differentiators

Official integrations include QQ, OneBot v11, Telegram, WeCom, WeChat Official Accounts, Feishu, DingTalk, Slack, and Discord. Matrix and Rocket.Chat rely on community adapters, and WhatsApp is listed as forthcoming. Web ChatUI gives operators a way to test conversations without first configuring an IM account, but channel-specific behavior still needs to be tested on the target platform.

Model integrations span OpenAI-compatible APIs, Anthropic, Gemini, DeepSeek, and self-hosted endpoints served by Ollama or LM Studio. Dify and Coze are supported as LLMOps integrations. Speech is configured separately through options such as OpenAI Whisper for speech-to-text and GPT-Sovits or Edge TTS for text-to-speech. The one-click catalog contains more than 3,000 plugins; that breadth does not establish compatibility with every release or feature parity across chat adapters.

Trade-offs & Limitations

Compared with using managed Coze, AstrBot gives you control over where the bot runs, which messaging adapters it uses, and which model endpoints it calls. It also makes you responsible for service credentials, dashboard exposure, plugin updates, and backups. Self-hosting the bot does not keep inference traffic on-premises if it still calls hosted model or speech APIs. Local model endpoints shift more of the cost and capacity planning to your own infrastructure.

Plugin breadth is useful when adapting the same assistant to several channels, but community adapters and third-party plugins need compatibility and permissions review before production use. Treat the sandbox as one isolation layer rather than a substitute for reviewing the tools you enable and the data they can access. For commercial deployments, AGPL-3.0 permits commercial use but carries source-offer obligations when users interact with your modified version over a network.

Hardware & Deployment Guide

Docker Compose is the most concrete self-hosted path: the supplied service runs soulter/astrbot:latest, publishes WebUI port 6185 and optional OneBot v11 WebSocket port 6199, and bind-mounts ./data at /AstrBot/data. The service sets no-new-privileges. Restrict dashboard access, omit the 6199 mapping if unused, and pin a tested image version rather than relying on latest. The supplied Compose file defines only the AstrBot service; local inference is configured separately.

Source execution requires Python 3.12 or later. Hosted model APIs do not require a GPU on the bot host; for local inference, size the model service for the chosen model, context length, and concurrency. Back up data and configuration before upgrading from a version earlier than v4.30.0. That release migrates conversation, agent, session, tool and skill, and button callback data; it also standardizes MCP tool names, so check existing permissions and enablement settings after upgrading. Plan rollback with the pre-upgrade backup, not just an older image: migrated conversations may appear missing in the older version.

Messaging adapters: Official integrations cover QQ, OneBot v11, Telegram, Feishu, DingTalk, Slack, and Discord; Matrix is community maintained.
Model routing: OpenAI-compatible, Anthropic, and Gemini services sit alongside self-hosted Ollama and LM Studio endpoints.
Agent extensions: A catalog with more than 3,000 plugins, MCP support, and a sandbox for code and shell execution with session-level resource reuse.
Web access: Web ChatUI supports direct interaction, and Compose exposes the WebUI on port 6185.
Container persistence: Compose bind-mounts ./data to /AstrBot/data; port 6199 is optional for OneBot v11 WebSocket.
Upgrade boundary: v4.30.0 requires Python 3.12 or later, migrates stored state, and renames MCP tools.
Best For

Teams and individuals who want to run one configurable assistant across chat platforms such as QQ, Telegram, Feishu, or Slack and choose their own model endpoints and plugins.

Skip If

You want a fully managed bot service, do not want to maintain connectors and upgrades, or cannot meet the AGPL obligations that apply to your deployment.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v4.30.3 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerSelf-Hosted
curl -fsSL https://docs.astrbot.app/install.sh | bash
# For future upgrades, please use `uv tool upgrade astrbot --python 3.12`

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
AstrBot ★47.9k+298PythonAGPL-3.0A self-hosted Python agent hub that connects chat platforms to model providers
ChatDev34.9k+33PythonApache-2.0Self-hosted multi-agent orchestration with a visual editor and YAML workflows
MetaGPT71.6k+94PythonMITA role-based Python agent framework that turns software briefs into project arti
QwenPaw38.5k+246PythonApache-2.0Self-hosted agent workspace for scheduled tasks and chat across apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/AstrBotDevs/AstrBot.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

AstrBotDevs/AstrBot Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about AstrBot

How do I connect a messaging platform and choose a model?

Configure a messaging adapter and a model provider separately. For example, pair the official Telegram or Feishu integration with OpenAI, Anthropic, or an endpoint served by Ollama. Use Web ChatUI to test the agent without an IM connector, then test delivery on the target platform. OneBot v11 is a separate integration path with an optional WebSocket port.

Do I need a GPU, and what determines hardware requirements?

AstrBot does not need a local inference GPU when it calls hosted model APIs. Size the bot host for concurrent sessions, plugins, and enabled tools. If you run Ollama or LM Studio yourself, size that service separately for the model, context length, and concurrency. There is no fixed VRAM requirement for AstrBot itself.

Can a company self-host AstrBot under AGPL-3.0?

AGPL-3.0 does not prohibit commercial use. If you modify AstrBot and let users interact with the modified version over a network, the AGPL requires you to offer those users its Corresponding Source. Check distribution obligations separately and review the terms that apply to your plugins, messaging platforms, and model services.

When should I choose AstrBot over Coze?

Choose AstrBot when you want to operate the bot yourself, connect it directly to several chat platforms, and choose its model endpoints and plugins. Choose managed Coze when avoiding bot-host maintenance matters more than running that stack yourself. It is not necessarily an either-or decision: AstrBot also lists Coze as a supported LLMOps integration.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining AstrBotDevs/AstrBot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature AstrBotDevs/AstrBot on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare