Lessons19
0/19 modules masteredStart Here
2 lessons · 30 minNo prior AI course needed: what an agent is, how it differs from a chatbot and from a fixed recipe, and your first agent loop in plain Python with a stand-in brain.
AI Agents: Start Here
Up NextWhat an AI agent is in everyday words, how it differs from a chatbot and from a fixed recipe, the five parts every agent has, and how to run one by hand on paper. No code needed.
Your First Agent Loop
Write the think, act, observe loop in a short plain Python program with a scripted stand-in for the brain, run it in your browser, and see how a real model plugs into the same loop.
Foundations
5 lessons · 2 hrThe standard picture of one agent: the loop, tool use and function calling, MCP, and the reason-then-act pattern.
Agent Fundamentals
What makes an AI agent different from a model? Augmented LLM, perception → reasoning → action loop.
Tool Use & Function Calling
How LLMs learn to use external tools through structured function calling. OpenAI tools, Anthropic tools.
Function Calling Internals
Token-by-token generation of tool calls, constrained decoding, parallel tool execution, Pydantic validation.
MCP: Model Context Protocol
Anthropic's open standard for tool/resource/prompt integration. The 'USB-C of AI', write once, run with any host.
ReAct: Reasoning + Acting
A widely used agent pattern. Interleaving Thought → Action → Observation in a tight loop.
Core: Memory, Reflection and Planning
4 lessons · 2 hrGiving an agent a memory, letting it learn from a failed try, planning ahead, and the fixed workflow patterns to use before an autonomous loop.
Agent Memory Systems
Short-term vs long-term memory, vector stores, MemGPT, episodic vs semantic vs procedural memory.
Reflexion & Self-Critique
Verbal RL, agent attempts → critic evaluates → reflection note → retry. 10-30% quality lift on hard tasks.
Planning & Reasoning
Plan-and-Solve, Tree-of-Thought, LATS, when to escalate from ReAct to structured planning.
Agentic Workflow Patterns
Anthropic's 5 patterns, prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer.
Advanced: Systems
4 lessons · 2 hrFrameworks, teams of agents, agents that use a screen, and agents that write code.
Agent Frameworks: Building with LangChain, CrewAI & Beyond
Compare LangChain/LangGraph, CrewAI, AutoGen, and Anthropic Agent SDK. Building blocks, role-based crews, conversation-driven patterns.
Multi-Agent Systems
CrewAI / AutoGen / LangGraph. Supervisor and swarm patterns, framework comparison, production multi-agent orchestration.
Computer Use & GUI Agents
Claude Computer Use API, OpenAI Operator, OSWorld benchmark. The most general-purpose agent interface.
Code Generation Agents: From Copilot to Autonomous Coding
Cursor, Devin, Claude Code, Copilot Workspace. SWE-bench architecture, repo-level reasoning.
Expert: Ship It
4 lessons · 2 hrEvaluating agents, keeping them safe, running them in production, and a capstone that ties it together.
Agent Evaluation
SWE-bench Verified, OSWorld, GAIA, AgentBench. Trajectory vs outcome evaluation, 2026 reward-hacking caveats.
Agent Safety & Guardrails
Constitutional AI, oversight, sandboxing, prompt injection defense, human-in-the-loop, the Swiss cheese model.
Production Deployment & Observability
Langfuse / AgentOps tracing, OpenTelemetry, distributed tracing, cost monitoring, retries, fallbacks, the 12-point production checklist.
Building an Agent (Capstone)
Capstone, Devin/Manus-style end-to-end agent. MCP + ReAct + memory + Reflexion + safety + observability + eval, integrated.
Practice labs
12 interactive labs — hands-on exercises for this track
Agent Reasoning Loop
An AI agent observes, thinks, acts, and observes again — watch the reasoning loop in real time
Tool Use Visualizer
Watch an LLM call external tools — search the web, run code, check weather — and weave results into its response
ReAct Pattern Visualizer
Watch the Thought → Action → Observation loop unfold — the same LLM chains tool calls to solve multi-hop questions it couldn't answer in one shot.
Multi-Agent Orchestration
Watch a team of specialized agents (Planner, Researcher, Writer, Coder, Critic) coordinate on a task. See how a critic gate rejects weak subtasks and sends them back for revision.
Agent Memory & Scratchpad
Three memory types in one view — short-term conversation buffer, long-term vector store with top-k retrieval, and task-scoped scratchpad. See how each solves a different problem.
Function Calling Breakdown
Dissect the LLM function-calling pipeline — structured JSON, schema validation, dispatch, and result round-trip. See happy path, malformed JSON retry, unknown-tool refusal.
Agent Planning Tree
Watch an agent decompose a complex goal into a tree of verifiable leaves, then re-plan gracefully when a constraint fails.
Guardrails Pipeline
Send adversarial and benign inputs through a 5-stage guardrails pipeline — prompt injection, PII, toxicity, hallucinations. Toggle to reveal what leaks without defenses.
MCP Protocol Visualizer
Full 8-step JSON-RPC flow: initialize → capabilities → tools/list → tools/call. One client, 3 servers (GitHub, Filesystem, Postgres).
Streaming Responses
Side-by-side non-streaming vs streaming. Watch TTFT drop from 5000ms to 200ms — streaming FEELS 10× faster.
Tool Composition
3 composite tasks (CSV→chart, research-summarize, support triage). See small composable tools beat one monolithic tool.
Agent Benchmarks Scoreboard
4 agents × 4 benchmarks (HumanEval, GAIA, SWE-bench, MMLU). See no single winner — cost-per-score and failure examples per benchmark.
Test your knowledge
388 questions across 19 modules — check how well you understood this track.