RAG Wrapper Patterns Patterns for augmenting any agent with Qdrant context retrieval. Quick Start To wrap an agent with RAG: Manual Wrapping Pattern If you need custom control, follow this pattern: Step 1: Query Relevant Context Step 2: Format Context Block Step 3: Prepend to Task Step 4: Delegate Enriched Prompt Template Selective Wrapping Not all tasks need RAG. Skip for: | Task Type | Wrap? | Reason | |-----------|-------|--------| | Fresh research | No | Need current, not cached data | | Simple edits | No | Context not needed | | RAG-aware agents | No | Already query Qdrant | | Implementa…