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

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
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
The syllabus, module by module
Open any of them to see its lessons.
- 1. Introduction: the Colibri agent and your working kitchen
- 2. What an agent is: model, tools, loop and stop condition
- 3. The loop inside: observe, decide, act
- 4. Levels of autonomy
- 5. Agent versus fixed flow
- 6. What a framework gives you and what it does not
- 7. When not to use an agent
- 8. Project: the incident agent from scratch
- 1. Introduction: tools are the agent's interface
- 2. Your own decorator: from a function to a schema
- 3. Offering tools to the model
- 4. The registry and the dispatcher
- 5. Tools that read, write and call outside
- 6. Validate and return errors the model can fix
- 7. Schemas that guide the model
- 8. Project: the five Colibri tools
- 1. Introduction: a flow as a graph
- 2. The five flow patterns
- 3. Designing the state of a run
- 4. The loop as a cycle with a guaranteed exit
- 5. Conditional edges: the code decides or the model decides
- 6. The same flow as plain functions
- 7. An agent as a step of a fixed flow
- 8. Project: the incident desk as a state machine
Keep going with the full bootcamp.
At your own pace or 1:1, whichever you need.
What people usually ask
No limit. It's an open guide: come in whenever you like, as often as you like.
No. Modules run from easier to harder, but you can jump to the one you need. Progress is saved per lesson.
Whatever is needed is listed under “What you need to bring”, above. If nothing is listed there, you can start from zero.
In the forum and in the community WhatsApp group.
Yes. When you finish every lesson you get a statement of completion. Pass the guide's certification exam and it becomes a certificate, with a verifiable code you can share on LinkedIn.
No. This guide is one piece. The bootcamp puts the whole syllabus in order, with videos and projects, at your own pace.
Start whenever you like
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!