Back to workshops
Workshop Free with sign-in

Build a Documentation RAG Agent with Search Tools

May 4, 2026
RAG AI Agents LLM Engineering Search Tooling Architecture

We build a RAG system over real documentation and turn it into an agentic search flow. For the knowledge base we use the Evidently AI documentation, a real set of Markdown files that keeps changing as the library evolves. RAG helps most here, because LLMs don't know about recent changes in library docs on their own.

What we cover:

  • Build a classic RAG pipeline: index documents with minsearch and retrieve highlighted snippets
  • Implement search (returns snippets) and get_file (returns the full document)
  • Let the LLM pick which tool to call
  • Add the tools to an agent using toyaikit and PydanticAI
  • The agent reads docs the way people do: search, scan snippets, open the most promising one

We originally delivered this workshop at DataMakersFest 2026 in Porto, Portugal. There's no recording available.

The system you will build

The architecture has one LLM agent with two tools and two data sources:

The agent picks between search for highlighted snippets and get_file for a
whole document by name.

The agent has two tools. search returns short highlighted snippets so the agent can pick which document to open. get_file returns the full document so the agent can read it.

Resources not included in the workshop materials list:

Free with sign-in

Sign in to access this workshop

Create a free account Already have an account? Sign in