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.
See full terms...
This book is no longer available for sale.
The Definitive Governance Framework
Stop treating AI like a deterministic compiler and wondering why your codebase is degrading into hallucinated spaghetti code. Agentic Software Engineering provides the architecture, constraints, and rigorous governance needed to safely transition your team from manual typists to AI Orchestrators.
About the Book
Stop fighting AI hallucinations. Start engineering with them.
We were promised a future where we could simply type a natural language prompt and perfect, production-ready software would emerge. But for anyone who has tried to use Large Language Models (LLMs) to build complex enterprise applications, the reality is starkly different: AI hallucinates architectures, forgets security protocols, ignores existing utility functions, and spins into infinite loops of technical debt.
This is the AI Coding Crisis. The cause isn't bad models; the cause is a lack of engineering governance.
Agentic Software Engineering is your blueprint for regaining control. Drawing on thirty years of industry experience across every major technological paradigm shift, Hugo L. Villalobos reveals why treating an AI like a compiler is a fundamental mistake. Instead, this handbook teaches you how to treat AI like the non-deterministic, probabilistic engine it truly is.
In this concise, no-nonsense guide, you will learn how to:
The narrative that AI is here to "replace" developers fundamentally misunderstands the nature of software creation. Writing syntax has always been the easiest part of our job; engineering systems is the true challenge.
This is not a book about writing better prompts. This is a book about building better systems. Elevate yourself from a manual typist to a true Orchestrator of information, and harness the speed of AI without sacrificing the security, maintainability, and structural integrity of your enterprise software.
The age of the "God Agent" magic trick is over. The era of the Governed AI has begun.
About the Author
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.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
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.)
Learn more about writing on Leanpub
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
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.