/pattern/agentic/foundational/retriever/

Foundational · ADP

Retriever

Context-sensitive interface to long-term memory; selects what is salient to the current step rather than dumping the entire store into the prompt.

Addresses
Inefficient retrieval — the failure mode of either flooding the prompt or missing the relevant fragment.
When it stabilizes
When the knowledge base grows beyond a few pages and naive similarity search starts returning noise, or when different tasks need different retrieval strategies.
Example
A RAG retriever with a reranker selects top-k passages keyed to the current sub-goal, not the conversation history.

Search

Search patterns, frameworks, and pages.