Skip to main content

RAG Quickstart

Get up and running with RAG in just a few steps.

Installation

For full RAG support with vector stores:
The simplest way to use RAG is through the Agent’s knowledge parameter:

Method 2: Explicit RAG Pipeline

For more control, use the RAG class directly:

Method 3: CLI

Index and query from the command line:

Streaming Responses

For real-time output:

Configuration Options

Multi-Agent Shared Knowledge

Multiple agents can share the same knowledge base:

Next Steps