Free Shipping on Orders of $75 or more.

Harness Engineering: Building, Evaluating, and Operating Reliable AI Agents - Hardcover

Harness Engineering: Building, Evaluating, and Operating Reliable AI Agents - Hardcover

Regular price $48.58
Sale price $48.58 Regular price
Sale Sold out
Unit price
/per 
This is a pre order item. We will ship it when it comes in stock.
Lock Secure Transaction

by Brandon Kaplan (Author)

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.

Number of Pages: 312
Dimensions: 0.75 x 10 x 7 IN
Publication Date: September 09, 2026