Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build AI Agents in Python: A Practical Travel Agent
1 students

Build AI Agents in Python: A Practical Travel Agent

Build a testable Python travel agent with tools, memory, guardrails, evaluations, and a FastAPI capstone.
Last updated 8/2026
English

What you'll learn

  • Explain how an AI agent differs from a chatbot or fixed workflow.
  • Build a typed Python travel agent with bounded tools and structured outputs.
  • Add evidence, state, preferences, and specialist agents while keeping application control.
  • Implement privacy guardrails, human approval, traces, and repeatable evaluations.
  • Handle provider configuration, caching, retries, timeouts, and honest partial results.

Course content

4 sections10 lectures1h 47m total length
  • Course Start: What Are AI Agents?7:12
  • Build One Focused Travel Agent25:47

Requirements

  • No previous AI-agent experience is required; basic Python and terminal familiarity are helpful.
  • Install Python and the uv package manager before starting the hands-on exercises.
  • A paid API is not required for the deterministic core path; an OpenAI API key is optional.
  • Use any code editor; all commands are demonstrated and explained line by line.
  • Keep the downloadable learner repository open so you can run each checkpoint with the video.

Description

AI agents become useful when model judgment works inside application-controlled boundaries. A prompt alone does not decide which inputs are valid, which tools are authorized, which evidence may be trusted, what output shape downstream software can accept, or whether a system may take an external action.


This practical course teaches those engineering decisions by building IST Travels, a planning-only travel agent in Python. You begin by separating chatbots, fixed workflows, and agents. Then you build one focused planner with typed requests, bounded destination evidence, structured plans, and an optional OpenAI Agents SDK path.


Each module advances the same working system. You add flight, lodging, activity, and weather tools; reconcile compatible evidence; resolve current preferences against approved memory; introduce specialist agents only when responsibilities genuinely split; and preserve one accountable manager for the final answer.


The course deliberately breaks the system as it grows. You will diagnose unsupported destinations, incompatible evidence, memory-precedence regressions, unsafe reservation intent, sensitive input, shared-budget failures, evaluation regressions, provider timeouts, invalid API requests, and unsafe production configuration. Every failure has a named owner and a reproducible checkpoint.


The final capstone exposes the complete workflow through FastAPI with health, readiness, request identity, typed responses, explicit limitations, and real local HTTP smoke evidence. IST Travels never reserves, purchases, holds inventory, or claims that sample prices are live.


This is a code-first build-along with real files, commands, tests, traces, failures, diagnosis, and cumulative verification. The core path runs locally with deterministic sample providers, so learners can understand the architecture before choosing whether to configure a paid model or external provider.

Who this course is for:

  • Python developers and AI-curious engineers who want to build testable agents, not prompt demos.
  • Solution architects designing tools, state, guardrails, and explicit authority boundaries.
  • Technical product builders who need an explainable, production-minded agent workflow.
  • Beginners with basic Python who want a guided path from agent concepts to a tested FastAPI capstone.
  • Developers adding evaluations, provider adapters, and reliable delivery to an existing Python app.