Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Secure Agentic AI Engineering: Build Production AI Agents
New

Secure Agentic AI Engineering: Build Production AI Agents

Build AI agents in Python, from your first agent to multi-agent systems, then secure, test and deploy them in production
Created byAnil Kumar
Last updated 10/2026
English

What you'll learn

  • Build AI agents in Python with tools, a bounded loop and a live log, using the real OpenAI API
  • Grow one agent into a multi-agent team and an agentic agent that plans, acts and checks its work
  • Engineer safe tools: argument validation, retries with backoff, idempotency keys and approval gates
  • Defend agents against prompt injection, tool abuse and data leaks with policy checks in code
  • Understand tokens, context windows, temperature and structured outputs as an agent engineer
  • Design agent loops with step limits, timeouts, loop detection and four clear exit conditions
  • Plan with structured task specs, ReAct reasoning, reflection loops, routing and state machines
  • Add memory and RAG with SQLite and embeddings, and keep retrieved documents untrusted
  • Orchestrate supervisor and worker agents with message contracts, handoffs and MCP tools
  • Test agents with unit tests, golden evaluation sets, regression gates and structured tracing
  • Deploy an agent as a FastAPI service in Docker with auth, checkpoints, rate limits and rollback
  • Build a capstone: a secure DevOps investigation agent with human approval for every change

Course content

14 sections • 114 lectures • 13h 1m total length
  • What You Will Build: AI Agents, Agentic AI & the Capstone8:39
  • Who This Course Is For and Prerequisites5:53
  • Development Environment and Repository Structure9:15
  • Your First AI Agent: Code, API Key & a Real Live Log15:19
  • Multi-Agent Teams: Two Agents Working Together8:08
  • Agentic AI: An Agent That Plans, Acts, and Checks9:46
  • API Keys, Environment Variables, and Cost Safety5:12
  • How to Follow the Labs and Debug Problems5:13

Requirements

  • Basic Python: functions, classes, running scripts, installing packages.
  • Basic terminal use: moving between folders and running commands.
  • A computer with Linux, macOS, or Windows 10/11 with WSL

Description

This course contains the use of artificial intelligence


AI agents are changing how software is built. An agent does not only talk: it checks systems, calls tools and finishes real tasks. That is also what makes it risky. An agent that can act can delete the wrong data, leak a secret, or be tricked by a single hidden sentence in a document. Companies need engineers who can build agents that are useful AND safe. This course teaches you to be that engineer.


You start by building real AI agents in Python, with the real OpenAI API:


  • Your first agent: a service health agent with one tool, a bounded loop and a live log you read line by line.

  • A multi-agent team: an investigator agent with tools hands its facts to a writer agent.

  • An agentic agent: it writes its own plan, does each step with tools, checks its work, then reports.


Then you learn how every part really works, and how to make it safe:


  • LLM foundations for engineers: tokens, context windows, temperature, prompts, structured outputs, tool calling and provider adapters.

  • The agent loop: state, events, task specs, a closed tool registry, step limits, timeouts and loop prevention.

  • Safe tools: argument validation, retries with backoff, idempotency keys, safe HTTP, database and file tools, and human approval gates.

  • Agentic reasoning: planning, ReAct, plan-and-execute, reflection, routing, state machines, and when NOT to use an agent.

  • Memory and RAG: SQLite memory, embeddings, retrieval, and trust boundaries for retrieved documents.

  • Multi-agent systems: supervisor and worker agents, handoffs, message contracts, durable workflows and MCP.

  • AI agent security: threat modeling, direct and indirect prompt injection, tool abuse, secret handling, policy enforcement, sandboxing, identity and supply-chain trust.

  • Testing and reliability: unit and integration tests, golden evaluation sets, regression gates, tracing, circuit breakers and budgets.

  • Production: a FastAPI service with authentication, checkpoints, background jobs, Docker, monitoring, rate limits and rollback.


In the capstone, you build a Secure DevOps Investigation Agent: it takes an alert, plans an investigation, gathers evidence with read-only tools, correlates it, writes an evidence-based report, and needs a signed human approval before any change.


How the course is taught


  • Problem first: before any agent code, you see what the agent does and which problem it solves.

  • Concept first: every idea is shown as an animated workflow diagram, explained in plain words, with every new term defined.

  • Real code and real output: Section 1 runs live against the real OpenAI API. Sections 1–4 are fully runnable labs whose output matches the lecture slides exactly.

  • Safe security labs: attacks like prompt injection run against an offline dummy model and simulated tools, never against a real vendor's model, so your account stays safe and the results are the same every time.

  • Focused lectures, 5–15 minutes each, five quizzes, and four practical assessments.


By the end, you will be able to design, build, test, secure and deploy AI agents you can trust in production, and you will have a capstone project to show.


Who this course is for:

  • Python developers who want to build AI agents that work beyond a demo.
  • AI and ML engineers moving from LLM prototypes to reliable, tested agent services.
  • Security engineers who want to understand and defend AI agents and their tools.
  • Platform and DevOps engineers who will run agents in production.
  • Beginners in AI who know basic Python and want a clear, step-by-step path into agentic AI.
  • Anyone who wants a portfolio capstone: a secure DevOps investigation agent.