Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Agentic Engineering: From MCP Servers to Agent Factories
New
2 students

Agentic Engineering: From MCP Servers to Agent Factories

Build AI agents that work without you: MCP servers, typed agents, verification harnesses and agent factories
Last updated 9/2026
English
English

What you'll learn

  • Build a working AI agent from a blank file in ~50 lines, then harden it with turn caps, retries and traces
  • Design, build and publish your own MCP server to npm, and pass a cold-install test with a stranger
  • Automate apps that have no API by reverse-engineering their file formats, proven with byte-identical round-trip tests
  • Build verification harnesses and policy-as-code so you can trust what your agents produce without reading every line
  • Ship production agents: typed inputs and outputs, idempotent side effects, and failure paths you have drilled

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

11 sections • 60 lectures • 1h 44m total length
  • Introduction1:44

    Welcome to Agentic Engineering. Three actors now create value in software: engineers plan and review, agents execute with judgment, and deterministic code verifies everything. This course is about placing each one correctly — and every section ends with something you build and something that proves it works.

    You'll be able to: explain the three-actor model and what you'll ship by the end of the course.

  • The three actors: engineers, agents and code2:34

    Three actors now create value in software: engineers plan and review, agents execute with judgment, and deterministic code verifies everything. This lecture introduces each one, shows why code is the unsung hero, and gives you the three-question diagnostic for placing the right actor on any task.

  • Two constraints that change everything2:01

    The engineer's job concentrates into two points: planning at the start and reviewing at the end. When implementation is cheap, an ambiguity in your spec doesn't slow the work down; it gets implemented. This lecture shows why both skills matter more than ever, and what it looks like to specify the way a machine could check.

  • Setup: accounts, keys and cost guardrails1:04

    Before building anything you need three things: a model API key kept in an environment variable, a runtime you're comfortable in (Python or TypeScript), and a hard spending limit set at the provider console. Runaway loops are the most common failure in the field, so the cap goes on first.

    You'll be able to: set up a safe, cost-capped environment and read per-run usage.

Requirements

  • Working knowledge of TypeScript or Python, plus an LLM API key (the course keeps total spend around $10)
  • Comfort with Git, a terminal and installing packages; no prior AI or agent experience required

Description

This course contains the use of artificial intelligence.

Most AI courses teach you to talk to a model.

This one teaches you to build the engineering around it: the part that decides whether your system still works at 3 a.m. on someone else's machine.

11 sections · 10 build assignments · 7 auto-graded coding exercises · a capstone you ship

Here's the build order:

  1. The three actors. Engineers plan and review, agents execute with judgment, and deterministic code verifies. This is the placement diagnostic you'll run on every task from now on.

  2. Design before code, with BMAD. Write a spec a machine can check, because an agent doesn't slow down at an ambiguity. It implements it.

  3. The loop. Write a working agent in about fifty lines, then break it on purpose four ways. Each failure is a production lesson, and no better model fixes any of them.

  4. MCP. Design your tools on paper, build the server and publish it. Then run the cold-install test: a stranger installs it from your README while you stay silent.

  5. No API? Automate the file format. The save format is the API. You prove it with a byte-identical round trip.

  6. Agents as typed programs, and token economics. Inputs are validated before you spend a token, outputs are enforced by a schema, and agents are composed as each other's tools. You also work through why a ten-turn run costs so much and learn the three levers that fix it.

  7. Production agents. The model produces data and your code produces the side effects. You'll cover idempotency and trust boundaries, and drill every failure path.

  8. Data and AI. Zero-copy catalogues, data contracts that enforce, and a default-deny policy engine that fails closed, with tests you run in CI.

  9. Harnesses and verification. This is the keystone: invariants, objective exits, circuit breakers and evals. It's how you trust output you didn't read.

  10. The factory pattern. Two products on one kit, with honest economics.

  11. Capstone. Build something that works without you, and prove it with a cold run someone else drives.

What you'll walk out with: a working agent loop, a published MCP server, a format-automation stack, a typed agent runner, a production pipeline, a data catalogue and policy engine, a verification harness, a two-product mini-factory, and a capstone. Every one of them runs.

How you learn: short, dense lectures with diagrams. Each section ends with an assignment that has model answers and a self-check rubric. Seven coding exercises are graded instantly in the browser. Lab code and book chapters are downloadable.

The field moves. Models, protocols and prices shift every month. Invariants, contracts and trust boundaries don't. This course teaches the parts that survive model releases.

Who this course is for:

  • Software engineers who want to build and ship real agentic systems, not toy demos
  • Tech leads and senior developers deciding where agents belong in their team's software process