Open-source RAG UI for chatting with documents, targeting both end-users and developers
Top 1.9% on sourcepulse
Kotaemon provides an open-source, customizable RAG UI for document-based question answering, targeting both end-users seeking a chat interface for their documents and developers building RAG pipelines. It offers a clean UI, supports various LLMs (API-based and local via Ollama/llama-cpp-python), and facilitates RAG pipeline development with features like hybrid retrieval, multi-modal QA, and advanced citations.
How It Works
Kotaemon implements a RAG pipeline with a hybrid retriever combining full-text and vector search, augmented by re-ranking for improved retrieval quality. It supports complex reasoning methods like question decomposition and agent-based reasoning (ReAct, ReWOO). The architecture is built on Gradio, allowing for a customizable UI and extensible RAG pipeline strategies, including GraphRAG indexing.
Quick Start & Requirements
pip install -e "libs/kotaemon[all]"
, pip install -e "libs/ktem"
).unstructured
library is needed for processing file types beyond .pdf
, .html
, .mhtml
, and .xlsx
.ghcr.io/cinnamon/kotaemon:main-full
, ghcr.io/cinnamon/kotaemon:main-ollama
, ghcr.io/cinnamon/kotaemon:main-lite
. Supports linux/amd64
and linux/arm64
.Highlighted Details
Maintenance & Community
The project is actively developed by "The Kotaemon Team." Feedback and contributions are welcomed via GitHub issues and a contributing guide.
Licensing & Compatibility
The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
Installation of optional dependencies like unstructured
or specific RAG integrations (e.g., nano-graphrag
, LightRAG
) may introduce Python package version conflicts, requiring manual resolution. Official MS GraphRAG indexing is limited to OpenAI or Ollama APIs.
4 weeks ago
1 day