Unlocking dependable responses with Gemini Enterprise Agent Platform’s Agentic RAG
Google's agentic RAG framework, now in public preview on Gemini Enterprise Agent Platform, extends multi-agent retrieval (orchestrator, planner, query rewriter, search fanout) with a Sufficient Context Agent. That agent inspects retrieved snippets and a draft answer, identifies exactly which parts of the query lack supporting evidence, and feeds targeted gaps back to the query rewriter for further retrieval rounds before final synthesis. On the FRAMES-based FramesQA benchmark (824 multi-hop queries, 2,676 PDFs), it improves accuracy by up to 34% over a vanilla RAG Engine baseline. In a cross-corpus setting with three distractor corpora it reaches 90.1% accuracy, nearly matching single-corpus results with latency within about 3%.
Related posts
- Expert Support case study: Bolstering a RAG app with LLM-as-a-Judge
Hugging Face mediumAdeptDigital Green's Farmer.chat, a GPT-4o ReAct agent backed by a RAG pipeline over ~46,000 agricultural research papers (semantic chunking, Qdrant), uses LLM-as-a-judge to evaluate prompt clarity, question type, answered rate and RAG faithfulness at scale. The faithfulness judge, a RAGAS-inspired binary NLI prompt that checks atomic statements against retrieved context, correlated well with human raters on ~360 questions. Benchmarking four LLMs on 700+ queries showed Gemini-1.5-Pro was most faithful (91%) but left 19.4% unanswered, so the team chose Gemini-1.5-Flash for its balance of 89% faithfulness and only 4.5% unanswered.
- Inside OpenAI’s in-house data agent
OpenAI mediumAdept
OpenAI built an internal GPT-5.2-powered data agent that answers natural-language analytics questions over a platform of 600+ PB and 70k datasets, available via Slack, web, IDEs, Codex CLI and ChatGPT through MCP. Its accuracy rests on six layers of context: table usage and lineage, human annotations, Codex-derived code-level table definitions, institutional knowledge from Slack/Docs/Notion, a user-correctable memory, and live warehouse queries. A daily offline pipeline normalizes and embeds this context for RAG retrieval, keeping latency predictable across tens of thousands of tables. Quality is protected with Evals API test sets that compare generated SQL output against golden queries.
- Context Engineering (Agent Memory) for AI Agents Starts with Retrieval
LangChain mediumAdeptAgent retrieval fails in three ways: inefficient searching, too much context at once, and irrelevant or stale context. The fix is to keep searches small and keep raw results out of the main agent's context window. Deep Agents does this with glob/grep before reads, paged read_file (100 lines by default with offset/limit), and automatic offloading of tool results over ~20k tokens to files with a preview. For custom RAG tools, the recommended pattern is "retrieve, offload, delegate": write results to files, return only paths, and have parallel subagents read each file and return key facts with sources and dates. Other advice covers using grep with synonyms before semantic search, agentic rather than single-shot retrieval, skills for progressive disclosure, and treating retrieved text as untrusted.
- Why We Rebuilt LangChain’s Chatbot and What We Learned
LangChain mediumAdeptLangChain replaced chat.langchain.com's chunk-and-embed vector retrieval with tool-calling agents that search structured sources directly: full doc pages via Mintlify's API, a scan-titles-then-read pattern over the Pylon knowledge base, and ripgrep/tree/file-read tools over the codebase. A fast createAgent with Claude Haiku 4.5 handles most docs questions in 3-6 tool calls and under 15 seconds. A Deep Agent with separate docs, knowledge-base and code subagents handles implementation questions in 1-3 minutes, with each subagent filtering its results so the orchestrator's context stays small. The rebuild removed constant reindexing, kept document structure intact and produced verifiable citations down to line numbers, with LangSmith traces used to tune prompts and cut wasted tool calls.
- How to build evidence-grounded agent memory with OpenWiki and Graphs
LangChain mediumAdeptA compiled, source-linked wiki (OpenWiki) used as agent memory raised accuracy on cross-document questions from 0.10 to 0.52 versus keyword search alone on a synthetic 111-document insurance corpus scored against a 972-fact ledger, and cut cost per correct answer from about $0.55 to $0.19. Citation consistency stayed low, so the team added a lightweight evidence graph that materializes wiki citations and document references as typed edges (cites, supersedes, refers_to) between paragraphs, claims and pages, navigated by locate and expand tools. The graph built in under a second with no model calls and, over the wiki alone, improved accuracy 27%, doubled citation consistency, cut median latency 40% and cost per correct answer 58%. For simple single-passage lookups, search alone was equally accurate and faster, so compiled memory pays off only with repeated cross-source reasoning.