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...

AI literacy for both ends of a software career: the experienced engineer and the one just starting.
Bought separately
$39.00
Minimum price
$19.00
$35.00
About the Bundle
Two books with one spine, written for opposite ends of a career.
*The Sovereign Engineer: AI Literacy for Software Professionals* is for the experienced engineer who has watched AI tools arrive and started to wonder whether twenty years of craft still count. It hands back the sovereignty that panic half-surrendered, and shows how to make AI amplify your judgement rather than replace it.
*The Sovereign Apprentice* is for the engineer at the start, who got the most powerful tools any beginner has ever held before building anything worth amplifying. It walks you down from a false summit and up to competence you can defend.
The same spine runs through both: Epictetus, the six levels, and the line between what is yours and what is not. Read together, they give a senior engineer and a junior one a shared language for working with AI, so they stop talking past each other.
About the Books
From Panic to Partnership — A Practical Framework for Human-AI Collaboration
You have installed the plugins. You have subscribed to the newsletters. You have read the threads, watched the demos, run the prompt engineering courses, and tried, with varying degrees of success, to integrate AI into your daily work.
And yet something is wrong.
The fast teams have got faster, and the broken teams have got more broken — at scale, at speed, with confidence. Senior engineers are quietly losing trust in code they did not write and cannot fully audit. Reviews are getting shorter while pull requests are getting longer. Tests pass that should not pass. Architecture drifts in directions nobody chose. The 2025 DORA report named what many of us already suspected: AI is an amplifier. It magnifies whatever engineering discipline — or lack of it — already exists.
This book is about what to do about that.
The quality of your AI-assisted work depends almost entirely on the quality of the collaboration space you design. Not on the model. Not on the temperature setting. Not on whether you say "please" in your prompts. On the creative, collective habitat in which human and artificial intelligence meet.
Most of the literature on AI for engineers stops at prompting. Prompting is one micro-skill at one level, and if you stay there, you are leaving most of the value on the table. The real leverage comes from designing the environment where collaboration happens: the documents that encode your team's accumulated wisdom, the architectural constraints that give AI the context it cannot intuit, the verification loops that catch drift before it compounds, the specifications that define intent precisely enough for a different kind of intelligence to act on.
This is not prompt engineering. It is habitat engineering — and it is the discipline that separates the engineers who thrive over the next decade from the ones who drown in their own AI-generated code.
A professional development framework for human-AI collaboration, structured as a progression from awareness to sovereignty across six levels of literacy:
Each level represents a qualitative shift in how you think about the collaboration, not just a quantitative improvement in your tool use.
The book is structured in two acts. Act I — The Thesis lays out the intellectual framework: the amplifier thesis, the two kinds of intelligence, the six levels, the three disciplines, the collaboration space itself as an engineering artefact. A tech lead can read Act I alone and walk away with a complete strategic picture. Act II — The Practice is a hands-on journey through the levels using working tools: building a slop detector, writing a living harness, designing architectural guardrails, running parallel agent workflows, authoring executable specifications, choosing your cognitive substrate deliberately, and ultimately scaling the practice across teams and portfolios.
Interludes and field notes provide breathing room between the dense chapters. Exercises throughout demand that you stop and try the thing rather than nod along.
It is not a tool manual. Tools change quarterly. The disciplines in this framework have a longer shelf life because they are grounded in how intelligence — both human and artificial — actually works. Specific tools appear where they illustrate a concept; if you want a step-by-step guide to configuring your IDE plugin, this is the wrong book.
It is not an anti-AI polemic. I am not here to warn you about the dangers of artificial intelligence or to argue that real programmers do not use AI. That position is as useful as arguing that real navigators do not use charts.
It is not a prediction. Nobody knows what AI will be capable of in five years, and anyone who claims otherwise is selling something. What I can tell you is that the disciplines of designing good collaboration spaces, making implicit knowledge explicit, enforcing structural boundaries, and building feedback loops that catch drift are valuable regardless of what the next model can do. They were valuable before AI. They will be valuable after whatever comes next.
It does not promise a 10x productivity boost. It might, in specific contexts, for specific tasks, if you have designed the collaboration well. Or it might make you slightly faster at things that were not your bottleneck while introducing failure modes you have never encountered before. The honest answer depends on how seriously you take the design of the collaboration.
Individual contributors who want to get seriously good at AI collaboration. Not "I can get Copilot to write a function" good. Seriously good. The kind of good where you design a working environment that makes your AI collaborator consistently produce output worth keeping, where you can assess the quality of generated code with the same rigour you bring to a human colleague's pull request, and where you understand the cognitive asymmetry between your intelligence and the AI's well enough to leverage it deliberately.
Tech leads and engineering managers who need to assess and grow their team's AI collaboration capability. You have team members at wildly different comfort levels — some enthusiastic but undisciplined, some sceptical but potentially brilliant collaborators given a framework that respects their craft. You need a shared vocabulary, a progression model, and concrete practices you can introduce without it feeling like a mandate from management. The book includes calibrated assessment instruments at each level, designed to give you a picture of where your team actually is, not where they think they are or where you hope they are.
Platform engineers and architects thinking beyond personal productivity to organisational capability. The final act covers multi-repo orchestration, governance audit cycles, portfolio-level literacy assessment, and the platform-builder discipline that makes good AI collaboration a property of the system rather than the individual.
There is a philosophical thread running through this book that I should be upfront about, because it will surface in places you might not expect.
The Stoic tradition — particularly Epictetus — provides the ethical backbone. The core insight is ancient and urgently relevant: distinguish what is in your control from what is not. You do not control the existence of AI, its pace of development, or whether your organisation adopts it. You do control the quality of the collaboration space you design, the rigour of your verification practices, and the clarity of your professional judgment.
Richard Gabriel's concept of habitability, borrowed from Christopher Alexander's architecture, supplies the design backbone. Gabriel asked a question most software methodologies ignored: is this code a good place to live? Not "is it correct?", but can the people who must understand it, change it, and grow it over years do so with comfort and confidence? This book extends that question into the AI era. If code is a habitat for programmers, then the entire development environment — code, configuration, documentation, conventions, specifications, agents, and the feedback loops that bind them — is a habitat for the combined intelligence of humans and AI working together. The inhabitants have changed. The design question has deepened. The principle remains.
The closing chapter borrows from Marcus Aurelius and Epictetus a final practice: the enchiridion — a personal handbook of hard-won principles, written for yourself, revised against reality, passed forward. By the time you finish the book, you will have started writing yours.
A vocabulary precise enough to discuss AI collaboration with colleagues without arguing past each other. A six-level progression model you can locate yourself and your team on. Concrete practices for verification, harness engineering, specification-first development, parallel agent orchestration, and cost discipline. An assessment instrument calibrated against the framework. A philosophical posture that treats AI neither as saviour nor as threat, but as a powerful collaborator whose value depends entirely on the quality of the collaboration you design.
And — if you do the exercises rather than skim them — the beginning of a sovereign practice that survives whichever model is fashionable next quarter.
The engineers who thrive in the next decade will not be the ones who use the most AI or the least AI. They will be the ones who understand both kinds of intelligence well enough to design spaces where each contributes what it does best. They will be sovereign over their craft — not because they rejected AI, and not because they surrendered to it, but because they learned to be the architect of the collaboration rather than a passive consumer of its outputs.
That is what this book teaches. It is a progression. It requires practice. Some of it will be uncomfortable.
But the habitat is yours to design. Let's build it well.
From False Summit to Earned Competence — A Practical Regime for the Engineer Who Started at the Top
You arrived with the most powerful tools any beginner has ever held, and you got them before you built anything worth amplifying. You can summon an answer to almost any question in seconds, and the answers are good. They compile. They pass review. They look — to you, and to the people reviewing you — like the work of someone who knows what they are doing.
And yet something is wrong.
You cannot yet tell the difference between output you produced and output you merely received. You ship senior-looking work you could not defend, debug, or evolve if it broke. The senior engineer asks the machine what do I know that you don't? and has two decades of scar tissue to answer with. You ask the same question and meet a silence.
That silence is not a defect in you. It is the subject of this book.
The Thesis
The Sovereign Engineer, the companion to this volume, was written for a veteran with a craft to defend, waking at three in the morning afraid it no longer counts. You are the inverse of that reader. You have not lost a summit — you are standing on a false one, and it feels like having arrived.
The antagonist is not the machine. It is the hollow crown: a borrowed sovereignty you never earned, sitting a half-inch above your real understanding, not quite touching. This book is the slow, deliberate work of growing a head the crown can actually rest on.
That work runs against the tool's pull. More than once, this book will ask you to take a task the machine could finish in a minute and finish it yourself by hand — slower, clumsier, with mistakes you have to feel. To write down the why before you let anything write the what. To treat fluent, confident, correct-looking answers as suspects rather than gifts.
▎ The discomfort is not a side effect of the method. It is the method.
A machine can hand you the output of the work — a passing test, a clean migration, a plausible design. It cannot hand you the activity that produces understanding, because understanding only forms in the doing. This book is a defence of that difference.
What This Book Is
A formation regime, not a diagnosis you read once. It divides into two acts and climbs the same six-level ladder as its companion — from the Aware to the Sovereign Engineer — but from the bottom, where the view is very different.
- Act I — Think is the diagnosis: five short, opinionated chapters that make you feel a danger you currently experience as success. From the false summit, through the empty cellar, to the single inversion the whole regime turns on — you stop asking is this correct? and start asking how would I prove this wrong?
- Act II — Work is the regime: six hands-on chapters that rebuild, rung by rung, the craft the six levels quietly assume you already have — including the one the tool robs you of most silently, the power to make the first move when nothing has been served. Deliberate friction, falsification reps, a harness that hints instead of answering, specifications that build the theory in your head instead of the machine's.
Between the chapters, interludes set in a café called Le Bon Mot, and field notes written as if from a campfire on a long walk. Not filler — room for an idea to settle before the next one arrives.
The exercises and the pause-before-you-answer questions are gym equipment, not decoration. Reading an exercise without doing it is a recipe read without cooking.
What This Book Is Not
- Not a tool manual. Tools change quarterly; these disciplines have a longer shelf life because they are grounded in how understanding is actually built. The volatile, tool-specific material lives in The Sovereign Engineer.
- Not an anti-AI polemic. The destination is not to throw the tool away. It is to become free in your judgment about it — and then hand that freedom to the greener engineer who arrives after you.
- Not a shortcut. It will feel like going backwards, especially if you have been rewarded, right up until now, for going fast.
- Not a speed promise. The tool already promised you speed, and the promise is real — it is also the promise that can hollow you out if you accept it before you have anything underneath.
Who It Is For
The new engineer — in your first years, a final-year student about to arrive, or a bootcamp graduate already shipping code that works. You can produce senior-looking output and cannot yet feel where it goes hollow. This book teaches you to trust the unease that tells you so, and to build the frame beneath it.
The people who hand you this book — the engineering managers, bootcamp leads, faculty, and senior engineers who sit one chair over and watch a junior produce senior-looking work without being able to say why it worries them. This book is a shared language: it names the thing, and it gives the people you are responsible for a way to climb out that does not depend on you hovering over their shoulder forever.
The Philosophical Spine
The patron is Epictetus, and for a specific reason: his biography is the arc you are about to walk. Born a slave, he won his freedom and became a teacher of freedom. You begin this book owned by a tool — dependent on it, deferring to it, crowned by its fluency. The destination is the same arc: borrowed condition, to earned mastery, to passing it on.
Epictetus drew one line through everything: some things are in your control, and some are not. You did not control arriving late to the craft, that the tool exists, or how fast it improves. What is yours is narrower and far more powerful — your judgment, your intent, the discipline you bring to verifying what you are told. The Stoics called that faculty prohairesis. When you control almost nothing else, everything concentrates onto it. For an apprentice, that is not a consolation — it is the entire job.
The Epictetan Test closes every chapter — what is in my control here? — and each chapter leaves behind one Enchiridion entry: a maxim, revised against reality, added to a personal handbook you carry forward and hand on.
What You Will Walk Away With
A vocabulary precise enough to name the hollowness instead of only sensing it. A cellar — a lived reference frame — filled a season at a time rather than summoned. A verification instinct that treats confident output as a suspect. A regime of deliberate friction, falsification, why-written-down, and specification-first practice that leaves you in a different professional position from the engineer beside you who only ever clicked accept. Not faster. Sovereign — able to defend, debug, and evolve what carries your name, because the substance of it is actually yours.
An Invitation
This is a community book, and it will stay one. It is published pay-what-you-can, in perpetuity — you set the price, and zero is a price. If you are a student, between jobs, or simply not in a position to pay right now, take it, read it, and owe nothing. The whole argument of these pages is that the substance has to be yours; it would be strange to put a gate in front of the door. If it helps you and you can spare something later, pay then — or pass it to the greener engineer who arrives after you.
The crown you are wearing is borrowed. The question this book asks, on every page, is whether you will earn the head it sits on.
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.