Get Free Shipping on orders over $0
Harness Engineering : Building, Evaluating, and Operating Reliable AI Agents - Brandon Kaplan

Harness Engineering

Building, Evaluating, and Operating Reliable AI Agents

By: Brandon Kaplan

Paperback | 9 September 2026

At a Glance

Paperback


RRP $53.89

$50.75

or 4 interest-free payments of $12.69 with

 or 

Ships in 5 to 7 business days

An AI model can propose an action, but the software around it determines what happens next. Harness Engineering explains how to build that surrounding system: the execution loop, tool interfaces, context management, permission boundaries, evaluation, and operational controls that make agent behavior inspectable and manageable.

Written for experienced software engineers, the book develops these ideas through a coding-agent running example and focused Python companions. It begins with a small execution loop and an independent evaluator, then introduces controlled edits, repository navigation, checkpoints, retries, and recovery. Dedicated security chapters examine prompt injection, exact-action approval, defense testing, and containment. Later chapters cover tracing, comparative evaluation, resource management, multi-agent coordination, protocol integration, durable service operation, and state evolution.

Code examples, diagrams, failure scenarios, exercises, and solutions explain how the mechanisms work and where their guarantees end. A free companion repository provides runnable code, tests, and retained example results. The emphasis is on understanding engineering decisions well enough to build and evaluate your own harness.

More in Software Engineering

The Essence of Software Engineering - Cersei Page
Design Patterns : Elements of Reusable Object-Oriented Software - Erich Gamma
Git : Pocket Guide : A Working Introduction - Richard Silverman

RRP $47.75

$26.75

44%
OFF
Refactoring 2ed : Improving the Design of Existing Code - Martin Fowler
Coding All-in-One For Dummies : 2nd Edition - Chris Minnick

RRP $69.95

$50.75

27%
OFF
Developing Graphics Frameworks with Java and OpenGL - Lee Stemkoski
Hacking For Dummies : For Dummies (Computer/Tech) - Kevin Beaver

RRP $49.95

$34.99

30%
OFF
Building Microservices : Designing Fine-Grained Systems 2nd Edition - Sam Newman
C# 12 Pocket Reference : Instant Help for C# 12 Programmers - Joseph Albahari
C# 12 in a Nutshell : The Definitive Reference - Joseph Albahari

RRP $133.00

$64.75

51%
OFF
Learning Algorithms : A Programmer's Guide to Writing Better Code - George Heineman
Go Cookbook : Expert Solutions for Commonly Needed Go Tasks - Sau Sheong Chang
The Engineering Leader : Strategies for Scaling Teams and Yourself - Cate Huston