Quick Start
Scaffold a working Ragen instance in under 10 minutes with a single command.
Self-Hosting Guide
Set up Ragen on your own infrastructure with Docker Compose or Kubernetes.
API Reference
Integrate Ragen into your apps with the OpenAI-compatible REST API.
TypeScript SDK
Use the official
@webamigos/ragen-sdk-ts client for typed, streaming-ready access.What is Ragen AI?
Ragen connects your existing documents — PDF, DOCX, PPTX, XLSX, CSV, Markdown, images, URLs, and more — to modern language models using Retrieval-Augmented Generation. When a user asks a question, Ragen retrieves the most relevant document chunks and generates an answer that cites those chunks by source, so your team always knows where the information came from.Key capabilities
AI Chat Assistant
Internal knowledge platform for your team, with document permissions enforced at retrieval — not just in the UI.
Embeddable Chatbot
Customer-facing widget you can embed on any website, backed by your own knowledge base.
OpenAI-Compatible API
Drop-in replacement for OpenAI’s Chat Completions, Files, Assistants, and Threads APIs.
No Model Lock-In
Route to OpenAI, Anthropic, Azure, AWS Bedrock, Google Vertex, or models running on your own hardware.
Multilingual Retrieval
Hybrid dense + sparse (BM25) search with cross-encoder reranking. 92% multilingual benchmark accuracy.
MCP Integrations
Connect Google Drive, Google Calendar, Gmail, HubSpot, ClickUp, and Slack as live data sources.
How it works
1
Upload your documents
Add PDFs, Word docs, spreadsheets, web pages, or any supported file to a project (knowledge base). Ragen parses, chunks, and embeds them automatically.
2
Ask a question
Users ask questions in the chat interface, via the API, or through an embedded chatbot. Ragen retrieves the most relevant document chunks using hybrid vector + keyword search.
3
Get a grounded answer
The language model generates an answer using only the retrieved content, and Ragen shows which documents and passages it cited — so you can verify every response.
Deployment options
Next steps
- New to Ragen? Start with the Quick Start to get a local instance running in minutes.
- Ready to deploy? Follow the Self-Hosting Guide for a production setup.
- Building an integration? Jump straight to the API Reference or TypeScript SDK.
- Running local models? See the Open Models guide to run completely offline.