The architectural roots of hallucinations
When an LLM invents a data point, an entity, or a corporate policy that doesn't actually exist, it is almost always because the retrieval pipeline that fed the prompt was inaccurate, stale, or incomplete. There is a precise name for the space between a system that returns basic answers and a system whose answers can be confidently acted on in production: The trust gap.
An agent reasoning over yesterday's customer snapshot, or an embedding model that was swapped without reprocessing underlying records, creates a major operational hazard. It does not produce a visibly wrong answer; it produces a highly confident hallucination. A hallucination in a single sandbox demo is a curiosity, but the same error applied across thousands of live interactions a minute is an incident.
Introducing contextual integrity
Accuracy is a foundational architectural property best defined as contextual integrity: The discipline of keeping live operational data, vector embeddings, search indexes, and agent state automatically consistent rather than manually reconciled after the fact.
When these four variables live in the same underlying record served by the exact same query path, there is no synchronization step for accuracy to leak through. The retrieval an agent receives is securely grounded in the operational truth of the exact same millisecond it was issued.
Voyage AI’s models lead the Retrieval Embedding Benchmark (RTEB), outperforming comparable models from Gemini, Cohere, and OpenAI on the enterprise RAG tasks agents actually run.
MongoDB has delivered the building blocks required to close the trust gap natively within the data layer:
- Voyage 4 series interoperability: A family of shared embedding space models (voyage-4-large, voyage-4, voyage-4-lite, voyage-4-nano) that produce fully compatible embeddings. The flagship voyage-4-large is the first production-grade embedding model built on a mixture-of-experts (MoE) architecture, delivering state-of-the-art accuracy at roughly 40% lower serving cost than comparable dense models. This eliminates the need to reprocess whole data collections when changing cost or latency profiles.
- Asymmetric retrieval: An industry first where documents are embedded once with voyage-4-large for maximum baseline accuracy while continuous queries are embedded using voyage-4-lite to keep latency and token costs low.



