Agentic RAG

Agentic RAG: the agent decides where to look.

Classic RAG searches once and hopes. Agentic RAG chooses how to search, checks what came back, and cites what it used.

Botminds agents answer from your own libraries, documents, records and the web. Built for a project and connected to knowledge bases of millions of documents, each agent picks from more than two dozen ways to search, reads for each person only what that person may read, and shows the page behind every answer.

What is agentic RAG?

Agentic RAG is retrieval augmented generation in which an AI agent, not a fixed pipeline, runs the retrieval. The agent decides whether a question needs sources, which sources to search, which way to search them, and whether the passages it found actually answer the question — searching again when they do not. Classic RAG retrieves once for every question and hands the model whatever came back.

Scales out on KubernetesServices and workers add capacity as work arrives, and give it back when it is done.
Built for millionsMillions of documents, records and agent runs — the indexes and workers grow with them.
Any cloud, any regionAzure, AWS, Google Cloud or on-premises, in the region your data must stay in.
Always onRedundant services, rolling releases and continuous backups, for mission-critical work.
Secure and governedSingle sign-on, encryption, least privilege and a sealed audit trail.
Agentic RAG vs RAG

Agentic RAG vs RAG: who decides when to search.

Retrieval augmented generation gives a language model passages from your documents so it answers from them instead of from memory. The classic design wires that into a fixed pipeline. The agentic design hands the retrieval to the agent.

Not two ways to search — many

Every way an agentic RAG agent can search.

Enterprise knowledge is libraries, live documents, tables of records, the file someone just dropped in and the public web. One index searched one way cannot serve all of it. A Botminds agent carries a toolkit of searches and picks the right one for each step — often several for one answer.

Three ways, one answer
You

Which supplier contracts mention clause 14.3, and how much did we spend with those suppliers this year?

Agent

Searching by the exact reference “14.3” finds it in three contracts — Northwind Logistics, Bayside Freight and Arden Packaging — where it is the termination-for-convenience clause. Counting the invoice records for those three suppliers: $1.42 million this year, $860,000 of it with Northwind. Sources: three contracts, p. 9, p. 11, p. 7 · Invoices table

  • Exact wordsfound the clause number that a search by meaning would blur.
  • Find the documentslisted which contracts carry it.
  • Counts in the databasesummed the spend, instead of estimating it from passages.
Enterprise RAG at scale

Knowledge bases of millions of documents.

A knowledge base on Botminds has no fixed ceiling. Indexing workers scale out on the queue, each search index is created with its own shard and replica settings, a project can keep its knowledge in an index of its own, and agents built for one project connect to libraries of millions of files — on Azure, AWS, Google Cloud or on-premises.

From document to knowledge

Chunk, embed, index — and count before calling it ready.

Every document added to a knowledge collection is cut into passages, embedded and indexed automatically, with no pipeline to wire. The step most systems skip is the last one: proving the index holds what the run says it wrote.

Your embedding model

Any model deployed for embeddings. A question is always embedded with the model its library was indexed with.

Summaries to find by

Switch on page and document summaries, indexed beside the text, for questions about what a document is.

Scanned pages read

Switch on a vision model and pages with no text layer are read like any other.

Your own labels

Stamp a service, a region or a product on every passage, so a search can be narrowed to any mix of them.

Keeping knowledge current

Re-indexing without stale answers.

Policies change, files are replaced, retries overlap. The danger in a knowledge base is an old version still being quoted. Every pass over a document is numbered, and only the newest one counts — while the rest of the library keeps answering.

The agentic part

How an agentic RAG agent decides when and where to search.

The agent is told what each of its sources holds and when to use it. On every question it makes four choices, and each one can branch.

Coverage check

Switch on the knowledge tools and a search whose passages probably do not answer the question comes back with a note, so the agent searches again or says so.

Knowledge lock

Choose to have the agent answer from its sources alone, and say plainly when they do not cover a question.

Failure said as failure

A search that fails says it failed, and a library still indexing says how much of it is ready — never an empty result that reads as “nothing there”.

Permission-aware retrieval

Permission-aware retrieval: the asker’s rules, inside the search.

An agent that can read more than the person asking is a leak with a chat box. On Botminds the walls are applied inside every search, in every one of its ways — so nothing outside them ever reaches the model.

One rule, screens and search

A collection’s read rules — which roles may read it, and which rows — apply to the screens, to an agent’s search and to its queries over records, whenever a person is asking.

Libraries are given

A knowledge library is searched by the agents it is attached to — in its own project or another project of the same workspace.

You choose what a reachable agent holds

An agent answering by email, in Teams or through an API key searches what it was given. Attach what everyone who can reach it may read.

Answers you can check

Citations: the sources the answer used.

Listing every passage a search returned looks thorough and misleads. Botminds agents mark the passages they relied on, and those are the sources shown — each with its document and page.

  1. Labelled

    Each passage reaches the agent with a label: S1, S2, S3.

  2. Marked

    The agent names the labels it relied on.

  3. Kept

    Those passages become the sources; with none marked, the closest matches.

  4. Shown

    Clean prose, and sources that open beside the chat at the page.

A grounded answer, as the reader sees it
You

What notice period applies to contractors in Spain?

Agent

Thirty days, unless the statement of work sets a longer period. The Spain addendum overrides the global 14-day default. Sources: Contractor Policy — Spain addendum, p. 3 · Global Contractor Policy, p. 11

You

And in Portugal?

Agent

The sources do not cover Portugal. The global policy’s 14-day default may apply, but no document confirms it for Portugal.

Side by side

Classic RAG vs a vector database vs Botminds agentic RAG.

Teams building enterprise RAG usually start from a vector database and a retrieval script. The gap between that and a system people rely on is the rows below.

Classic RAG pipelineVector database + your codeBotminds agentic RAG
Who decides to searchThe pipeline, every timeYour codeThe agent, per question
Ways to searchUsually meaningWhatever you buildMore than two dozen: meaning, exact words, labels, documents, pages, summaries, records, chat files, the web
ScaleOne index you sizeYours to shard and runWorkers that scale out, indexes set per project, millions of documents
Ready meansThe job finishedWhatever you checkThe index count matches what the run wrote
Re-indexingRebuild, or risk old passagesYour codeNumbered passes; newest wins; library stays online
Who may read whatOne shared indexFilters you must rememberWorkspace, libraries, view and the asker’s read rules on every search
CitationsEvery passage retrievedYour codeThe passages the answer used, to the page

How to judge any RAG platform. Ask four questions: when is a document actually searchable, what happens to the old version after an edit, whose permissions does the search run under, and what does the answer say when nothing relevant was found.

Questions people ask

Agentic RAG, answered.

More from the platform: the full architecture, and how security works at Botminds.

What is agentic RAG in simple words?

Agentic RAG is retrieval augmented generation where an AI agent runs the search instead of a fixed pipeline. It decides whether to search, where and which way, checks whether what it found answers the question, and searches again or says so when it does not.

What is the difference between agentic RAG and traditional RAG?

Traditional RAG retrieves once for every question, from one index, and passes whatever came back to the model. Agentic RAG lets the agent choose the source and the way to search, run several searches, and judge the results before answering.

How many documents can a Botminds knowledge base hold?

There is no fixed ceiling. Indexing workers scale out on the queue, each search index is created with its own shard and replica settings, a project can keep its knowledge in an index of its own, and a library is picked out by one tag on each passage rather than a list of its documents — so agents built for a project connect to knowledge bases of millions of documents.

What does an enterprise RAG architecture need beyond a vector database?

Many ways to search, a verified indexing pipeline, clean replacement of old versions, permission checks inside every search, an index that scales out, citations, and honest failure. The vector database is one part of that.

How does permission-aware retrieval work on Botminds?

Every search is held to the workspace, to the project and the libraries the agent was given, to the agent’s view, and — when a person is asking — to what that person may read under each collection’s read rules. See AI governance.

Does Botminds use hybrid search?

Agents search by meaning and by exact words under the same filters, and choose per search — or run both for one question. They can also narrow by label, document, page or sheet, and count in the records instead of searching text.

Can I chat with documents and see where the answer came from?

Yes. Answers show the sources they used — document and page — and a source opens beside the chat. The passages the answer marks as used are the ones listed.

How do I build a knowledge base AI agent on Botminds?

Create a knowledge collection, add documents by upload or a connector, and attach it to an agent built for your project. Piper, the platform assistant, can do each step on request. See enterprise vibe coding.

What happens when a document is updated or deleted?

An update starts a new numbered pass; older passes are removed and a late result from an overtaken pass cannot overwrite the new one. A deleted document leaves the index with it. The rest of the library keeps answering throughout.

Is agentic RAG the same as context engineering?

No. Retrieval finds material in your sources. Context engineering decides everything else the model sees on a turn — who is asking, the page, the conversation, the instructions. See context engineering.

Answers from all your knowledge, with sources.

Bring the library your team searches every day. We’ll index it, attach it to an agent and show you every answer’s sources, under your own permissions.