# Langchain-Chatchat

Product · https://godooo.ai/en/product/langchain-chatchat

> Langchain-Chatchat is an open-source AI app, launched in 2023, made for developers.

A self-hosted knowledge-base Q&A app built on LangChain and open models, runnable offline.

Main jobs: Ask your documents, Knowledge base (RAG). It is open source and free to use. You can use it on your own server, offline on your own machine and through an API.

## At a glance

- **Type:** [Product](https://godooo.ai/en/browse#product)
- **Launched:** 2023
- **Galaxy:** [Agents & Automation](https://godooo.ai/en/galaxy/agents)
- **Pricing:** Open source, free
- **Open source:** Yes · Apache-2.0
- **Source code:** [github.com/chatchat-space/Langchain-Chatchat](https://github.com/chatchat-space/Langchain-Chatchat)
- **GitHub stars:** 38,666
- **How you run it:** Self-host · Runs offline · API
- **Made for:** Developers
- **Website:** [github.com](https://github.com/chatchat-space/Langchain-Chatchat)
- **Also known as:** Langchain-ChatGLM

## What it can do

- **[Ask your documents](https://godooo.ai/en/capability/document-qa)** — main job, _proposed by a machine, awaiting calibration_. “文件对话 ✅仅向量检索 ✅统一为File RAG功能,支持BM25+KNN等多种检索方式” (read on [github.com](https://github.com/chatchat-space/Langchain-Chatchat), 2026-09-24)
- **[Knowledge base (RAG)](https://godooo.ai/en/capability/knowledge-base)** — main job, _proposed by a machine, awaiting calibration_. “基于本地知识库的问答应用，目标期望建立一套对中文场景与开源模型支持友好、可离线运行的知识库问答解决方案” (read on [github.com](https://github.com/chatchat-space/Langchain-Chatchat), 2026-09-24)
- **[Chat and Q&A](https://godooo.ai/en/capability/chat)** — supported, _proposed by a machine, awaiting calibration_.
- **[Run models locally](https://godooo.ai/en/capability/local-inference)** — supported, _proposed by a machine, awaiting calibration_. “开源、可离线部署的 RAG 与 Agent 应用项目” (read on [github.com](https://github.com/chatchat-space/Langchain-Chatchat), 2026-09-24)
- **[Web search with answers](https://godooo.ai/en/capability/web-search)** — supported, _proposed by a machine, awaiting calibration_.

## Alternatives

- **[AnythingLLM](https://godooo.ai/en/product/anythingllm)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG), Run models locally; no code needed
- **[Khoj](https://godooo.ai/en/product/khoj)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG), Chat and Q&A; no code needed
- **[Open WebUI](https://godooo.ai/en/product/open-webui)** (Open source, free): Also does: Chat and Q&A, Ask your documents, Knowledge base (RAG); no code needed
- **[RAGFlow](https://godooo.ai/en/product/ragflow)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[Chatbox](https://godooo.ai/en/product/chatbox)** (Open source, free): Also does: Chat and Q&A, Ask your documents, Knowledge base (RAG); no code needed
- **[kotaemon](https://godooo.ai/en/product/kotaemon)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); no code needed
- **[PrivateGPT](https://godooo.ai/en/framework/privategpt)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[QAnything](https://godooo.ai/en/product/qanything)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[NotebookLM](https://godooo.ai/en/product/notebooklm)** (Free plan + paid upgrades): Also does: Ask your documents, Knowledge base (RAG); no code needed
- **[LlamaIndex](https://godooo.ai/en/framework/llamaindex)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents
- **[GraphRAG](https://godooo.ai/en/framework/graphrag)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents
- **[LightRAG](https://godooo.ai/en/framework/lightrag)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents

## Connections

- **Applies:** [Retrieval-Augmented Generation (RAG)](https://godooo.ai/en/concept/rag)
- **Built with:** [LangChain](https://godooo.ai/en/framework/langchain)

## Questions

### What is Langchain-Chatchat?

Langchain-Chatchat is an open-source AI app, launched in 2023, made for developers. A self-hosted knowledge-base Q&A app built on LangChain and open models, runnable offline.

### Is Langchain-Chatchat free?

Yes. Langchain-Chatchat is open source (Apache-2.0) and free to use.

### Is Langchain-Chatchat open source?

Yes, under the Apache-2.0 license. The source code is at https://github.com/chatchat-space/Langchain-Chatchat.

### Can Langchain-Chatchat run locally?

Yes. Langchain-Chatchat can run offline on your own machine. It can also be self-hosted on your own server.

### What can Langchain-Chatchat do?

Main jobs: Ask your documents, Knowledge base (RAG). It can also do: Chat and Q&A, Run models locally, Web search with answers.

### What are open-source alternatives to Langchain-Chatchat?

Open-source ones: AnythingLLM, Khoj, Open WebUI, RAGFlow, Chatbox, kotaemon, PrivateGPT and QAnything. Others: NotebookLM.

## Sources

- [github.com](https://github.com/chatchat-space/Langchain-Chatchat) — checked 2026-09-24

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/product/langchain-chatchat. Every page on this site has one: add .md to its address.
