#1717th of 17 in RAG and knowledge

langchain-chatchat

Local knowledge-base Q&A and agent app built on LangChain

Stars
38.7k
License
Apache-2.0
Last commit
Nov 2025
Last release
Jul 2024
Language
Python
Stars, last 29 weeks+1,547
24 Mar 2026: 37,134 stars31 Mar 2026: 37,230 stars7 Apr 2026: 37,319 stars14 Apr 2026: 37,412 stars21 Apr 2026: 37,483 stars28 Apr 2026: 37,552 stars5 May 2026: 37,585 stars12 May 2026: 37,651 stars19 May 2026: 37,712 stars26 May 2026: 37,782 stars2 Jun 2026: 37,840 stars9 Jun 2026: 37,887 stars16 Jun 2026: 37,944 stars23 Jun 2026: 37,984 stars30 Jun 2026: 38,023 stars7 Jul 2026: 38,061 stars14 Jul 2026: 38,241 stars21 Jul 2026: 38,283 stars28 Jul 2026: 38,327 stars4 Aug 2026: 38,364 stars11 Aug 2026: 38,413 stars18 Aug 2026: 38,441 stars25 Aug 2026: 38,481 stars1 Sept 2026: 38,520 stars8 Sept 2026: 38,553 stars15 Sept 2026: 38,584 stars22 Sept 2026: 38,616 stars29 Sept 2026: 38,635 stars6 Oct 2026: 38,650 stars13 Oct 2026: 38,681 stars

37,134 on 24 Mar 202638,681 on 13 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Chatchat answers questions over your own files by splitting, embedding and retrieving text, then passing the top-k matches to an LLM. It does not load models itself: it connects to Xinference, Ollama, LocalAI, FastChat or One API through OpenAI-compatible endpoints. It ships a FastAPI backend and a Streamlit WebUI, and installs with pip install langchain-chatchat.

Who it is for: Chinese-language users self-hosting offline document Q&A with local LLMs

Strengths

  • Connects to Xinference, Ollama, LocalAI, FastChat and One API via OpenAI-compatible endpoints
  • FAISS by default, other vector stores selectable in kb_settings.yaml
  • YAML config reloads without restart (0.3.1+)
  • Also has agent tools, search-engine chat, database chat and image chat with qwen-vl-chat

Weaknesses

  • Needs a separate model server running before the knowledge base can be built
  • Last release 2024-07-12; README Docker image tag is dated 2024-08-29
  • Default bind is 127.0.0.1; remote access requires editing basic_settings.yaml
  • 0.3.x differs a lot from 0.2.x; migration is not guaranteed to work

What it needs

  • GPU optional
  • Docker + Compose
  • Needs Xinference, Ollama, LocalAI, FastChat or One API, FAISS (default vector store), SQLite (default database)
  • Models: GLM-4-Chat, Qwen2-Instruct, Llama3, bge-large-zh-v1.5, qwen-vl-chat

Also in RAG and knowledge

See all 17
Also in RAG and knowledge
RankProjectScore
1LightRAGGraph-based RAG framework with a REST API server and web UI40.1k starsMIT75 out of 100
2Open NotebookSelf-hosted NotebookLM alternative with podcasts and 20+ model providers40.2k starsMIT74 out of 100
3RAGFlowRAG engine with document parsing, agentic retrieval and citations Live demo ↗ (opens in a new tab)92.2k starsApache-2.073 out of 100
#4MaxKBEnterprise knowledge-base agent platform with RAG, workflows and MCP tools23k starsGPL-3.071 out of 100
#5SurfSenseDesktop agent that researches and edits your local documents with cited answers16.4k starscustom license68 out of 100