
Time to build the MCP server you designed in the previous lecture. You will implement the codebase server with the current MCP Python SDK (mcp 2.2.0, MCPServer API): four read-only tools — search_code, read_file, list_files, find_definition — plus a tree resource and an explain prompt, all sandboxed to the repository root. Then you will write the client and trace one real call through the four stages every MCP conversation follows: CONNECT (stdio subprocess, protocol negotiation), DISCOVER (list_tools and the generated JSON Schemas), INVOKE (call_tool with validated arguments), and RESPOND (content blocks, structured content, and the is_error flag). Finally you will wrap the discovered tools as LangChain tools and wire them into a LangChain agent built with create_agent (which runs on LangGraph), and watch the agent answer 'where does our retry logic live?' from the real tool result — three matches, with file and line citations. All code in this lecture is complete and runnable as shown. AI disclosure: this course's narration uses a cloned voice of the instructor, created with the instructor's consent; all content, code, and curriculum are authored and verified by the instructor team. Music: 'Frozen Star' by Kevin MacLeod (incompetech.com) — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
One brief — 'brief on MCP security' — built twice. First you will assemble a CrewAI crew of three agents (researcher, writer, reviewer) where each agent owns exactly one task, then you will rebuild the identical task with the OpenAI Agents SDK, where a triage agent routes work by hand-offs. You will write the brief as a four-requirement contract, watch six gathered sources become four verified ones, see a 412-word first draft fail review on three named flags, and follow the review pass to the finished artifact: five sections, 764 words, nine citations, zero unsupported claims. You will learn when a fixed crew pipeline beats a runtime router — and why the contract and the review pass, not the framework, produce the quality. Code is verified against CrewAI 1.15.23 and OpenAI Agents SDK 0.23.1. Build the two listings in separate virtual environments: the two frameworks' pinned dependency ranges conflict, so they will not co-install cleanly in one environment. This course uses AI-assisted narration with the instructor's own cloned voice; all content is human-directed, code-tested, and disclosed here per Udemy policy. Music: 'Frozen Star' by Kevin MacLeod (incompetech.com) — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
A working crew is not a shippable crew. In this lecture you will replay the exact research run from Lecture 17 under a tracer and read its waterfall: 14 spans (8 CrewAI, 6 Agents SDK), 18,420 tokens, 96 seconds, ≈ $0.04 (all tokens priced at the model's listed output rate — an upper bound) — every total computed from recorded spans, never estimated. You will then score the crew's brief with a five-measure eval whose scores are counts before they are percentages (accuracy 23/25 = 92, citations 18/20 = 90, completeness 8/8 = 100, safety 5/5 = 100, format 21/25 = 84), combine them live into the overall score of 93.2, and put a hard gate in front of deployment at a threshold of 85, with a non-negotiable safety rule. Finally you will verify the six-item production checklist — secrets, rate limits, fallback model, cost ceiling, tracing, and the eval gate itself — and watch the deploy button light up only at six of six. The eval gate and checklist code is included in full and runs as-is. This course uses AI-assisted narration with the instructor's own cloned voice; all content is human-directed, code-tested, and disclosed here per Udemy policy. Music: 'Frozen Star' by Kevin MacLeod (incompetech.com) — CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
This course contains the use of artificial intelligence.
22 animated lessons · ~2 hours 43 minutes · zero agent experience needed. Go from 'what is an agent?' to shipping production-grade AI agents — and answering the interview questions that come with them.
You will build the systems real teams ship: the core agent loop, tool use and function calling, retrieval (RAG) with grounded answers and refusal behaviour, Model Context Protocol (MCP) servers built and tested end to end, human-in-the-loop approvals that survive failure, and multi-agent crews with budgets, traces and evals. Every number in this course comes from code that was actually run — eval scores, token costs, success rates — shown on screen, never invented.
Includes: 4 downloadable PDF books (code examples + practice exercises with solutions for every lecture), quizzes and coding exercises throughout, and a full interview track — agent loop, RAG, multi-agent design and a senior playbook — so you finish able to build agents AND talk about them like an engineer who has shipped them.
Every project in this course is built the way it would be built on a real team: requirements first, code you can run yourself, tests that prove it works, and a production checklist before anything ships. You will debug real failure modes — runaway loops, runaway costs, tools that fail, agents that refuse — and learn the patterns senior engineers use to keep agents safe, observable, and affordable in production.