GuideIntermediate

Building AI Agents Guide

A framework gives you a working agent in a few lines. What it does not give you is the judgment to make that agent work on a real case: which tools to offer and how to describe them, when an agent is the right choice and when a fixed workflow is, how many steps and how much money it may spend, when it must stop and ask for approval, what a failure looks like, and how to tell whether a new version is better or worse than the last one. This guide teaches that judgment by building an agent's **harness**, the code around the model, without a framework: Python, the OpenAI SDK with `gpt-6-luna`, and the standard library. Each piece is a few dozen lines you can read in full and later take to any framework, or use with none. The case throughout the guide is **Envios Colibri**, a parcel delivery company with customers across Latin America. You build its incident agent: it looks up shipments and policies, reschedules deliveries, opens claims and proposes refunds, with human approval when the amount requires it. All the code runs in two modes: simulated (no API key, with decisions written in advance) and real (with `gpt-6-luna`).

lessons
80
modules
10
available in
English · Spanish
certificate
Yes
access
Free
Outcomes

What you'll be able to do

  • Understand agent cognitive architecture: perceive-reason-act loop and agent taxonomies
  • Build advanced tool use with complex schemas, validation, and error handling
  • Master function calling patterns: parallel calls, routing, composition, and structured extraction
  • Design agent state machines with LangGraph (StateGraph and Functional API)
  • Implement multi-step reasoning: ReAct deep dive, plan-and-execute, reflection and self-correction
  • Build memory systems: short-term, long-term, checkpointing, and durable execution
  • Integrate external tools with MCP (Model Context Protocol) — the emerging standard backed by Anthropic and Microsoft
  • Orchestrate multi-agent systems with supervisor, handoff, subagent, and router patterns
  • Test and evaluate agents with trajectory evaluation, golden datasets, and LangSmith
  • Deploy agents to production with FastAPI, monitoring, cost control, and error recovery
Before you start

What you need to bring

It's for you if...

  • AI Engineers who have completed the LangChain & LangGraph guide and want to build complete agent systems
  • Developers who have built basic agents and need production-grade patterns for real-world deployment
  • Engineers implementing multi-agent systems at their companies who need orchestration patterns
  • Professionals who want to understand MCP and the future of agent-tool integration
  • Teams evaluating agent frameworks (LangChain vs Pydantic AI) for production projects

Requirements and materials

  • Completed LangChain & LangGraph Guide (#9) or equivalent experience with LangChain v1.2+ and LangGraph v1.0+
  • Completed Advanced Prompt Engineering Guide (#10) or equivalent experience
  • Advanced Python (async/await, decorators, type hints, Pydantic models)
  • Experience building at least one basic agent with LangChain or similar framework
  • At least one LLM API key (OpenAI or Anthropic recommended)
  • Python 3.11+ installed
Content

The syllabus, module by module

Open any of them to see its lessons.

Bootcamps

Keep going with the full bootcamp.

At your own pace or 1:1, whichever you need.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!