There’s no single retrieval strategy that wins every time. Lexical search, vector embeddings, tree/vectorless traversal, GraphRAG: each trades off cost, latency, and relevance differently depending on the corpus and the query. That’s the premise behind agentic RAG. Instead of betting an entire stack on one retrieval method, an autonomous decision layer sits above retrieval and chooses the right tool for the job, which corpus to search, which strategy to use, and how to course-correct when the first attempt doesn’t land.
Dataworkz is a complete agentic AI platform, and agentic RAG, retrieval where an intelligent agent decides how and what to retrieve, is one specific use case built on top of it. Within that use case, the agent has more than one retrieval tool available and enough intelligence to choose between them: conventional vector-indexed retrieval (chunk, embed, index, retrieve by similarity) is one option. A very different option, championed by projects like DCI-Agent-Lite and, more recently, PageIndex, skips indexing entirely and has an agent search the raw corpus directly, the way a person would grep through a folder of files.
We wanted to see how these two approaches actually compare, head to head, on the same private knowledge base. So we ran Dataworkz’s vector-indexed retrieval path against DCI-Agent-Lite’s standalone vectorless agent, on identical content, with the same 25 questions. Here’s what came back, and why we don’t think the result should be read as “vector RAG wins,” full stop.
The setup
To keep the comparison apples-to-apples, both approaches worked from identical source content:
- Corpus: 326 documents, a mix of PDFs, Word docs, Excel spreadsheets, PowerPoint decks, and markdown files.
- Ingestion: All 326 files were run through the Dataworkz Ingestion Pipeline into a Document Collection, which normalizes every format into clean markdown.
- Dataworkz’s vector-indexed path: built directly on top of that Document Collection, with chunking, embedding, hybrid retrieval, and generation all handled inside the platform.
- DCI-Agent-Lite: pointed at the same markdown corpus produced by the Dataworkz ingestion step, so it was searching identical content with its bash-tool-based agent rather than a vector index.
- Test set: 25 queries covering a mix of factual lookups, multi-document synthesis, and table/spreadsheet-derived questions.
The results
Here’s what came back, before any explanation of why.
Accuracy, a statistical tie, but not the same tie:
| Approach | Correct | Incorrect |
|---|---|---|
| Dataworkz (vector-indexed) | 22 / 25 | 3 |
| DCI-Agent-Lite (vectorless) | 22 / 25 | 3 |
Both landed at 88%. The interesting part: each one got a different trio of questions wrong, so the two failure modes look largely uncorrelated rather than the same weak spot showing up twice.
Latency, this is where the two approaches clearly split:
| Approach | Typical response time |
|---|---|
| Dataworkz (vector-indexed) | 3 to 10 seconds |
| DCI-Agent-Lite (vectorless) | 20 to 70 seconds |
DCI took roughly 4x to 20x longer per query, depending on the question.
Model configuration for this run:
| Approach | Model used |
|---|---|
| Dataworkz (vector-indexed) | GPT-4.1 |
| DCI-Agent-Lite (vectorless) | GPT-5.4-nano |
(Dataworkz isn’t tied to GPT-4.1, more on that below.)
Token usage across all 25 queries, the number that ends up driving cost:
| Metric | Vectorless (DCI) | Dataworkz (vector-indexed) | Reduction |
|---|---|---|---|
| Input tokens | 1,550,000 | 10,000 | 99.35% |
| Cached input tokens | 4,000,000 | 6,000 | 99.85% |
| Output tokens | 80,800 | 625 | 99.23% |
| Total tokens | 5,630,800 | 16,625 | 99.70% |
The vectorless agent moved roughly 338x more tokens through the model to answer the same 25 questions (5,630,800 / 16,625 ≈ 338.7x).
That’s the full data set. Everything below explains why it looks like this, and what it means more broadly.
How these two retrieval approaches work
The token gap above isn’t incidental. It’s the mechanical result of two different retrieval designs.

Vector-indexed retrieval:
- Offline, one-time step, indexing. Every document is chunked into small passages and each chunk is run through an embedding model once, producing a vector. Those vectors go into a vector index (often alongside a keyword/BM25 index for hybrid search). This is a fixed cost paid once per document, at ingestion time, not once per question.
- Online, per-query step, retrieve then generate. When a question comes in, it’s embedded and compared against the index to pull back the top-k most relevant chunks. Only those chunks, plus the question, are handed to the LLM as context. The LLM never sees the rest of the corpus; it doesn’t need to, because the index already narrowed millions of tokens down to a few thousand.
This is why the vector-indexed path’s per-query footprint stayed small: the context passed to the LLM is bounded by chunk size × top-k, not by corpus size. The corpus can double or 10x and that number barely moves.
Vectorless / direct corpus interaction:
- No offline step. There’s no embedding pass, no vector index, no pre-computed anything. That’s the whole pitch of “zero-index retrieval.” It’s genuinely useful for ad hoc corpora you don’t want to pay an indexing tax on before asking a single question.
- Online, per-query step, search live, every time. The agent gets shell access to the raw corpus and has to find the answer itself: running rg/grep-style searches, opening candidate files, reading through them, and often repeating that loop across several turns before it’s confident enough to answer. Each turn feeds a chunk of raw file content back into the model’s context window. DCI-Agent-Lite’s own documentation describes this as a multi-turn “long-horizon deep research” loop, with truncation/compaction/summarization strategies specifically added to keep those repeated reads from overflowing context.
The crucial difference: in a vectorless agent, the searching itself happens inside the LLM’s context window, on every question, using the live model. With a vector index, the searching happens once, cheaply, outside the LLM, and the LLM only ever sees the distilled result.
A one-time cost vs. a cost you pay on every question
There’s a structural difference worth making explicit: the real “corpus cost” of indexed retrieval, embedding, is paid once, at ingestion, and never shows up again. Embedding 326 documents into a vector index happens when documents are added or updated, not when someone asks a question. Embedding models are also priced far below generation models, so even indexing a large corpus is a modest, front-loaded expense amortized across every future query.
A vectorless agent has no equivalent one-time step. Because there’s no index to build in advance, the work of finding the answer, which indexed retrieval does once, offline, cheaply, has to be redone by the agent, on the full-price generation model, every time someone asks a question. Ask the same 25 questions again tomorrow and the vector-indexed path pays for 25 more lookups against its existing index; the vectorless agent pays for 25 more full searches through the raw corpus from scratch.
Why this gets worse, not better, at enterprise scale
This test used a few hundred documents. Most enterprise deployments run into the thousands or tens of thousands, and that scale difference affects the two approaches very differently:
- Vector-indexed retrieval: a bigger corpus mainly means a bigger one-time indexing job. Per-query cost stays roughly flat, because retrieval still returns a fixed, small number of top-k chunks whether the index holds 326 documents or 326,000.
- Vectorless / direct corpus interaction: a bigger corpus means the live search space the agent explores on every query gets bigger too, with more files to find, more candidates to open and read, more turns of truncation/compaction before it’s confident. Every extra turn is more tokens and more wall-clock time.
So the 338x token gap and 4 to 20x latency gap measured here should be read as a floor, not a ceiling for what shows up at production scale.
Architecture at a glance
| Dimension | Vector-indexed retrieval | Vectorless / direct corpus interaction |
|---|---|---|
| Indexing step | One-time, offline: chunk + embed each document | None, zero-index by design |
| What the LLM sees per query | A handful of pre-retrieved chunks (small, fixed size) | The agent’s live search trail through raw files (large, variable size) |
| Per-query cost driver | Retrieval lookup (cheap) + small generation call | Repeated live search + generation, on the full-price model, every time |
| Effect of a larger corpus | Per-query cost and latency stay roughly flat | Per-query cost and latency both grow, more to search live |
| Setup required before first query | Ingest and index the corpus | None, point it at a folder and go |
| Best suited for | Recurring, production Q&A over a stable or growing document set | Ad hoc, one-off exploration of a corpus not worth indexing |
Turning tokens into dollars
The token counts above only matter once you translate them into what you’d actually pay. Using each provider’s public list pricing for the models used in this test:
| Model | Input (/1M)|Cachedinput(/1M) | Output ($/1M) | |
|---|---|---|---|
| GPT-5.4-nano | $0.20 | ~$0.02 | $1.25 |
| GPT-4.1 | $2.00 | $0.50 | $8.00 |
(Cached rates reflect each model family’s published discount; the nano cache rate is an estimate, since OpenAI doesn’t break it out per sub-model.)
Applying those rates to the token table above:
| Approach | Model | Cost (25 queries) | Cost per query |
|---|---|---|---|
| DCI-Agent-Lite (vectorless) | GPT-5.4-nano | $0.491 | $0.0196 |
| Dataworkz (vector-indexed) | GPT-4.1 | $0.028 | $0.0011 |
(As a worked example, DCI’s total is 1,550,000/1,000,000 × $0.20 + 4,000,000/1,000,000 × $0.02 + 80,800/1,000,000 × $1.25 = $0.31 + $0.08 + $0.10 ≈ $0.49; the rest of the table follows the same formula per row.)
Even running a 10x more expensive model per token, the vector-indexed path’s smaller retrieval footprint made the full 25-query test 94.3% cheaper than the vectorless agent’s ((0.491 − 0.028) / 0.491), or about 17.5x cheaper overall.
A quick note on model choice
One clarification: this comparison ran on two different models, but that’s an artifact of the test setup, not a constraint of the platform. Dataworkz is LLM-agnostic. OpenAI, Azure OpenAI, Amazon Bedrock, Gemini, or a self-hosted model can all sit behind the same retrieval pipeline, swappable per application without touching ingestion or retrieval. GPT-4.1 was simply what this test happened to use.
That makes the result above more notable, not less. The vector-indexed path matched the vectorless agent’s accuracy and beat its latency while running a pricier model. It also means the cost gap would widen further on a cheaper model, since the token counts don’t change with the model choice, only the per-token rate does:
| Model | Cost per query | Cost per 10,000 queries |
|---|---|---|
| GPT-4.1 (as tested) | $0.00112 | $11.20 |
| GPT-4.1 mini | $0.00022 | $2.24 |
| GPT-5.4-nano (DCI’s model) | $0.00012 | $1.16 |
For reference, the vectorless agent on GPT-5.4-nano costs $196.40 per 10,000 queries. The underlying architecture, not the model, is what drives that gap.
Why we’re not calling this a verdict
It would be tempting to read the numbers above as “vector RAG beats vectorless retrieval” and stop there. We don’t think that’s the right takeaway, and the current moment in the retrieval world is a good illustration of why.
PageIndex has gotten a lot of attention recently for a similar idea to DCI’s. Instead of embeddings, it builds a hierarchical table-of-contents tree from a document via LLM processing, then has an agent reason its way through that tree at query time rather than doing a similarity search. It’s a well-designed implementation of the same underlying bet: that for long, structured documents, understanding logical organization can beat approximate semantic matching. Dataworkz laid out the broader thesis this fits into, an agentic decision layer that autonomously chooses what to retrieve and how, as one use case of a wider agentic AI platform rather than a fixed pipeline, in an April 2025 post on agentic RAG. PageIndex is one specific retrieval strategy that an agent like that could choose to invoke.
That said, some of PageIndex’s headline performance claims look inflated on closer inspection. Its reported 98.7% accuracy figure comes from FinanceBench, benchmarked using a proprietary product against what looks like a comparatively weak baseline, which makes the gap look larger than it would against a well-tuned vector pipeline. The cost story doesn’t hold up well at scale either: each query requires multiple sequential LLM calls to navigate the tree, which costs more and runs slower than a single vector similarity lookup, and there are no published latency or throughput numbers from its creators. Document updates that force a recursive tree rebuild add even more overhead. Our own numbers above are a concrete, independent data point for exactly that dynamic: the vectorless approach we tested was measurably slower and pricier than indexed retrieval, at equal accuracy, on a real corpus.
Where the vectorless critique of plain vector search is fair: standard single-vector embeddings can genuinely struggle with the nuance of long, structured enterprise documents such as contracts and regulatory filings, anything where the answer depends on logical structure as much as semantic content. But the fix for that isn’t necessarily “throw out embeddings,” it’s better retrieval architecture. Late-interaction and multi-vector models like ColBERT and ColPali preserve token-level signal instead of collapsing a passage into one vector, without giving up the speed of embedding-based search. GraphRAG is another answer: it connects information through explicit relationships rather than similarity alone, and it is also available as a retrieval option within Dataworkz’s own Knowledge Graph capability.
And the strongest version of retrieval isn’t graph-only either. Pure lexical or structural graph traversal, matching on keywords or document hierarchy without embeddings, still runs into the same wall vector-only search does with synonyms, implicit context, or domain-specific phrasing: if a relevant node never matches on exact wording, it never enters the traversal. Pairing GraphRAG with semantic vector search fixes that gap. Vector embeddings surface conceptually related nodes for multi-hop reasoning even when there’s no keyword overlap, while the graph layer keeps the hierarchical, relational structure connecting nodes both semantically and structurally. That combination tends to matter most for long-tail queries where the right answer doesn’t share vocabulary with the question. Vector-enriched GraphRAG can still find it, where lexical or vectorless-only traversal often can’t.
This is the actual point of agentic RAG as a use case on Dataworkz’s platform: not that one retrieval method always wins, but that the agent itself has the intelligence to choose, whether vector search, hybrid vector+GraphRAG, or vectorless/tree traversal, per corpus and per query, rather than a human architect locking the system into one strategy up front. The benchmark above is one data point inside that bigger picture. For this corpus and this query mix, indexed retrieval was the better tool, and a Dataworkz agent evaluating this workload would reach for it. For a different corpus of dense, cross-referenced legal filings, that same agent could just as reasonably route to a graph-augmented or multi-vector approach instead. Knowing which is which, on a per-query basis, is what the agent is for.
Putting it all together
| Dimension | Dataworkz (vector-indexed) | DCI-Agent-Lite (vectorless) |
|---|---|---|
| Accuracy (25 queries) | 22/25 (88%) | 22/25 (88%) |
| Typical latency | 3 to 10 sec | 20 to 70 sec |
| Total tokens (25 queries) | 16,625 | 5,630,800 |
| Cost (25 queries, as tested) | $0.028 | $0.491 |
| Cost per query | $0.00112 | $0.01964 |
The accuracy race is a genuine tie, and the two approaches missing different questions is arguably the most actionable finding here. It points toward complementary strengths rather than one simply being smarter. On the two dimensions that decide whether a retrieval approach is usable in production, response time and cost per query, indexed retrieval had a decisive edge in this test: 3 to 20x faster, and 17 to 169x cheaper depending on which model you hold constant. Because its per-query cost is largely decoupled from corpus size while the vectorless agent’s isn’t, that edge should widen further at real enterprise scale.
That’s not a case against vectorless retrieval generally. Direct corpus interaction and tree-based approaches like PageIndex are genuinely useful tools for the right corpus, particularly long, hierarchical documents or ad hoc content not worth indexing. It’s a case for treating retrieval strategy as a decision an intelligent agent makes per corpus and per query, rather than a single architectural bet a team locks in ahead of time, which is exactly what a Dataworkz agent, operating within the platform’s broader agentic AI capabilities, is built to do.
References
- Dataworkz product documentation: docs.dataworkz.com/product-docs
- Dataworkz Knowledge Graph documentation: docs.dataworkz.com/product-docs/knowledge-graph
- Dataworkz on agentic RAG (April 2025): dataworkz.com/blog/what-is-agentic-rag-how-it-enhances-ai-decision-making
- DCI-Agent-Lite repository: github.com/DCI-Agent/DCI-Agent-Lite
- PageIndex: pageindex.ai/blog/pageindex-intro
Methodology note: All 326 source documents were ingested once via the Dataworkz Ingestion Pipeline into a single Document Collection, converting every format (PDF, DOCX, XLSX, PPTX, MD) into normalized markdown. That same markdown corpus was used both to build the Dataworkz vector-indexed RAG path and as the on-disk corpus DCI-Agent-Lite searched directly, ensuring both approaches worked from identical source content. Pricing figures reflect first-party list prices for GPT-4.1 and GPT-5.4-nano at time of writing; actual costs will vary with provider, caching behavior, and volume discounts.