Benchmarks

Retrieval Over Company-Internal Knowledge for AI Agents: EnterpriseRAG-Bench

HydraDB retrieves reliable, connected context across a synthetic enterprise corpus modeled on fragmented internal systems where knowledge is duplicated, outdated, or contradictory.

88.7
Overall
score
92.0%
Answer
correctness
96.7%
Document
recall@10
+8.4
Vs highest listed system
28 Aug 2026 · self-reported
Abstract

Enterprise AI agents must retrieve reliable context from fragmented internal systems where information is often duplicated, outdated or contradictory. We evaluate HydraDB on EnterpriseRAG-Bench, a synthetic enterprise corpus of 511,958 company-internal documents and 500 employee-style questions. HydraDB achieves an 88.7 overall score, with 92.0% answer correctness and 96.7% document recall, outperforming the highest system on the public leaderboard by 8.4 points (self-reported; leaderboard as of 28 August 2026). The results show the importance of retrieving connected, relevant context across messy enterprise knowledge.

Overall scoreAnswer correctnessDocument recall @10Points over the highest listed system
88.792.0 %96.7 %+8.4

Self-reported. Scored with the benchmark’s own evaluator on all 500 questions; not yet verified or listed by the benchmark authors. The highest score on the public leaderboard is 80.3.

Introduction

Enterprise AI agents are only as useful as the context they can retrieve. But the knowledge inside a company rarely lives in one clean, searchable place. It is scattered across Slack threads, email chains, support tickets, meeting transcripts, CRM records, engineering discussions and internal documents. The same fact may appear in several systems, newer information may contradict older information, and important decisions are often buried inside conversations written with company-specific acronyms and codenames.

A question answered by connecting evidence across a ticket, design document, pull request, and Slack thread

This makes enterprise retrieval fundamentally harder than searching a clean knowledge base. Given a question, an AI agent must not only find semantically similar text. It has to identify the right source, distinguish current information from outdated information, follow context across systems and retrieve enough evidence to answer correctly.

Most Retrieval benchmarks have not tested the retrieval of enterprise internal knowledge. They are built on Wikipedia, web pages, Stack Overflow and academic papers: clean, consistent and public. EnterpriseRAG-Bench, released this year by Onyx, is, by its authors’ account, the first public benchmark built on company-internal data: 511,958 documents across nine enterprise systems, deliberately misfiled, duplicated and contradicted, with 500 questions an employee might actually ask [1, 4].

We ran HydraDB through the full benchmark and scored it with the benchmark’s own evaluator. HydraDB scores 88.7 overall, against 80.3 for the highest system on the public leaderboard, and leads on answer correctness, answer completeness and document recall. This report explains what the benchmark measures, how HydraDB was configured, and where the result comes from.

What EnterpriseRAG-Bench Measures

A company’s internal knowledge data is the hardest to get, no real company will publish its internal documents and each employee conversations. EnterpriseRAG-Bench is evaluation over an synthetic dataset. The dataset simulates Redwood Inference, a company selling AI model inference as a service. what it reproduces is the shape of enterprise knowledge, not any one company’s facts. Its nine sources are in roughly the proportions a real company would have [1]:

SourceDocumentsContent
Slack~275,000Channels and team discussions
Gmail~120,000Email threads across management, sales, leadership and individual contributors
Linear~35,000Engineering, product and design tickets
Google Drive~25,000Shared files and collaborative documents
HubSpot~15,000CRM records
Fireflies~10,000Meeting transcripts, internal and customer-facing
GitHub~8,000Pull requests and review comments
Jira~6,000Support tickets, internal and customer-facing
Confluence~5,000Wikis, runbooks and polished documentation

Chat and email make up roughly four fifths of the corpus, creating a large conversational search space. Polished documentation accounts for only 1 %.

Onyx generated the corpus from a scaffold of the company, with its initiatives, an employee directory and the structure of each source, so that documents reference each other the way real ones do: a pull request points at the requirements document it implements. They then added noise on purpose [2]:

  • 8 % of documents were moved to the wrong location, some at random and some to a plausible but wrong folder chosen by a model, the way a person misfiles things.
  • Near-duplicates were added with key facts changed, sometimes in a different system from the original. Their own example is pricing that changes after a follow-up sales conversation, so the old figure and the new one both exist.
  • Informal material was added: memes channels, hackathon repositories, draft notes in badly organised folders.
  • Every document uses internal terminology: project codenames, product acronyms and team jargon with no meaning outside the company.

Ten kinds of question

There are 500 questions in ten categories. Each carries a reference (“gold”) answer, a list of atomic facts a complete answer should contain, and, for 470 of the 500, the gold documents the answer lives in [1].

CategoryQuestionsWhat it tests
Basic175A direct question with one ground-truth document
Semantic125Same, but phrased indirectly, with little keyword overlap and no giveaway terms
Intra-document reasoning40Combining information from distant sections of one long document
Project related40Aggregating knowledge across the documents of one project or initiative
Constrained30Several relevant documents, but qualifiers in the question rule out all but one answer
Conflicting information20Documents that directly contradict each other; the answer must be complete and correct
Completeness20Every relevant document (up to ten) must be found to answer
Miscellaneous20Answers in informal, off-topic or loosely organised material
High level10The answer is not in any single document; no ground-truth documents
Info not found20The answer is not in the corpus; the system has to say so

The last two categories catch systems that always answer: “info not found” fails a system that invents an answer, and “high level” fails one that can only quote a single document.

Scoring gives no credit for nearly right

Onyx publishes the evaluator. Its judge defaults to GPT-5.4, and we did not change it. For each question it produces four numbers [2]:

  • Correctness. A yes-or-no judgment of whether the answer agrees with the gold answer. The judge is lenient about style and extra detail and strict about substance: the core of the question must be addressed, nothing may contradict the gold answer, and any quantity mentioned in both must match.
  • Completeness. The percentage of the gold answer facts the submitted answer states or implies, each fact checked by a separate judge call.
  • Document recall. The percentage of gold documents that appear in the documents the system returned.
  • Invalid extra documents. How many returned documents were neither gold nor judged relevant.

The leaderboard ranks on one combined score: the average over all 500 questions of the completeness percentage when the answer is judged correct, and zero when it is not. An answer that states nine facts out of ten but contradicts the gold answer on the tenth scores zero for that question.

Two further details of the protocol matter. Citations are stripped from answers before judging, so a system cannot earn credit by pointing at documents. And because a gold document set assembled when the benchmark was built is not guaranteed to be perfect, the evaluator runs a correction step: three independent judges classify the gold documents and the documents each system returned as required, valid or invalid, and update the gold set by majority vote when the evidence warrants it. When the set changes, the gold answer and its facts are regenerated before scoring. In our run this happened on 14 of the 500 questions. Scored strictly, with neither the correction step nor citation stripping, the same answers score 88.3.

Onyx sells a RAG product and excludes its own system from the leaderboard. Every listed system was verified by Onyx before listing [1].

Retrieval Is the Hard Part of Enterprise RAG

Vector similarity finds text that resembles the question. On a corpus like this one that is not enough. The right answer is often the third message in a thread that corrects the first. The document that matches the question best may be the misfiled duplicate with the old price. A question asked in plain English has to land on a document written in codenames. And a question about a project has to pull together a ticket, a design document, a pull request and a Slack decision that share no vocabulary.

HydraDB approaches this as a context problem rather than a similarity problem. HydraDB provides ingestion pipeline that loads Slack Jira, Linear and GitHub as tickets with their comments, Confluence and Drive as documents, HubSpot as CRM records. HydraDB’s inference step ran at ingest, extracting the people, thread relationships and cross-references from each item, so that a message knows what it replies to and a ticket knows who owns it [5]. Everything went into one collection with no per-source tuning.

At query time, retrieval is hybrid (keyword plus embedding) in HydraDB’s thinking mode, which adds a reranking pass over the candidate set. The top twelve documents are passed in full to the answer model; the top ten are submitted for scoring.

HydraDB query expansion, hybrid search, reranking, graph paths, and context fusion pipeline

The combined setup performed strongly on conflicting-information, constrained and semantic questions. Passing whole documents may help preserve correcting messages in threads and qualifying clauses in tickets, while reranking may help distinguish the right document when several candidates look similar. Because we evaluated the complete setup rather than each component separately, these explanations remain hypotheses rather than measured component effects.

Evaluation Setup

  • Corpus. All 511,958 documents, one HydraDB collection.
  • Retrieval. Hybrid search, thinking mode, top twelve documents returned per question, top ten submitted. The benchmark does not fix how many documents a system may submit, so recall figures across systems depend partly on that choice. Ten was chosen because most questions have one or two gold documents and ten leaves room for the multi-document categories.
  • Answering. GPT-5.4, given the full text of the twelve retrieved documents, with a self-check pass before the final answer. The judge is also GPT-5.4, the evaluator’s default, so correctness and completeness measure HydraDB’s retrieval plus GPT-5.4’s writing from it. Document recall is HydraDB’s alone.
  • Scoring. The benchmark’s evaluator, full protocol, all 500 questions. Nothing was tuned per category or per question.

Results

Against the leaderboard

1EnterpriseRAG-Bench leaderboard comparison
HydraDBBest listed value
Public leaderboard as of 28 August 2026. The comparator is the best listed value for each metric, not a single system.
MetricHydraDBBest listed valueListed systemΔ
Overall score88.780.3metor.com+8.4
Answer correctness92.0%83.8%Troml+8.2
Answer completeness92.5%86.2%metor.com+6.3
Document recall96.7%86.6%Troml+10.1
Invalid extra documents8.60.5OpenClaw+8.1 · lower is better

EnterpriseRAG-Bench, public leaderboard as of 28 August 2026, 22 systems [3]. Positive Δ is a HydraDB advantage except on invalid extra documents.

Reproduce this run: the reproduction package includes the artifacts, REPRODUCE.md, and METHODOLOGY.md. The repository is currently private and is planned for release alongside this report.

On invalid extra documents HydraDB is mid-pack: it returns ten documents for every question, and most questions have one or two gold documents, so most returned documents count as extra by construction. Systems that return fewer documents do better on that column, which the leaderboard does not rank on.

By category

CategoryQuestionsCorrectScore
Basic17517196.0
Semantic12511892.0
Intra-document reasoning404096.0
Project related402859.6
Constrained302889.2
Conflicting information202091.6
Completeness20837.9
Miscellaneous202097.5
High level10762.2
Info not found2020100.0

Four categories were answered with 100 % correctness: intra-document reasoning, conflicting information, miscellaneous and info not found. Conflicting information and constrained questions are the ones built to punish a system that retrieves the right neighbourhood and then picks the wrong document; HydraDB answered all 20 of the former and 28 of 30 of the latter, and on all 20 info-not-found questions it said the answer was not there.

Retrieval depth

Across the 470 questions with gold documents, document recall (the share of gold documents found) was 81 % within the first result, 92 % within three and 97 % within ten. On 441 of the 470, every gold document was inside the top ten. This is the number that is HydraDB’s alone, and it is 10 points above the best document recall on the leaderboard.

By source

For questions whose answer lives in a single system:

SourceQuestionsCorrectScore
Linear444499.4
Google Drive424296.8
Gmail424296.6
HubSpot333296.7
GitHub393895.5
Jira605995.1
Fireflies212090.5
Slack575085.5
Confluence645277.3
Questions spanning several sources685472.1

Confluence, the polished 1 % of the corpus, was the weakest single source. We had expected Slack to be hardest; it was second-weakest at 50 of 57.

Where the gap remains

Project-related and completeness questions remain the hardest categories. Both need several documents, often across systems, and on them document recall fell to 82.5 % and 76.2 % against 98 to 100 % everywhere else: some of the required documents are ranked below tenth position. Their category-average completeness scores were 77.9 % and 71.2 %, respectively. These two categories, and Confluence, are the current focus of work.

Why This Matters for Enterprise AI Agents

A model may be capable of reasoning over a question, but if the relevant decision is buried in an old Slack thread, updated in a ticket, or contradicted by a newer document, the agent can still produce the wrong answer. This is what EnterpriseRAG-Bench tests: whether a system can retrieve the right context, not merely similar information.

HydraDB placed every gold document in the top ten results for 94% of the 470 questions with ground-truth documents. Using an off-the-shelf answer model over that retrieved context, it answered 92% of all questions correctly while capturing 92.5% of the required facts on average.

The benchmark does not cover every requirement of a production enterprise system. It models a single company and user, so it does not evaluate permissions or access control. It is also a static snapshot, so it does not measure how quickly new or updated information becomes available for retrieval.

Conclusion

HydraDB scores 88.7 on EnterpriseRAG-Bench, 8.4 points above the highest system on the public leaderboard, with 92.0 % answer correctness, 92.5% answer completeness and 96.7% document recall across 500 questions over half a million company-internal documents. The number that is HydraDB’s alone is document recall, 96.7% against a best listed 86.6%; the categories that punish picking the wrong document from the right neighbourhood, constrained and conflicting information, were answered at 28 of 30 and 20 of 20. Project-related and completeness questions, where several documents, often across systems, must all land in the top ten, are where the work is. The result is self-reported and has not yet been verified or listed by the benchmark authors. The benchmark, dataset and evaluator are open, and a run-specific reproduction package is prepared for release alongside this report.

References

  1. EnterpriseRAG-Bench: A RAG Benchmark for Company Internal Knowledge. Sun, Y., Rahmfeld, J., Weaver, C., Desai, R., Huang, W., Butler, M. H. — Onyx (2026). arXiv:2605.05253.
  2. EnterpriseRAG-Bench: data generation methodology and evaluation. Onyx (2026).
  3. EnterpriseRAG-Bench Leaderboard. Onyx — Hugging Face Space, accessed 28 August 2026.
  4. EnterpriseRAG-Bench dataset. Onyx — Hugging Face (2026).
  5. Beyond Flat Embeddings for Production AI Agents. HydraDB Research Team (2026).
  6. HydraDB on EnterpriseRAG-Bench: reproduction package. HydraDB Research Team (2026).