Corpus Agentis
The field book to agent ecosystems
The field book to agent ecosystems
Memory · Retrieval

RAG / Direct Vector Search

Embed the query, run vector similarity search over the memory store, inject the top-k matches.

Verified against arxiv.org

How it works

Embed the query, run vector similarity search over the memory store, inject the top-k matches.

At a glance
StageRetrieval
PhaseRead
Used byMem0 · Zep · LangChain retrievers · most vector-DB memory
Trade-off

Recall depends on embedding quality; irrelevant top-k or missed facts poison context.

Basis
Verified against
https://arxiv.org/abs/2005.11401

The corpus does not rewrite vendor documentation. Where copy is quoted verbatim it is marked as such and attributed to its source.