head to head · open source
AstrBot vs Langchain-Chatchat
AstrBot has 45,662 GitHub stars, 3,350 forks, 1,516 open issues and last shipped yesterday. Langchain-Chatchat has 38,714 stars, 6,255 forks, 26 open issues and last shipped 12 months ago. AstrBot leads on adoption by 18% (45,662 vs 38,714 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 20902 open source comparisons
Side by side
| AstrBot | Langchain-Chatchat | |
|---|---|---|
| GitHub stars | ★ 46K | ★ 39K |
| License | AGPL-3.0 | Apache-2.0 |
| Written in | Python | Python |
| Last push | 2026-11-02 | 2025-11-10 |
| Forks | ⑂ 3.4K | ⑂ 6.3K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick AstrBot if
- You weight community size — 46K 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
简体中文 | 繁體中文 | 日本語 | Français | Español | Русский Documentation | Blog | Roadmap | Issue Tracker | Email Support 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…
read the full AstrBot overview →
About Langchain-Chatchat
🌍 READ THIS IN ENGLISH 📃 LangChain Chatchat (原 Langchain ChatGLM) 基于 ChatGLM 等大语言模型与 Langchain 等应用框架实现,开源、可离线部署的 RAG 与 Agent 应用项目。 目录 概述 功能介绍 0.3.x 功能一览 已支持的模型推理框架与模型 快速上手 pip 安装部署 源码安装部署/开发部署 Docker 部署 项目里程碑 联系我们 概述 🤖️ 一种利用 langchain 思想实现的基于本地知识库的问答应用,目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案。 💡 受 GanymedeNil 的项目 document.ai 和 AlexZhangji 创建的 ChatGLM 6B Pull Request 启发,建立了全流程可使用开源模型实现的本地知识库问答应用。本项目的最新版本中可使用 Xinference、Ollama 等框架接入 GLM 4 Chat、 Qwen2 Instruct、 Llama3 等模型,依托于 langchain 框架支持通过基于 FastAPI 提供的 API 调用服务,或使用基于 Streamlit 的 WebUI 进行操作。 ✅ 本项目支持市面上主流的开源 LLM、 Embedding 模型与向量数据库,可实现全部使用 开源 模型 离线私有部署…
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 45,662 GitHub stars and Langchain-Chatchat has 38,714. 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 (45,662 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.