AGF-101 · free · no sign-in

AI agent frameworks, explained

LangChain, LangGraph, CrewAI and AutoGen, and whether you need a framework at all. Five short lessons where Space Llama explains what each one does to the agent loop, and when to use it. Made with Alpaca Mango. Free, no sign-in.

The course

Level
Developers building with language models
Price
Free, no sign-in
Format
Short video lessons with diagrams
This course
5 lessons, about 17 minutes

Agent frameworks

  1. 1What is LangChain?What LangChain is for: one interface over models, tools and data sources, and create_agent, a small configurable agent loop built on LangGraph. A first agent in a few lines of Python, where the abstraction helps, where it hurts, and when you don't need it.4 min: What is LangChain? (opens in a new tab)
  2. 2What is LangGraph?LangGraph turns an agent's control flow into a graph you draw: shared state, nodes and edges. What that buys you (inspectable state, checkpoints you can resume, human approval as a step), a minimal graph in Python, and where it sits beside LangChain.3 min: What is LangGraph? (opens in a new tab)
  3. 3LangChain vs LangGraph: which do you need?LangChain and LangGraph aren't rivals: LangChain gives you the parts, LangGraph decides the order they run in. How they fit together today, four questions that decide which layer you work in, and the comparison people usually mean instead.3 min: LangChain vs LangGraph: which do you need? (opens in a new tab)
  4. 4CrewAI vs AutoGen, now Microsoft Agent FrameworkCrewAI models work as a crew of role-playing agents, with Flows for precise control. AutoGen is now archived, and Microsoft points new projects to Microsoft Agent Framework. How the two compare today, and whether you need more than one agent at all.4 min: CrewAI vs AutoGen, now Microsoft Agent Framework (opens in a new tab)
  5. 5Do you need an agent framework at all?Often, no: the agent loop is a while loop and a switch. Why writing it yourself first shows you what you need, the four things a framework genuinely earns its place for, the middle path, and choosing between the Vercel AI SDK and LangChain in TypeScript.3 min: Do you need an agent framework at all? (opens in a new tab)