Skip to content
EP 48 | CS224N: RAG and Language Agents episode artwork

Jun 19, 2026 22 min

EP 48 | CS224N: RAG and Language Agents

from AI Bites: The Academic Series Hosted by Jack Lakkapragada

Up until now, we’ve looked at Language Models as isolated brains trapped in a box. In this episode, we cross the threshold into the absolute bleeding edge of AI: giving models a search engine to browse the web, memory to remember past conversations, and tools to execute code. We break down the inner workings of Retrieval-Augmented Generation (RAG) and the anatomy of truly autonomous Language Agents. Key Topics: The Knowledge Problem & RAG: Why forcing LLMs to memorize everything leads to hallucinations, how the Retriever-Reader framework (DPR vs. BM25) fixes it, and why stuffing too many documents into a model triggers the "Lost in the Middle" problem. The Anatomy of an Agent: How we transform a standard text-predictor into an active agent using a core LLM surrounded by an external environment, reasoning protocols, memory structures, and tools. Reasoning & Planning (ReAct vs. Reflexion): Unpacking the massive breakthrough of the ReAct (Reason + Act) framework, and how self-correction loops and multi-agent debates drastically reduce AI hallucinations. The Cognitive Architecture (Memory & Tool Use): Distinguishing between Episodic, Semantic, and Procedural memory (including how MemGPT acts like an Operating System). Plus, how models like Toolformer teach themselves to use external APIs. The Python "While True" Loop: Demystifying the engineering behind agents by looking at the simple code loops that power them, and the massive challenges the industry faces in trying to evaluate open-ended AI behavior. Note: This is an AI-generated discussion created using Google's NotebookLM, based on publicly available Stanford University course material (specifically CS224N) and personal study notes from my learning journey.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

EP 48 | CS224N: RAG and Language Agents

0:00 22:06

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of AI Bites: The Academic Series?

This episode is 22 minutes long.

When was this AI Bites: The Academic Series episode published?

This episode was published on June 19, 2026.

Can I download this AI Bites: The Academic Series episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.