No description
Find a file
2025-10-08 11:33:50 -04:00
.github/workflows docker also hinges on only new tag 2025-10-07 12:51:56 -04:00
assets adding tui screenshots 2025-09-10 13:06:47 -04:00
docs docs-update-screenshot-and-include-mcp-tools-component 2025-10-07 15:07:41 -04:00
documents adds support to load files in document folder at startup 2025-09-03 13:41:53 -04:00
flows Merge branch 'main' into add-mcp-agent-flows 2025-10-06 17:29:06 -04:00
frontend input styles 2025-10-07 10:53:42 -05:00
keys empty keys directory 2025-09-02 17:12:21 -04:00
securityconfig fix: os add scroll permissions for delete functionality 2025-09-19 12:17:46 -04:00
src tui ip bind check 2025-10-07 11:32:04 -04:00
.dockerignore Add environment and build file exclusions to .dockerignore 2025-09-08 18:06:18 -03:00
.DS_Store Update to components and flows 2025-09-29 14:53:47 -04:00
.env.example added url ingest id to everything 2025-10-03 17:29:28 -03:00
.gitignore tui: docling pid and host detection 2025-10-06 14:46:51 -04:00
.python-version take 0 2025-07-10 22:36:45 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md 2025-09-12 11:57:23 -04:00
docker-compose-cpu.yml Merge branch 'main' into add-mcp-agent-flows 2025-10-06 17:29:06 -04:00
docker-compose.yml update the docker compose 2025-10-06 23:16:32 -04:00
Dockerfile chown 2025-09-03 22:22:20 -04:00
Dockerfile.backend make flows visible to backend container 2025-09-09 14:12:02 -04:00
Dockerfile.frontend change the parameter! 2025-09-08 15:42:20 -04:00
Dockerfile.langflow Update base image to langflow-nightly:1.6.3.dev1 2025-10-06 21:16:56 -04:00
Makefile replace knowledge table with ag grid 2025-09-17 14:33:59 -05:00
MANIFEST.in MANIFEST.in 2025-10-07 12:34:07 -04:00
pyproject.toml v0.1.17 2025-10-07 13:01:08 -04:00
README.md remove-release-badge 2025-10-08 11:33:50 -04:00
uv.lock v0.1.14.dev3 2025-10-06 10:31:32 -04:00
warm_up_docling.py doc processing knobs 2025-09-18 16:27:01 -04:00

OpenRAG

Langflow    OpenSearch    Starlette    Next.js    Ask DeepWiki

OpenRAG is a comprehensive Retrieval-Augmented Generation platform that enables intelligent document search and AI-powered conversations. Users can upload, process, and query documents through a chat interface backed by large language models and semantic search capabilities. The system utilizes Langflow for document ingestion, retrieval workflows, and intelligent nudges, providing a seamless RAG experience. Built with Starlette, Next.js, OpenSearch, and Langflow integration.

Quick Start   |   TUI Interface   |   Docker Deployment   |   Development   |   Troubleshooting

Quick Start

Prerequisites

  • Docker or Podman with Compose installed
  • Make (for development commands)

1. Environment Setup

# Clone and setup environment
git clone https://github.com/langflow-ai/openrag.git
cd openrag
make setup  # Creates .env and installs dependencies

2. Configure Environment

Edit .env with your API keys and credentials:

# Required
OPENAI_API_KEY=your_openai_api_key
OPENSEARCH_PASSWORD=your_secure_password
LANGFLOW_SUPERUSER=admin
LANGFLOW_SUPERUSER_PASSWORD=your_secure_password
LANGFLOW_CHAT_FLOW_ID=your_chat_flow_id
LANGFLOW_INGEST_FLOW_ID=your_ingest_flow_id
NUDGES_FLOW_ID=your_nudges_flow_id

See extended configuration, including ingestion and optional variables: docs/reference/configuration.mdx

3. Start OpenRAG

# Full stack with GPU support
make dev

# Or CPU only
make dev-cpu

Access the services:

With OpenRAG started, ingest and retrieve documents with the OpenRAG Quickstart.

TUI interface

OpenRAG includes a powerful Terminal User Interface (TUI) for easy setup, configuration, and monitoring. The TUI provides a user-friendly way to manage your OpenRAG installation without complex command-line operations.

OpenRAG TUI Interface

Launch OpenRAG with the TUI

From the repository root, run:

# Install dependencies first
uv sync

# Launch the TUI
uv run openrag

For the full TUI guide, see docs/get-started/tui.mdx

Docker Deployment

The repository includes two Docker Compose files. They deploy the same applications and containers, but to different environments.

  • docker-compose.yml is an OpenRAG deployment with GPU support for accelerated AI processing.

  • docker-compose-cpu.yml is a CPU-only version of OpenRAG for systems without GPU support. Use this Docker compose file for environments where GPU drivers aren't available.

  1. Clone the OpenRAG repository.
git clone https://github.com/langflow-ai/openrag.git
cd openrag
  1. Build and start all services.

For the GPU-accelerated deployment, run:

docker compose build
docker compose up -d

For environments without GPU support, run:

docker compose -f docker-compose-cpu.yml up -d

For more information, see docs/get-started/docker.mdx

Troubleshooting

For common issues and fixes, see docs/support/troubleshoot.mdx.

Development

For developers wanting to contribute to OpenRAG or set up a development environment, please see our comprehensive development guide:

📚 See CONTRIBUTING.md for detailed development instructions

Quick Development Commands

make help                    # See all available commands
make setup                   # Initial development setup
make infra                   # Start infrastructure services
make backend                 # Run backend locally
make frontend                # Run frontend locally