Skip to main content

Getting Started with Retrieval Agents

The Retrieval Agent feature is a way to implement advanced RAG services.

A Knowledge Box offers a basic RAG pipeline: the user question is used to perform a semantic search, retrieve the corresponding results, augment them with different strategies if necessary, and then pass them to an LLM to obtain an answer.

A Retrieval Agent is much more powerful:

  • It is able to several sources, like several Knowledge Boxes, but also other type of sources like SQL databases, internet search services, or MCP servers.
  • It can analyse the user question, split it in sub questions and define dynamically which sources must be used.
  • It supports conditional logic to route from one step to another.

This entire feature relies on two main elements:

  • some drivers, which give access to the different information sources,
  • a workflow, detailing how user questions must be handled.

To create your Retrieval Agent, go to your account, click on Retrieval Agents in the left menu, and then click on Create retrieval agent.

Once created, you can click on its name on the list to start configuring it.

First, create a driver.

Then, set up a workflow.