Save this video free

LLM agents

Mohit Iyyer · 1:10:56 · Watch on YouTube

Part of University of Maryland CMSC 723. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Mohit Iyyer explains how tool-using language models become agents through a loop in which they reason, call tools, inspect results, and decide whether to continue or answer. He covers scaling through long-running loops and agent swarms, using coding-focused auto research as an example, and emphasizes that context loss, compounding errors, reward hacking, and weak monitoring make independently verifiable checks essential.

Key takeaways

Chapters

0:00 Course Context: Post-Training, Agents, and Exam Review
5:25 Why Standard RAG Is a Fixed Retrieval Pipeline
9:10 LLM Agents Decide When and How to Use Tools
18:10 Longer Agent Loops and the Risks of Autonomy
23:00 Long-Running Agents and Context-Window Limits
27:35 Andrej Karpathy's Auto Research Example
31:30 Context Loss and Compounding Agent Errors
34:35 Why Human Review and Ordinary Tests Can Fail
39:45 Verifiable Checkers for Intermediate Agent Outputs
44:00 Using Checker Results for Reinforcement Learning
46:20 Checker Tampering and Independent Agent Audits
55:00 Agent Swarms: Orchestrators and Worker Agents
59:00 Swarm Coordination Costs and Task Selection Bias
1:05:55 Reward Hacking in the OpenAI and Hugging Face Incident

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:08 Okay, let's get started everyone. So today we are going to be covering um the implementation and application of LLM powered agents which we started talking about in the last class. Last class we basically covered tool use and how we can actually train models to use tools. In this class we will assume that we have models that are capable of using tools and we'll see how those can actually be deployed in increasingly more autonomous fashion. So before we start since there's just a couple of classes left and like a week from now is the second exam.

0:57 We have one more lecture left on Monday which will focus on evaluation of AI systems. So it's a pretty light topic but also extremely important practically for people who are working with these agents and models. The exam is going to be the exact same format as the first exam so 40 multiple choice questions. There have been a couple people asking whether the content of the exam will be like cumulative or or not. The intent is that the questions on the exam will focus entirely on stuff that we've covered since the first exam but of course the course is like very tightly connected right? You need to

1:45 understand how transformers work and pre-training works in order to understand some of the things that we've talked about regarding like supervised fine tuning, reinforcement learning and things like that. So um you know, if you weren't uh super confident on some of the topics covered on exam one, it might be worth revisiting them to make sure that you understand the foundations of all the stuff we've covered since then. But this exam will be primarily focused on post-training and applications of post-train models to things like we're seeing this week

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Mohit Iyyer.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.