Skip to content

AI Agents with Python: Beginner to Production

Build Python AI agents with tools, memory, RAG, testing, guardrails, and deployment using FastAPI and Docker

4.7 (100 ratings) 1k students 1h 21m English

Created by Arjun Vaid, School of AI

What you’ll learn

  • Build Python AI agents that follow instructions, call tools, and return validated structured responses.
  • Add conversation memory and document retrieval to answer questions using relevant supporting evidence.
  • Design agent workflows with error handling, access controls, human approval, and specialist handoffs.
  • Test and monitor AI agents, then package and deploy a support application using FastAPI and Docker.

This course includes

  • 1h 21m on-demand video
  • Mobile, tablet & desktop
  • Full lifetime access
  • Certificate of completion

About this course

This course contains the use of artificial intelligence

Learn to build AI agents with Python, starting with your first assistant and progressing toward a tested, deployable application.

AI Agents with Python: Beginner to Production introduces the core ideas behind agents through a customer-support project. You’ll explore how agents follow instructions, select tools, retrieve information, manage conversations, and request human approval before taking actions.

Across 15 sections and 45 short lectures, you’ll learn how to:

  • Build and run a Python AI agent.

  • Write clear instructions and validate structured responses.

  • Connect Python tools for order lookup and other support tasks.

  • Handle errors, timeouts, retries, and execution limits.

  • Store conversation history and isolate user sessions.

  • Use retrieval-augmented generation to answer questions from documents.

  • Design workflows and understand specialist-agent handoffs.

  • Enforce permissions and approval requirements in application code.

  • Test tools and evaluate agent behavior.

  • Inspect traces and monitor latency, usage, and cost.

  • Expose an application through FastAPI and package it with Docker.

The course includes editable lecture resources, coding exercises with solutions, quizzes, guided labs, and two practice tests. An offline reference project lets you practice application controls without paid model calls, while an optional live SDK example introduces model-driven tool use.

This course is designed for learners who already understand basic Python and are new to AI agents. You don’t need prior machine-learning experience.

By the end, you’ll understand how to build a small agent application and the practical controls needed to prepare it for deployment. Live API examples require your own account and may incur usage charges.

Who this course is for

  • Python learners building their first AI agent. Developers who want to add tool use, memory, and document retrieval to AI applications. Software engineers seeking an introduction to agent testing, safety controls, and deployment. Professionals who want hands-on experience building a customer-support agent.

How to get it for free

  1. Press Get this course free — Udemy opens with the coupon applied.
  2. Sign in to (or create) your free Udemy account.
  3. Check the price shows Free, then enroll. The course stays in your account.

Coupons end on a set date or when their redemptions run out, sometimes without notice. If the price isn’t Free at checkout, the offer has ended — try another course.

Suggested from Development and our most popular courses.

Free

NOVFREE03

Get it free