Leanpub Header

Skip to main content

Agentic Governance

A cross-domain methodology for governing AI agents: four pillars, implementation patterns, and the missing layer between capability and control.

Minimum price

$28.99

$38.99

You pay

$38.99

Author earns

$31.19
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
PDF
EPUB
WEB
About

About

About the Book

About this book

Every practitioner hits the same moment with AI agents: the work starts fast and fluent—then something drifts. In software we call it hallucination; in analytics, drift; in transformation, misalignment. Agentic Governance argues those are not three separate problems. They are one: entropy—and entropy cannot be patched away with the next model. It has to be governed.

This book presents a methodology, not a vendor playbook. It centers on four pillars—specification, guardrails, human-in-the-loop, and validation—plus two cross-cutting ideas: entropy is fractal (the same failure logic from one completion to whole systems), and atomicity (without named units of work, traceability and rollback collapse into theater). You get principles, design implications, and evaluation habits that apply whether you ship code, run analytics, or lead change.

The arc runs from foundations through the pillars to implementation: orchestrators and heuristics, multi-agent topology and cognitive load, then organizational scale—ownership, policy, metrics, lifecycle. An appendix maps concepts to technical elements (identifiers, contracts, workflow states, checks) without tying the book to a single product.

Agentic Governance is for anyone using agents on consequential work who already suspects that raw autonomy is not enough. The agents are not the risk. Ungoverned agents are.

Share this book

Author

About the Author

Hugo L. Villalobos

Hugo L. Villalobos has been at the forefront of the software engineering industry for over thirty years, navigating and driving teams through every major technological paradigm shift—from Mainframes and Client-Server architectures to the Web, the Cloud, and now, Agentic Software.

His journey began in college, working for a large state corporation powered by IBM mainframes and COBOL. Even before writing his first line of code, he had the invaluable opportunity to study massive codebases and witness the complete software engineering lifecycle in action.

In his twenties, during the rise of the client-server paradigm, Hugo left college to become an entrepreneur. His venture secured major contracts from the outset, including building the budget management system for the Mexican state oil company. Starting as a solo developer using Gupta Corporation's SQLWindows, he quickly identified a pattern that would define his career: the need to structure and automate software generation.

By leveraging the TeamWindows feature, he built a custom framework that standardized the codebase. When his company hired new programmers, they didn't need to master the entire language upfront; they only needed to learn the framework to become immediately productive. The resulting code was remarkably homogeneous. A decade later—long after SQLWindows had been replaced by platforms like Oracle, Progress, and .NET—he observed that the exact same patterns his framework had enforced had evolved into a permanent "Operations Culture" within his teams.

As his company took on more projects, the bottleneck shifted to project management. Unmanaged scopes led to late and over-budget deliveries. Recognizing the gap, Hugo rigorously studied the discipline, earning his PMP and Scrum Master certifications. He instituted strict practices to control project scope, effort, time, and budget, ensuring that his projects never derailed again.

Shifting his focus to strategic action and market expansion, he led his organization to successfully achieve a CMMI Level 2 appraisal. At its peak, his enterprise employed 600 engineers. Its core strength remained that foundational Operations Culture, enabling the company to scale, spin off, and execute with perfectly controlled software engineering processes.

Today, as the industry faces the crisis of AI hallucination and unmanaged code generation, Hugo applies those same principles of structure, governance, and architectural rigor to the world of Large Language Models. Agentic Software Engineering is the culmination of three decades of hard-won lessons in how to govern the entropy of software creation, regardless of whether the code is written by a human or a machine.

Contents

Table of Contents

Copyright

Introduction: The Same River, Three Banks

Chapter 1: Entropy and the Case for Governance

  1. Three dominant beliefs — and how they fail
  2. One river
  3. What governance is — and is not
  4. A preview of the pillars
  5. If you treat governance as optional

Chapter 2: Fractal Entropy

  1. What “fractal” means here
  2. Local plausibility, global failure
  3. Same pillars, different altitudes
  4. Implications for design

Chapter 3: Atomicity: The Foundation of Control

  1. Why atomicity matters
  2. What counts as atomic is domain-specific
  3. Coarse vs. fine atoms
  4. Atomicity and “fractal” entropy
  5. Red flags that atomicity is missing
  6. Closing the gap

Chapter 4: Specification

  1. What a followable specification contains
  2. Ambiguity is not free
  3. Specifications and tools
  4. Living documents
  5. Relationship to the other pillars
  6. A practical habit

Chapter 5: Guardrails

  1. Why guardrails exist
  2. Forms guardrails take
  3. Creative guardrails and safety guardrails
  4. Guardrails under pressure
  5. Interaction with specification
  6. Composition across steps
  7. The human side

Chapter 6: Human-in-the-Loop

  1. What humans are for
  2. Where to put the loop
  3. Design anti-patterns
  4. Skills, escalation, and clarity of role
  5. Relationship to other pillars
  6. Dignity of the role

Chapter 7: Validation

  1. Validation vs. hope
  2. Kinds of validation
  3. Closing the entropy loop
  4. Validation and fractal scale
  5. Avoiding validation theater
  6. Relationship to the other pillars
  7. The mindset

Chapter 8: Implementation: Orchestrators and Heuristics

  1. What an orchestrator is responsible for
  2. Patterns you will see in the wild
  3. Heuristics: policy as durable rules
  4. Handoff artifacts, not tacit state
  5. Observability is part of governance
  6. Relationship to the pillars

Chapter 9: Multi-Agent Systems and Cognitive Load

  1. Cognitive load on the model
  2. Cognitive load on humans
  3. Topology and failure modes
  4. Same pillars, more moving parts
  5. Bridge to organizational scale

Chapter 10: Governing at Scale

  1. What changes at scale
  2. From technical graphs to org charts
  3. Organizational scale
  4. Metrics that matter
  5. Evolution
  6. One methodology, many surfaces

Chapter 11: Conclusion - Govern the Agents

  1. What to do next
  2. Mindset
  3. Ethical posture — not only architecture

Appendix: From Concepts to Technical Elements

  1. A reader’s map
  2. One implementation sentence
  3. Where the book develops each layer

About the Author

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub