This live Python tutorial walks you through building a production-grade LLM orchestrator from scratch: task decomposition, typed MCP agent dispatch, Glass-Box observability, failure handling, and production deployment. Every line of code is written during the 6-hour session.
By Packt Publishing · Refunds up to 10 days before
This tutorial goes beyond hello-world orchestration. You build a complete LLM orchestrator in Python with semantic blueprint-driven task planning, typed MCP communication to specialised agent servers, Glass-Box logging of every dispatch decision, and the failure handling patterns that keep production orchestrators reliable under real-world conditions.
Context engineering is the discipline of designing systems that give AI the right information, in the right format, to reason and act reliably. It goes beyond prompt engineering — building structured, deterministic systems that scale in production.
A multi-agent system uses multiple specialised AI agents working together — each with a defined role, context, and tools — to complete complex tasks no single agent could handle reliably. Context engineering makes them predictable.
MCP is Anthropic's open standard for connecting AI models to tools, data sources, and other agents. It provides structured agent orchestration with clear context boundaries — making systems transparent and debuggable.
Context engineering requires hands-on practice to truly understand. This live workshop lets you build a working system with a world-class instructor answering your questions in real time.
Six modules. Six hours. A production-ready context-engineered AI system by the time you finish.
Understand why prompts fail at scale and how semantic blueprints give AI structured, goal-driven contextual awareness.
Design and orchestrate multi-agent workflows using the Model Context Protocol. Build transparent, traceable agent systems.
Build RAG pipelines that deliver accurate, cited responses. Engineer memory systems that persist context reliably across agents.
Architect a transparent, explainable context engine where every decision is traceable and debuggable in production.
Implement safeguards against prompt injection and data poisoning. Enforce trust boundaries in multi-agent environments.
Deploy your context-engineered system to production. Apply patterns for scaling, monitoring, and reliability.
Concrete working deliverables — not just theory and slides.
A working Glass-Box Context Engine with transparent, traceable reasoning
Multi-agent workflow orchestrated with the Model Context Protocol
High-fidelity RAG pipeline with memory and citations
Safeguards against prompt injection and data poisoning
Reusable architecture patterns for production AI systems
Certificate of completion from Packt Publishing
Denis Rothman brings decades of production AI engineering experience to this live workshop.
Denis Rothman is a bestselling AI author with over 30 years of experience in artificial intelligence, agent systems, and optimization. He has authored multiple cutting-edge AI books published by Packt and is renowned for making complex AI architecture concepts practical and immediately applicable. He guides you step by step through building production-ready context-engineered multi-agent systems — answering your questions live throughout the 6-hour session.
Intermediate to advanced workshop. Solid Python and basic LLM experience required.
Everything you need to know before registering.
This tutorial produces a complete Python LLM orchestrator: a PlannerAgent class that uses an LLM with a semantic blueprint to decompose tasks into agent subtasks, an MCPDispatcher that sends typed tool invocations to specialised MCP servers and collects structured results, a ContextRouter that assembles appropriate context packages for each dispatch, a ResultSynthesiser that assembles the final output from multiple agent results with citation tracking, and a GlassBoxLogger that records every orchestration decision with structured metadata.
Task planning in the Python LLM orchestrator uses a Planner agent: an LLM invocation with a semantic blueprint that describes the available specialised agents and their capabilities, and instructs the planner to produce a structured task graph (a JSON object defining subtasks, their dependencies, and which agent handles each). The orchestrator validates this task graph against the available MCP agent servers before execution, catching planning errors before any dispatches are made.
The tutorial covers four testing levels: unit tests for each orchestrator component using mocked LLM calls and MCP servers, integration tests for the complete orchestration pipeline with a controlled test agent set, golden tests that verify orchestration outputs for known inputs remain consistent across code changes, and chaos tests that inject failures at various points to verify the failure handling logic works correctly under realistic failure conditions.
The Glass-Box logging layer is integrated through Python decorators and context managers that wrap every orchestrator operation: the task planning call, each MCP dispatch, the context routing decisions, and the result synthesis steps. Every operation produces a structured log entry with a shared trace ID that connects the complete orchestration run. The tutorial covers implementing these logging decorators as reusable infrastructure that works across all orchestrator components.
Production deployment of the Python LLM orchestrator covers: containerising the orchestrator as a Docker service, configuring environment-specific MCP server addresses, setting up health monitoring that verifies MCP agent server availability, implementing request queuing for high-volume deployments, and establishing a CI/CD pipeline that runs the test suite before deploying orchestrator updates. The final module of the tutorial covers the complete production deployment process.
This tutorial builds the orchestrator directly using MCP rather than through a framework abstraction. This approach produces a system you fully understand at every layer, that is not subject to framework breaking changes, and that exposes the architectural decisions LangChain and LlamaIndex make for you. After this tutorial you have the understanding to evaluate when frameworks add value and when building directly produces a better result for your specific use case.
6 hours. Bestselling AI author. Production context-engineered multi-agent system by the end. Seats are limited.
Register Now →Saturday April 25 · 9am to 3pm EDT · Online · Packt Publishing · Cohort 2