Skip to content
intermediate

RAG and Agents

Step into more advanced LLM applications: retrieval-augmented generation (RAG) and building simple AI agents.

Tutorials

Articles in RAG and Agents

Follow these lessons in order, or jump directly to the topic you need.

A traditional wooden ship sails through the deep blue sea off the coast of Greece, viewed from above.
intermediate
7 min read

RAG vs Plain LLMs

Most people assume RAG is a different kind of model—a smarter cousin of the plain LLM. It's not. RAG doesn't change the model at all. It changes what goes…

Read tutorial
A gourmet dish featuring seared fish with squid, served in a yellow sauce with peas.
intermediate
10 min read

Simple RAG Tutorial

Reading about RAG is easy. Building one is where the real learning happens—because the first pipeline you run will almost certainly fail in ways no diagram…

Read tutorial
A breathtaking sunrise over a vast mountainous landscape with clear skies.
intermediate
9 min read

What Are LLM Agents?

An LLM agent is not a smarter chatbot. It is a goal-driven system that uses a language model as its brain, then loops through action and observation until…

Read tutorial
Close-up of a car dashboard at night with illuminated speedometer and tech displays.
intermediate
10 min read

Build a Simple LLM Agent

Most beginners expect an agent to be a special kind of model—something with built-in magic that can browse the web, run code, and get things done. Then…

Read tutorial