# kotaemon

> An open-source RAG-based tool for chatting with your documents

- Type: agent or tool
- Field: ML & AI
- Repository: https://github.com/Cinnamon/kotaemon
- GitHub stars: 25927
- Licence: Apache-2.0
- Language: Python
- Last push: 2026-07-14
- Page: https://imutechz.in/agents/kotaemon

## What it is
Kotaemon is an open-source RAG-based web UI for chatting with your documents. It provides a clean, customizable interface supporting multi-user login, private and public collections, and collaboration features. The system includes a hybrid retrieval pipeline combining full-text and vector search with re-ranking, multi-modal QA for figures and tables, and advanced citations with in-browser PDF preview. It works with both API-based LLMs (OpenAI, Azure, Cohere, Groq) and local models via Ollama and llama-cpp-python.

## Features
- Hybrid RAG pipeline with full-text and vector retrieval plus re-ranking
- Multi-modal QA support for documents with figures and tables
- Advanced citations with in-browser PDF viewer and highlights
- Complex reasoning via question decomposition and ReAct/ReWOO agents
- Configurable retrieval and generation settings through the UI
- Extensible Gradio-based framework with GraphRAG indexing example

## Best for
- Self-hosted document QA for teams and individuals
- Developers building custom RAG pipelines
- Multi-user knowledge bases with access control
- Research and analysis of PDFs with tables and figures

## Pros
- Supports both API and local LLMs with Ollama and llama-cpp-python
- Clean UI with citation preview and relevance scoring
- Multi-user support with private/public collections
- Extensible via Gradio for custom UI and pipeline components

## Cons
- Requires Python 3.10 or higher
- Docker required for containerized deployment
- System requirements include Docker for full installation

## Install
```
docker pull ghcr.io/cinnamon/kotaemon:latest
```

Tags: rag, document-qa, llm, gradio, self-hosted, multi-modal, citations, knowledge-base
