
Opis
Designing reliable agentic AI systems requires more than writing the perfect prompt. The central challenge is designing the control system around a probabilistic worker: what it may do, what evidence proves completion, when it may retry, how much it may spend, what state must persist, and when a human must take over. This book provides a practical framework for addressing these challenges.Loop Engineering for AI Agents starts by defining loop engineering and separating it from prompt, context, and harness engineering. You'll examine how persistent AI loops change team structures, governance, management, and the economics of software production. The practical sections turn these principles into implementation through the Ralph fresh-context pattern, local loop architecture, protected verification, durable plans, retry and recovery policies, observability, prompt-injection boundaries, and human escalation.
Written by Enrico Papalini, who has over 25 years of software engineering experience, the book provides a signal-first framework for adding only the mechanisms that justify their cost.
By the end, you'll understand how to delegate autonomy through explicit completion contracts, independent evidence, bounded resources, authorization policies, reversible state transitions, and accountable human ownership.