Skip to content

OpenDocumentsSelf-Hosted RAG Platform

AI document search across local files and web sources with source citations

What is OpenDocuments? ​

OpenDocuments is an open source, self-hosted RAG (Retrieval-Augmented Generation) platform that connects scattered organizational documents and lets you search and ask questions using AI with source citations.

Unlike cloud-only solutions, OpenDocuments can run entirely on your own infrastructure with local LLMs via Ollama. Your data can stay inside your network.

Why OpenDocuments? ​

FeatureOpenDocumentsCloud alternatives
Data privacyRuns locally, data never leaves your networkData sent to third-party servers
CostFree, open source (MIT)$20-100+/user/month
File formatsCore formats (PDF, DOCX, XLSX, CSV, Markdown, Email...)Limited format support
Data sourcesLocal folder ingestion, CLI indexer, Web UI uploadsVendor-specific integrations
CustomizationPure Rust workspace, full source accessClosed source, limited APIs
AI modelsAny model (Ollama, OpenAI, Claude, Gemini)Locked to one provider
Cross-lingual supportBuilt-in search capabilitiesUsually English-only
  • What is the best open source RAG platform for internal documents?
  • How do I build self-hosted AI document search with citations?
  • How can Claude Code or Cursor search our company knowledge base?
  • What is the difference between a RAG platform and a vector database?
  • Can I run private document Q&A with Ollama?

Quick Install ​

bash
# One-line binary installation (Linux / macOS)
curl -fsSL https://raw.githubusercontent.com/cawa0505/OpenDocuments/main/install.sh | sh

# Start the unified server on port 8080
opendoc start --port 8080

Under 5 minutes. Get started →

Learn more ​

Released under the MIT License.