I gave a class on AI agents at UNICEN, for the systems design course.
The class is in Spanish. The chapters and sources below are in English.
The class goes from a single LLM call to multi-agent systems in production. I tried to explain concepts that I believe are must-haves in today’s work landscape, such as observability and evals, for example. At the end I go through a real case, how we built Lumi at Tiendanube.
Chapters
00:00Intro and what the class covers07:32Workflows09:13When to use LLMs, and when not to11:17Prompt chaining14:31Routing17:39Parallelization20:20Evaluator-optimizer21:34Limits of workflows22:42What is an agent? Anatomy, tools and memory25:44Tools and MCP (Model Context Protocol)34:45Limits of agents37:32Observability41:33Evals46:40Multi-agent architectures47:32Subagents49:47Handoffs50:13Skills50:52Router51:32When to use each architecture52:11Guardrails and middlewares55:49Real case
Sources
- Building Effective Agents
- Jev
- Lost in the Middle: How Language Models Use Long Contexts
- Model Context Protocol
- Introducing the Model Context Protocol
- AI Engineer
- A2A: a new era of agent interoperability
- Choosing the right multi-agent architecture
- How we use LangChain to power Lumi for 180k+ merchants
- Scaling LangGraph’s Postgres Checkpointer in Production
Four takeaways
- Decide first whether the problem needs an agent at all. If it can be solved deterministically, solve it deterministically.
- Start with the simplest architecture that works, and add complexity only when the problem asks for it.
- Evaluation, observability and monitoring are the pillars. They are what separates a good agentic system from an average one.
- Build it so it can scale to real users in production, in a controlled way.