Skip to main content
Have a personal or library account? Click to login
Agentic AI Engineering Cover

Agentic AI Engineering

Build, secure, and operate production-grade AI agents with harness engineering and durable patterns

Paid access
|Jan 2026
Product purchase options

Build production-grade AI agents with the OpenAI Agents SDK, MCP, and A2A, and engineer the harness that makes them safe, observable, and affordable Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features

  • Engineer the agent loop and the harness around it with patterns proven in Fortune 500 deployments
  • Orchestrate single-agent and multi-agent systems with the OpenAI Agents SDK, MCP, and A2A
  • Catch failures before your users do with an outer loop of evaluation gates, tracing, and feedback

Book Description

Somewhere right now, an agent demo is going beautifully. Six months later, the same agent is looping on a malformed invoice, accessing customer records it shouldn't, and burning a month's token budget in a week. Nobody can say why, because nobody can see inside it. This book shows you how to close the gap between a successful demo and a dependable production system. The model is rarely the whole problem. The engineering around it matters, and that engineering has a name: the harness. The loop is what the model does. The harness is what you build so the loop behaves. You'll learn how to build single-agent and multi-agent systems with the OpenAI Agents SDK, using planner, router, supervisor, and human-in-the-loop patterns. You'll connect enterprise tools through MCP and coordinate specialists over A2A. Then comes the work demos leave out: loops that end on purpose, evaluation gates that catch regressions, safeguards against prompt injection and memory poisoning, tracing that tells you what every step costs, and rollouts you can reverse. Drawing on a decade of production AI experience across pharma, banking, and healthcare, Mohsen Amiribesheli, PhD, shows you why architecture matters beyond model choice. By the end of this book, you'll be able to ship agents you can defend in front of your own review board. *Email sign-up and proof of purchase required

What you will learn

  • Engineer the harness that makes a capable model dependable
  • Apply planner, router, and supervisor patterns with the OpenAI Agents SDK
  • Connect tools and coordinate agents through MCP and A2A
  • Take control of the agent loop, from budgets to crash recovery
  • Engineer memory tiers that keep agents coherent and affordable
  • Close the outer loop with evaluation harnesses and release gates
  • Defend agents against prompt injection and memory poisoning
  • Trace agent decisions, control token spend, and deploy safely

Who this book is for

This book is for AI engineers, application developers, solution architects, technical leads, and engineering managers who need to take AI agents beyond the prototype stage and into production. You should be comfortable reading Python and know your way around APIs, prompting, and tool calling. No prior agent framework experience is required.

PDF ISBN: 978-1-80760-470-7
Publisher: Packt Publishing Limited
Copyright owner: © 2026 Packt Publishing Limited
Publication date: 2026
Language: English
Pages: 600
BISAC subjects:
COM014000
Thema subjects:
UY

People also read