Langchain-Chatchat
LangChain-based open-source local knowledge-base Q&A, popular in the Chinese community
An open-source local knowledge-base Q&A solution built on LangChain, extremely popular in the Chinese developer community.
Run open LLMs on your own machine — no API bills, no data leaving your device.
Key features
- Offline-deployable RAG Q&A app over local knowledge bases
- Works with Xinference, Ollama, LocalAI, FastChat model backends
- Agent mode with tool calling, file RAG, DB and web search chat
- Includes FastAPI service API and Streamlit WebUI
Good for
- Chinese-scenario offline knowledge-base Q&A solutions
- Teams needing private on-prem LLM apps with open models
Stack & tags
PythonFastAPIStreamlitLangChainragknowledge-baseagentofflineopen-weightsqa-systemchinese-llm
Screenshots
Screenshots from the project’s GitHub README.

