← Back to Leaderboard
Olangflow-ai

langflow-ai/openrag

Self-hosted document search and chat with Docling, Langflow, and OpenSearch

Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v0.8.2
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedMCPAPI
Total Stars
★ 4,702
24h Growth
+1
7d Growth
+5
Forks
522

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

langflow-ai/openrag Star History (2025-08-27 - 2026-12-04) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +4.7k in 464d · avg +10/day 5k 2.5k 0 2025-08-27: ★ 12025-09-27: ★ 62025-11-01: ★ 72025-12-06: ★ 112026-01-10: ★ 432026-02-14: ★ 1912026-03-21: ★ 3,3752026-04-25: ★ 3,8312026-05-30: ★ 4,0382026-07-04: ★ 4,2312026-08-08: ★ 4,3742026-09-12: ★ 4,5432026-10-17: ★ 4,6392026-11-15: ★ 4,6862026-12-04: ★ 4,702 ★ 4.7k 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OpenRAG is an end-user RAG application, not just a workflow library. It pairs a Next.js frontend with a Python FastAPI backend. Docling parses documents for ingestion, Langflow orchestrates ingestion and retrieval, and OpenSearch backs semantic search. At query time, the RAG flow retrieves relevant material and uses it to ground the language model's response in the chat interface.

The Python package requires Python 3.13 or later. The repository separates application code in src/ and frontend/ from workflow and extension assets in flows/, custom_components/, customer_connectors/, and plugins/. For programmatic access, the REST API is complemented by a built-in streamable HTTP MCP server at /mcp; both use the OpenRAG API key via X-API-Key.

Key Capabilities & Differentiators

Users can bring documents into the knowledge base, search them semantically, and ask questions through chat. Langflow's visual editor lets teams change the workflow without rebuilding the application around it. Workflows can use reranking and multi-agent coordination. v0.8.1 added multilingual OCR support, and v0.8.2 added a URL connector as another ingestion path.

MCP clients can do more than query: the endpoint exposes RAG chat, semantic search, document ingestion, knowledge filters, and settings management. Account for those write and configuration operations when deciding where to distribute API keys. v0.8.1 also improved error handling and resilience for the RHOAI model provider, but the available details do not establish a complete provider, file-format, or OCR language matrix.

Trade-offs & Limitations

Compared with standalone Langflow, OpenRAG removes the work of wiring together the document-facing UI, ingestion, and search, while adopting Docling and OpenSearch as part of that packaged stack. Compared with a custom OpenSearch-backed service, it gets teams to a usable application sooner, but teams that need precise control over indexing, retrieval behavior, or the API may prefer to own those layers directly.

The trade is less integration code, not fewer services to operate. OpenSearch's default single-node configuration is not an HA design; plan for index growth, backups, and recovery, and test ingestion separately from query traffic. Local inference puts model capacity planning on your team, while hosted inference introduces provider costs and a data-handling review. Apache-2.0 permits commercial use of OpenRAG; model and external service terms remain separate.

Hardware & Deployment Guide

The documented self-hosting paths use Docker or Podman; a Python package installation is also available and requires Python 3.13 or later. docker-compose.yml runs single-node OpenSearch, applies -Xms1g -Xmx1g to its JVM, and passes OPENSEARCH_PASSWORD to the container as OPENSEARCH_INITIAL_ADMIN_PASSWORD. The image tag defaults to latest if OPENRAG_VERSION is unset, so set it explicitly for repeatable deployments. The tree includes docker-compose.gpu.yml, docker-compose.host-backend.yml, and kubernetes/; their presence does not establish a tested HA topology.

Budget separately for the search index, document parsing and OCR, and any inference run locally. Neither the configured JVM heap nor the GPU variant defines total RAM or VRAM requirements. Self-hosting the app does not make a workflow offline if it calls external model endpoints. v0.8.0 added HTTP metrics for Prometheus, while v0.8.2 added runtime base-path configuration, useful when deploying under a URL prefix.

Application stack: A Next.js chat interface and FastAPI service package Docling, Langflow, and OpenSearch into one deployable application.
Ingestion: Docling handles document parsing; v0.8.1 added multilingual OCR support and v0.8.2 introduced a URL connector.
Retrieval: Langflow workflows support reranking and multi-agent coordination, with OpenSearch backing semantic search.
MCP: The built-in /mcp endpoint uses streamable HTTP and the same X-API-Key as the REST API.
SDKs: Official Python and TypeScript/JavaScript clients expose chat through client.chat.create.
Deployment: Default Compose uses single-node OpenSearch; GPU and host-backend Compose variants are also present.
Best For

Teams that want a self-hosted document search and chat application with editable ingestion and retrieval workflows, plus REST and MCP access for integrations.

Skip If

You only need an embeddable retrieval library, must retain an existing search backend, or require a turnkey HA or air-gapped deployment with no topology or model validation of your own.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPAPI
pip install openrag-sdk

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
openrag ★4.7k+5PythonApache-2.0Self-hosted document search and chat with Docling, Langflow, and OpenSearch
WeKnora38.8k+460Go—Self-hosted RAG, agents, and a Wiki on shared document knowledge bases
ragflow95.1k+297GoApache-2.0Go-based RAG platform for parsing complex documents and grounding answers in sou
private-gpt57.7k+14PythonApache-2.0Self-hosted API for cited document RAG and tool use on local models

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/langflow-ai/openrag.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

langflow-ai/openrag Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about openrag

How should an application or AI assistant connect to OpenRAG?

Use the REST API or the official Python and TypeScript/JavaScript SDKs for application code. For an assistant that supports streamable HTTP MCP, point it at your instance's /mcp endpoint and send the OpenRAG API key in X-API-Key. The endpoint is built in; the standalone openrag-mcp package is deprecated.

How much RAM or VRAM should I provision?

The default Compose file configures OpenSearch with a 1 GiB JVM heap, not a 1 GiB total system requirement. Allow additional memory for the web app, Langflow, document parsing and OCR, and any models hosted on the same machine. There is a GPU Compose variant, but no universal VRAM requirement is established; size for the selected models and test with representative documents and concurrent requests.

Can a company self-host OpenRAG commercially and keep its data on premises?

OpenRAG is Apache-2.0 licensed, which permits commercial self-hosting and modification. If you redistribute it, preserve the applicable license and notices and comply with the license's change-marking requirements. Review third-party dependencies, model licenses, and provider terms separately. Self-hosting the application does not by itself keep document-derived data on premises if a workflow calls an external provider.

When is OpenRAG a better fit than Langflow alone or a custom OpenSearch app?

Use OpenRAG when you want ingestion, search, chat, editable workflows, and API access already integrated. Use Langflow directly if you mainly want a visual workflow builder and prefer to choose your own application and storage layers. A custom OpenSearch-backed service is a better fit when you need tighter control over indexing, retrieval, and the API and can build and maintain the rest.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining langflow-ai/openrag? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature langflow-ai/openrag on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare