ScriptsMar 31, 2026·2 min read

Kotaemon — Open-Source RAG Document Chat

Clean, open-source RAG tool for chatting with your documents. Supports PDF, DOCX, web pages. Multi-model, citation, and multi-user. Self-hostable. 25K+ stars.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

pip install kotaemon
python -m kotaemon

Or with Docker:

docker run -p 7860:7860 ghcr.io/cinnamon/kotaemon:latest

Open http://localhost:7860 and upload your documents.


Intro

Kotaemon is a clean, open-source RAG-based tool for chatting with your documents. Upload PDFs, DOCX, or web pages, and ask questions with accurate, cited answers. Features a polished Gradio UI, multi-model support (OpenAI, Anthropic, Ollama), multi-user accounts, and advanced RAG pipelines including hybrid search and re-ranking. 25,000+ GitHub stars, Apache 2.0.

Best for: Teams and individuals who want a private, self-hosted document Q&A tool with citations Works with: OpenAI, Anthropic, Google, Ollama, Azure, any OpenAI-compatible API


Key Features

Document Chat with Citations

Ask questions, get answers with exact page/paragraph citations pointing back to source documents.

Multi-Format Support

PDF, DOCX, TXT, Markdown, HTML, web pages. Handles tables, images, and complex layouts.

Advanced RAG Pipeline

  • Hybrid search (semantic + keyword)
  • Re-ranking for precision
  • Multi-vector retrieval
  • GraphRAG for complex reasoning

Multi-Model

Switch between OpenAI, Anthropic, Google, Ollama (local), and Azure. Compare answers across models.

Multi-User

User accounts with separate document collections and conversation histories.

Self-Hosted

Full Docker deployment. Your documents never leave your infrastructure.


FAQ

Q: What is Kotaemon? A: An open-source RAG tool for chatting with documents. Upload PDFs/DOCX, get cited answers. Multi-model, multi-user, self-hostable. 25K+ stars.

Q: How is Kotaemon different from AnythingLLM? A: Kotaemon focuses specifically on document Q&A with advanced RAG (hybrid search, re-ranking, GraphRAG). AnythingLLM is broader with agents, plugins, and general chat.


🙏

Source & Thanks

Created by Cinnamon. Licensed under Apache 2.0. Cinnamon/kotaemon — 25,000+ GitHub stars

Related Assets