head to head · open source
AstrBot vs Langchain-Chatchat
AstrBot has 40,628 GitHub stars, 2,925 forks, 1,516 open issues and last shipped yesterday. Langchain-Chatchat has 38,641 stars, 6,263 forks, 26 open issues and last shipped 10 months ago. AstrBot leads on adoption by 5% (40,628 vs 38,641 stars). AstrBot is written in Python under AGPL-3.0; Langchain-Chatchat is written in Python under Apache-2.0. AstrBot has attracted 7% as many forks as stars, Langchain-Chatchat 16%. AstrBot was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 4 topic tags (chatbot, chatgpt, gpt, llama), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 8884 open source comparisons
Side by side
| AstrBot | Langchain-Chatchat | |
|---|---|---|
| GitHub stars | ★ 41K | ★ 39K |
| License | AGPL-3.0 | Apache-2.0 |
| Written in | Python | Python |
| Last push | 2026-09-17 | 2025-11-10 |
| Forks | ⑂ 2.9K | ⑂ 6.3K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick AstrBot if
- You weight community size — 41K stars and counting
- You want the AGPL-3.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick Langchain-Chatchat if
- You want the Langchain-Chatchat feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Python
- You evaluated both and Langchain-Chatchat fits your workflow better
About AstrBot
AstrBot is an open source all in one Agent chatbot platform written in Python and licensed under AGPL 3.0. It integrates with mainstream instant messaging applications and provides conversational AI infrastructure for individuals, developers, and teams. The project lives in the AI and machine learning ecosystem, specifically the AI interaction and interfaces category, and it has been developed over roughly four years. Its repository carries 40,504 stars and 2,915 forks, and its documented homepage is astrbot.app. Topics attached to the project include agent, ai, chatbot, chatgpt, discord, docker, gemini, gpt, lla…
read the full AstrBot overview →
About Langchain-Chatchat
Langchain Chatchat (formerly Langchain ChatGLM) is an open source RAG and Agent application built on the Langchain framework and designed to run against local large language models such as ChatGLM, Qwen, and Llama. It lives in the Python ecosystem, is distributed under the Apache 2.0 license, and is published on PyPI as langchain chatchat . The project targets Chinese language scenarios and open source models specifically, with the stated goal of providing a knowledge base question answering solution that can run entirely offline.
read the full Langchain-Chatchat overview →
More in AI & Machine Learning
Related comparisons
More AI Interaction & Interfaces projects
Compare either of these against the rest of the AI Interaction & Interfaces field.
Frequently asked questions
Is AstrBot or Langchain-Chatchat more popular?
AstrBot has 40,628 GitHub stars and Langchain-Chatchat has 38,641. AstrBot has the larger community by that measure.
Are AstrBot and Langchain-Chatchat free?
Both are open source. AstrBot is licensed under AGPL-3.0 and Langchain-Chatchat under Apache-2.0. Neither carries a licence fee.
What is the difference between AstrBot and Langchain-Chatchat?
AstrBot is written in Python and Langchain-Chatchat in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, AstrBot or Langchain-Chatchat?
Choose AstrBot if you want the larger community (40,628 stars) or its AGPL-3.0 licence terms. Choose Langchain-Chatchat if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.