Self-Improving Agents

you own this product
How to engineer adaptive harnesses
  • MEAP began September 2026
  • Last updated May 2026
  • Publication in Summer 2027 (estimated)
  • ISBN 9781633433182
  • 375 pages (estimated)
  • printed in black & white
resources: Book forum

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
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.
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Self-Improving Agents ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Self-Improving Agents ebook for free