Skip to main content

RagUI

RagUI is a Python framework that transforms your RAG (Retrieval Augmented Generation) pipelines into production-ready web applications. It's framework-agnostic and works seamlessly with popular LLM frameworks like LangChain and LlamaIndex.

Features

  • Instant Web Interface: Get a polished chat UI for your RAG pipeline with zero frontend code
  • Production Ready: Built on FastAPI and async Python for high performance
  • Developer Focused: Focus on your RAG logic while we handle the infrastructure
  • Framework Agnostic: Works with LangChain, LlamaIndex, or your custom LLM implementation
  • Flexible Integration: Adapt any existing RAG pipeline with minimal changes

Coming Soon:

  • 🔒 Authentication & User Management
  • 📊 Admin Dashboard
  • 💾 Conversation History & Analytics
  • 💰 Subscription Management
  • 🔄 Feedback Collection & Fine-tuning
  • 📈 Usage Metrics & Monitoring

Quick Start

pip install ragui

Create a pipeline (main.py):

from ragui import RagUI
from langchain_openai import ChatOpenAI
from langchain_core.prompts import ChatPromptTemplate

ragui = RagUI()

# Define your LangChain components
prompt = ChatPromptTemplate.from_messages([
    ("user", "Context: {context}\nQuestion: {user_message}")
])
chain = prompt | ChatOpenAI() | StrOutputParser()

@ragui.pipeline("RAG Pipeline")
async def rag_pipeline(query, message_history, user_context):
    async for chunk in chain.astream({
        "context": "Your retrieved context here",
        "user_message": query
    }):
        yield chunk

Launch your application:

ragui main.py

Visit http://localhost:8000 to interact with your pipeline.

Why RagUI?

  • Save Development Time: Focus on your RAG logic instead of building UI/infrastructure
  • Production Ready: Built with production use-cases in mind
  • Future Proof: As we add features, your application automatically gets upgrades
  • Full Control: Customize and extend any aspect of the framework

Roadmap

  • Simple UI for text input/output
  • Feedback collection
  • Support files input
  • Support for multiple pipelines
  • Support for audio input
  • Messages persistence (database)
  • Conversation history
  • User authentication
  • Admin dashboard
  • Add to website support (little chat bubble on the corner)
  • Usage metrics
  • Subscription management

Metadata

Release files for ragui 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ragui 0.1.0
File Size Uploaded Provenance
ragui-0.1.0.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ragui 0.1.0
File Interpreter ABI Platform
ragui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.3 kB

Release files / ragui-0.1.0.tar.gz

Download URL ragui-0.1.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d674fee005aefcb61811e97d3176894fcf43fcec4c47c0599f8059aabeb18979
BLAKE2b-256 checksum
How to use checksums
6f248e1e5f1e2f210113759a410bc0f0d478703904df3a6d58f25b38058a62e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.10

Release files / ragui-0.1.0-py3-none-any.whl

Download URL ragui-0.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
388a8756be710815df742f03e3dca0b1c5656c646baa31e038521615135f36e6
BLAKE2b-256 checksum
How to use checksums
2e90bff76dfd77b01eaf4bff08dd2ff0a8cefec317bece745f3fc4adceab39cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.10

Security for ragui 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page