Quick Start
Agent with Reranking Tool
Give your Agent explicit control over reranking:Multi-Agent RAG with Reranking
LLM-Based Reranking Agent
Use an Agent itself to judge document relevance:Supported Rerankers
| Reranker | Best For | API Required |
|---|---|---|
| Cohere | Production Agents | Yes |
| CrossEncoder | Self-hosted Agents | No |
| LLM | Custom scoring logic | Yes |
Cohere (Recommended for Production)
Cross-Encoder (No External API)
LLM Reranker (Flexible)
Why Reranking Matters for Agents
| Without Reranking | With Reranking |
|---|---|
| Agent gets 5 “similar” docs | Agent gets 5 “most relevant” docs |
| May include tangential info | Focused on the actual question |
| Lower answer accuracy | Higher answer accuracy |
| More hallucination risk | Grounded in best sources |
Environment Variables
Related
Vector Stores
Knowledge storage
Knowledge Base
RAG pipelines

