Manning Early Access Program (MEAP)
Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
It's expensive and time consuming to change, tune, and retrain an LLM to modify an agent’s behavior. Self-Improving Agents: How to engineer adaptive agent harnesses shows you how to design AI agents that measurably get better in production without fine-tuning, weight updates, or waiting for the next model release. Written by Micheal Lanham, author of AI Agents in Action, this hands-on book equips you with techniques to transform your agent’s harness--context, memory, metacognition, tools, and code-- into a measured, versioned, auditable improvement loop that adapts and improves as it runs.
As you go, you’ll build HelixAgent, a RAG general-knowledge agent that starts static and gains a new self-improvement layer in every chapter. By the final chapter, your agent will ship with drift detection, rollout controls, and a reward-hacking runbook. Along the way, you’ll build a portfolio of self-improving agents: a data-analyst agent scored by exact ground truth, a helpdesk agent with four-tier memory that learns from its own traffic, a Karpathy-style hill-climbing research agent, and coding agents whose skill files, tool descriptions, and planner code become the artifact under search.
Throughout, the Helix Observatory web dashboard lets you replay lineage trees, diff candidate contexts, inspect judge verdicts, and stream a live search as it runs. You’ll gradually work your way up to HyperAgents—a cutting-edge research pattern that improves the agent and also the harness self-modification process. By the time you’re done, you’ll have agents running under one improvement loop, applied layer by layer up the agent harness, held to production standards of auditability, human gates, and honest costs.
what's inside
A complete self-improvement loop for agent harnesses
Trustworthy measurements and de-biased LLM judges
Online memory improvement from live traffic
Tournament evaluation in CI/CD and a reward-hacking runbook
ContrastiveJudge, an original differential signal for any search method
about the reader
For intermediate Python developers building or operating LLM agents in production.
about the author
Micheal Lanham is a software and technology innovator with over 20 years of industry experience. He has authored books on deep learning, including Manning’s Evolutionary Deep Learning, and AI Agents in Action.
Introductory offer Save 50% for a limited time!
eBook
pdf, ePub, online
$55.99
Introductory offer Save 50% for a limited time!
print
includes eBook
$69.99
with subscription
free or 50% off
$24.99
pro $24.99 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!