# Retrieval-Augmented Generation (RAG) Architecture

> End-to-end RAG architecture guidelines covering semantic chunking, keyword-vector hybrid search, Cohere re-ranking, and hallucination reduction.

Canonical: https://www.agentickit.co/skills/rag-patterns
Last updated: 2026-11-18

## Key practices
- Chunk documents with 15-20% overlap to preserve semantic continuity across boundaries
- Combine BM25 keyword search with dense vector retrieval using Reciprocal Rank Fusion
- Re-rank top retrieval candidates using a cross-encoder before context injection
- Inject source citations and metadata to verify AI-generated answers

## Related
- [ai-engineer](https://www.agentickit.co/agents/ai-engineer)
- [data-engineer](https://www.agentickit.co/agents/data-engineer)
- [/rag-pipeline](https://www.agentickit.co/commands/rag-pipeline)
- [/ai-feature](https://www.agentickit.co/commands/ai-feature)
