RAG & Agent LLM Application
37.8k 2026-04-13
chatchat-space/Langchain-Chatchat
An open-source, offline-deployable RAG and Agent application built with Langchain, supporting various local and online Large Language Models for knowledge-based Q&A.
Core Features
Local and private deployment for data security.
Supports a wide range of open-source LLMs (e.g., ChatGLM, Qwen, Llama) and embedding models.
Implements Retrieval Augmented Generation (RAG) for accurate knowledge-based Q&A.
Enhanced Agent capabilities, optimized for models like ChatGLM3 and Qwen.
Provides both WebUI (Streamlit) and API (FastAPI) for flexible interaction.
Quick Start
pip install langchain-chatchatDetailed Introduction
Langchain-Chatchat is an open-source project designed to provide a robust, offline-deployable knowledge base Q&A solution, particularly friendly to Chinese scenarios and open-source models. Leveraging the Langchain framework, it integrates various Large Language Models (LLMs) like ChatGLM, Qwen, and Llama, along with RAG and Agent capabilities. The project aims to enable users to build private, secure, and efficient knowledge-based applications without relying on external cloud services, offering a comprehensive toolkit for local LLM deployment and interaction.