LibreAI / RAG e conhecimento / Langchain-Chatchat
// rag · chatchat-space/Langchain-Chatchat

Langchain-Chatchat

Langchain-Chatchat é um projeto de RAG e conhecimento de código aberto de chatchat-space (chatchat-space/Langchain-Chatchat no GitHub). Tem 38.676 estrelas no GitHub e 6.257 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 10 de novembro de 2025.

Local knowledge-base RAG and agent app built on LangChain with ChatGLM, Qwen and Llama models

★ 38,7 mil estrelas⑂ 6,3 mil forksApache-2.0atualizado nov 2025
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
38.676
Forks
6.257
Licença
Apache-2.0
Última atualização no GitHub
10 de novembro de 2025
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  1. Clarify your goal

    Decide what you want from Langchain-Chatchat and check the README and requirements to confirm it fits your setup and Python environment.

  2. Get the code

    Clone the repository from GitHub (github.com/chatchat-space/Langchain-Chatchat) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// recursos

Por que as pessoas gostam tanto

Local knowledge base

Chat over your own documents using local models like ChatGLM, Qwen and Llama.

RAG plus agents

Combines retrieval-augmented generation with agent capabilities in one app.

Many model backends

Supports deployment frameworks including Ollama, Xinference and FastChat.

Vector stores

Works with FAISS and Milvus for embedding storage.

Streamlit UI

Ships a web UI for chatting with the knowledge base.

Docker deployment

Can be deployed with pip or Docker, per the quick start.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/chatchat-space/Langchain-Chatchat.git
    cd Langchain-Chatchat
  2. Install with pip

    Install the package from PyPI.

    pip install langchain-chatchat -U
  3. Initialize and start

    Follow the quick start to initialize the knowledge base and launch the app.

    chatchat init  # see README for the exact command sequence
// casos de uso

O que você pode criar

Readers working through the RAG & Knowledge shelf also stop at AppFlowy-Web, open-source AI workspace for projects, wikis, and team docs. compiiile renders and deploy a folder of markdown as a site in one move. The RAG & Knowledge shelf also holds backstage-plugin-qeta — Internal Q&A and knowledge base for Backstage.

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains Langchain-Chatchat?

It is maintained by chatchat-space and contributors on GitHub, where the repository github.com/chatchat-space/Langchain-Chatchat is the canonical home for code, issues and releases.

Is Langchain-Chatchat free to use?

Yes — it is open source under the Apache-2.0 license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

No paid key needed when using local models — you run ChatGLM, Qwen or Llama yourself.

How does Langchain-Chatchat compare to alternatives?

Compared with PrivateGPT: Both do private local RAG; Chatchat is a full LangChain application with UI, while PrivateGPT focuses on an API layer.

How do I get started?

Clone github.com/chatchat-space/Langchain-Chatchat, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// continue explorando

Ferramentas semelhantes

RAG e conhecimento

autoflow

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3,0 mil estrelasApache-2.0
Ver o guia →
RAG e conhecimento

KnowNote

A local-first AI knowledge base and NotebookLM replacement built with Electron.

★ 1,2 mil estrelasGPL-3.0
Ver o guia →
RAG e conhecimento

private-gpt

Complete API layer for private AI apps on local models: RAG, skills, tools, MCP and text-to-SQL

★ 57,6 mil estrelasApache-2.0
Ver o guia →
RAG e conhecimento

design-os-3d-blender

AI agent operating system for Blender 5.2 — bpy knowledge base, execution contract, 3D-print production gate.

★ 88 estrelasMIT
Ver o guia →
RAG e conhecimento

llmware

Unified framework for enterprise RAG pipelines with small, specialized models - local, private and secure.

★ 14,8 mil estrelasApache-2.0
Ver o guia →
RAG e conhecimento

QAnything

Local knowledge-base Q&A over PDFs, Office files, images and web pages - offline and CPU-friendly.

★ 14,2 mil estrelasAGPL-3.0
Ver o guia →
// alternativas

Alternativas em RAG e conhecimento

Os outros projetos de RAG e conhecimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se Langchain-Chatchat não for o ideal para você.

// mais em rag

Mais em RAG e conhecimento

Projetos de RAG e conhecimento próximos no catálogo, os mais próximos em estrelas de Langchain-Chatchat: continue explorando dos dois lados dele.

Baixe o Langchain-Chatchat

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.