How AI Agents Work: An Open Course from Carnegie Mellon
When working with AI agents, you quickly realize that connecting a model to a set of tools isn't the hardest part. What's more interesting is how an agent plans its actions, manages context, handles errors, and consistently completes…

When working with AI agents, you quickly realize that connecting a model to a set of tools isn't the hardest part. What's more interesting is how an agent plans its actions, manages context, handles errors, and consistently completes tasks.
I recently came across AI Agents (11-768), a course at Carnegie Mellon University taught by Graham Neubig and Daniel Fried in fall 2026. The course materials are publicly available.
What's Covered
Unlike tutorials focused on specific frameworks like LangGraph or OpenHands, this course looks at the entire AI agent system.
The main topics include:
- Tools and memory: Working with APIs, managing context, and retaining information.
- Planning: Breaking complex tasks into steps and coordinating agents.
- Practical applications: Coding agents, GUI interaction, and research agents.
- Evaluation: Measuring how reliably agents complete tasks.
- Training and security: Supervised fine-tuning (SFT), reinforcement learning, sandboxed environments, and security.
More Than Just Theory
What I find particularly interesting is the hands-on part. Students don't just use existing libraries. They build their own agent infrastructure, develop evaluation tests, and explore ways to improve models.
The course has an official website with lectures and resources, and the first assignment is available on GitHub.
Why It Matters for Developers
I think it's important to understand not only what an AI model can do, but also how the system around it is designed.
Memory, state management, error handling, security, and testing are all familiar engineering challenges. AI simply adds another variable: model behavior isn't always predictable.
That's why a reliable AI agent is more than a good prompt and a collection of tools. It's a well-designed system that can be tested and evaluated.




