Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Enterprise AI Agents in Production: Python, MCP, LangGraph
New
3 students

Enterprise AI Agents in Production: Python, MCP, LangGraph

Build reliable, secure, auditable AI agents: MCP, evals in CI, durable execution and real enterprise integration
Created byBaalu Mukkara
Last updated 10/2026
English

What you'll learn

  • Build a provider-agnostic agent loop in plain Python, with validated tool calls, budgets and a full trace
  • Design tools as contracts: typed schemas, idempotency keys, dry-run mode and errors the model can act on
  • Build and secure MCP servers and clients on the 2026-07-28 specification: stateless core, routing headers and OAuth
  • Engineer context, state, memory and permission-aware retrieval that stays correct as data changes
  • Write evals before the feature, calibrate an LLM judge, and gate every release in CI
  • Orchestrate with LangGraph: checkpoints, resume, human approval, and when multi-agent is worth its cost
  • Make agents survive failure with durable execution, idempotent tools, outbox, saga, retries and model fallback
  • Integrate agents with REST, SOAP, message brokers, event streams and file transfers through anti-corruption layers
  • Threat-model an agent, defend against prompt injection and tool poisoning, and red-team your own capstone
  • Observe, cost-engineer, deploy and investigate agents in production, and defend designs in reviews and interviews

Course content

29 sections • 244 lectures • 29h 18m total length
  • The Agent That Passed the Demo and Issued a Refund Four Times at 2 a.m.5:29

    In this lecture, you explain why an agent that works in a demo fails in production, and state the course's central message. What you'll see: One refund issued four times at 2 a.m.; the central message and why it matters.

  • Course Map: The 20-Step Framework, Four Projects and Your Learning Path6:02

    In this lecture, you choose a learning path for your role and describe the five parts, four projects and the 20-step framework. What you'll see: Five levels, four projects, which sections to take for your role.

  • Quick Win: Run a Working Agent in 15 Minutes, No API Key Needed8:42

    In this lecture, you run the quick-win agent in replay mode and explain each line of its trace. What you'll see: Clone, run, read the trace; no keys needed. The same agent is broken on purpose in Section 3, lecture 3. It's an instructor demonstration you can follow along in the repository.

  • The Four Projects and the SkyOps Capstone: One Evolving Repository4:39

    In this lecture, you describe the four projects, the SkyOps domain and how repository tags track your progress. What you'll see: Beginner, intermediate, advanced and capstone; the evolving repository and its tags.

  • Set Up the Repository, Environment and Replay Mode: Your First Green Test Run7:05

    In this lecture, you set up the repository, run the full test suite green, and read a failing fitness function. What you'll see: Python, lock file, .env.example, make targets, first green test run. It's a build-along lab in the SkyOps repository, and it runs in replay mode with no API key.

  • Keys, Budgets and Spending Limits: Run Every Lab Safely2:43

    In this lecture, you configure provider spend limits and the SkyOps spend guard before using live mode. What you'll see: Provider spend caps, per-lab cost estimates, the live/replay switch. It's an instructor demonstration you can follow along in the repository.

Requirements

  • Basic Python: functions, classes and type hints
  • Comfortable with REST APIs and JSON
  • Basic Git, SQL and Docker
  • No prior LLM or agent experience: Section 1 covers what an agent engineer needs to know about language models
  • No paid AI API is needed: every lab runs in replay mode on your laptop; live mode is optional with spend caps

Description

This course contains the use of artificial intelligence.
A demo agent works once. A production agent works the thousandth time, under failure, with an audit trail.

This course starts at 2 a.m., with one refund issued four times by an agent that passed every demo. Then it shows you, step by step, how to build agents that don't do that: how they are designed, secured, tested, integrated with real enterprise systems, deployed and operated, and how they fail.

An agent is a distributed system with a language model in the control loop.

Networks, retries, idempotency, state, queues and failure all still apply. The model proposes; your code validates, authorises and executes. Every safety property lives in that code, and that is what this course teaches you to write.

You build SkyOps, an airline operations agent, in one evolving Python repository: tagged per section, runnable offline in replay mode with no API key, with checks that fail at the start of every lab and pass when you have solved it.

What you will build and prove:

  • The agent loop from scratch in plain Python, then tools designed as contracts with idempotency and dry runs (Project 1)

  • MCP servers and clients on the current 2026-07-28 specification, secured with OAuth and scoped tokens

  • Context, state, memory and permission-aware retrieval for agents

  • Evals as the spine: golden sets, trajectory evals, a calibrated judge, variance across runs and a CI release gate

  • LangGraph orchestration with persistence, resume and human approval (Project 2), and when multi-agent is worth it

  • Reliability: durable execution, idempotent tools, outbox and saga, budgets and model fallback

  • Enterprise integration: REST, SOAP-style legacy services, message brokers, event streams and file transfers, with correlation IDs and anti-corruption layers (Project 3)

  • Guardrails, autonomy levels, human oversight and a security architecture with a red-team lab against your own agent

  • Observability, cost and latency engineering, deployment and release engineering

Then you run it in production.

Twenty incident labs where you investigate real failure patterns from traces, twelve flawed designs to review, architecture decision records and governance, enterprise case studies, interview walkthroughs and a rubric-graded capstone you can show in a portfolio.

What this course is not: a tour of agent frameworks, a prompt-engineering course or a collection of chatbot demos. Version-sensitive lectures are labelled and dated, with pinned versions; the production patterns are what you keep.

Plan on about two to two and a half times the video time if you complete the labs, projects and capstone.

How this course is made: the instructor wrote every script, designed every lab and reviewed every lecture. The narration is AI-voiced from the instructor's own scripts, and the animated visuals are produced with AI-assisted tooling under the instructor's direction.

Who this course is for:

  • Backend engineers and senior developers who have built an AI demo and now have to run agents in production
  • Tech leads, solution architects and platform engineers who design or review systems with AI agents
  • DevOps, SRE and AI engineers who operate, secure and pay for agents in real companies
  • Engineers preparing for agent and AI system design interviews
  • Not a prompt-engineering course, a framework tour or a course about training models