Pinecone shipped a thesis this month, not just a product. With Nexus — its "knowledge engine" for agents, moved into public preview on July 1 — the company that popularized the vector database is now arguing that the RAG era is ending. That is a striking thing for the RAG pioneer to say. Before you either dismiss it or reach for your credit card, it's worth separating the real architectural idea from the vendor benchmark wrapped around it.

The problem Nexus points at is real. Pinecone estimates roughly 85% of an agent's effort today goes to retrieving context — re-embedding, re-ranking, and re-reading the same documents on every single step — and that retrieval-heavy agents stall at task-completion rates of 50–60%. Anyone who has watched an agent burn a thousand tokens fetching the same PDF for the fourth time in one run knows the shape of this.

The one idea: move context work upstream#

RAG does its work at query time. Every call, the agent embeds the question, searches the index, ranks the hits, and stuffs the winners into the window. Nexus does the work up front. Its Context Compiler — described as an autonomous coding agent that writes and tunes the curation and query code per domain — takes your raw sources plus a task specification and builds task-optimized "knowledge artifacts": structured representations the agent consumes directly, without re-interpreting raw text on each step. The same underlying data can compile into different artifacts for different agents — a sales agent gets deal context stitched from CRM and call notes, a finance agent gets revenue context linking contracts to billing.

Agents talk to those artifacts through KnowQL, a declarative query language built from six primitives — intent, filter, provenance, output shape, confidence, and budget. Instead of hand-wiring a bespoke tool definition and glue code for every source, an agent issues one KnowQL call that states what it wants, how it wants it shaped, what citations it needs, and how much latency it will tolerate — and gets back structured, grounded, cited knowledge. That is the genuinely interesting part: a single universal interface where today most teams maintain a pile of one-off retrieval tools.

Compilation doesn't delete the cost of context. It moves it from every query to every change.

The read: you're choosing which tax to pay#

Here's the thing the launch post won't lead with. Compiling context trades one cost for another. RAG pays a per-query retrieval tax — real tokens and latency on every call. Compilation pays a rebuild tax — the artifact is cheap to query but goes stale the instant the source data changes, and something has to recompile it. Pinecone's headline numbers (up to 90% fewer tokens, 90%+ completion, up to 30× faster) are real claims worth chasing, but they are Pinecone's own benchmarks or early-access customer evals, not independently reproduced. Read them as a hypothesis to test on your workload, not a settled result — and note that every one of them assumes the artifact was already compiled and still fresh.

So the decision isn't "is compilation better than retrieval." It's which tax is cheaper for your data:

Where this sits next to your window levers#

Don't confuse a knowledge layer with window management. Nexus governs what the agent knows — the external corpus, compiled once and queried many times. It doesn't touch the problem of a single long run filling its window with its own exhaust; that's what context editing, compaction, and the memory tool are for, and it's why we've argued there are three distinct kinds of agent memory. A serious agent usually needs both: a knowledge engine (or your own RAG) for the corpus, and server-side window levers for the live session. Nexus is a candidate for the first slot, not a replacement for the second.

How to try it#

Nexus is in public preview now. Pinecone added a $20/month Builder tier alongside it, plus a native full-text search preview, new cloud regions (Frankfurt and Singapore), and a partner marketplace that already includes Box, Unstructured, Teradata, and LlamaIndex (Pinecone). If you already run Pinecone, the cheap experiment is to point the Context Compiler at one slow-moving corpus you query constantly — a docs set, a policy library, a product catalog — and A/B a KnowQL call against your current retrieval path on cost per completed task, not tokens per query. If the artifact stays fresh long enough for the compile cost to amortize, the math is on Pinecone's side. If you find yourself recompiling on every write, you've just discovered your data wanted a retriever all along.