Skip to content

Unit 2 — Agent Frameworks

Overview

Unit 2 surveys three popular frameworks for building production-ready agents:

Framework Philosophy Best for
smolagents Minimal, code-first Quick prototypes, research
LlamaIndex Data-centric, workflows RAG-heavy applications
LangGraph Graph-based control flow Complex, stateful pipelines

Why multiple frameworks?

Each framework makes different trade-offs between:

  • Simplicity vs. control — how much of the loop is hidden from you
  • Tool ecosystem — available integrations out-of-the-box
  • Debugging & observability — how easy it is to inspect agent traces

Notebooks

Notebook Framework Description
notebooks/unit2/01_smolagents_intro.ipynb smolagents First steps
notebooks/unit2/02_llamaindex_agent.ipynb LlamaIndex Query engine agent
notebooks/unit2/03_langgraph_flow.ipynb LangGraph Stateful graph agent

Notes

Add your unit 2 overview notes here.