AI Handbook
The most practical parts
What to decide, what to ask, what to write and what to measure.
Before You Start
The most practical parts: what to decide, what to ask, what to write and what to measure. One slide per topic.
What This Handbook Covers
Twenty-one topics, each on one slide: the claim that matters, the figure that shows it, and the line to act on.
Use it to
- Decide whether a system is worth building, and in which shape
- Write prompts that can be checked rather than hoped about
- Put the controls in before the first pilot, not after the incident
- Measure what the system does on your own material
- Read the published evidence with the right amount of doubt
How to read it
- Research a third-party fact, with its source and date
- Analysis our analysis: what the facts mean for a decision
- Product names, versions and prices are as of August 2026 and move fast; recheck them before a decision. The way of thinking lasts longer than the names.
Start with the journeys if you have one job in mind. Start with Four Questions if you have a project in mind.
Journeys
Five paths through this handbook, each for one job. Follow the stops in order.
Deciding Whether to Build
For the first meeting about a new AI project.
- The first question stops a project that should not be built yet.
- Four gates, most of them settled in a meeting.
- Move right only when the task cannot be listed in advance.
- How good does yours have to be.
- The model is the only part you rent.
Writing Prompts That Hold
For anyone writing or reviewing a system prompt.
- From asking to constraining.
- Most of the improvement is deletion.
- Security is bought with architecture, not instructions.
- The test that tells you whether the prompt change helped.
Keeping a System Honest after Launch
For the owner of a system that is already live.
- Known answers, and the cases that should come back empty.
- Three scales, two causes, four remedies.
- Each is invisible without a measurement set up in advance.
- Measure the reviewer, not only the system.
- The tool definitions are most of the bill.
Choosing a Model and Paying for It
For a team comparing models, vendors or architectures.
- The nesting is real; the problem domains are not layers.
- Axes tell you what kind of thing it is, never which is better.
- RAG is not the automatic answer.
- Three types, three ways of failing.
- Count the tokens honestly.
What the Evidence Says
For a proposal, a business case or a board question.
- Ten uses with a published outcome.
- Five, and none in the back office.
- The longest column, and the least discussed.
- What a register of proof has to carry.
- The same conclusion, reached from the structure.
Overview and Landscape
Who decides the next step, and what each step of delegation costs.
1.1Levels of Autonomy
Every step to the right buys flexibility and pays for it in predictability. That is not a trade you can win, but one you choose deliberately, case by case. Move right only when the task genuinely cannot be listed in advance.
Models
What kind of thing a model is, and where its facts should come from.
2.1AI, ML, Deep Learning
AI contains machine learning, which contains deep learning, which contains foundation models. Computer vision, NLP and speech are not layers in that nest: they are questions, and each can be answered from any layer. What changed since 2021 is the loop: changing behaviour used to mean retraining for weeks; now it can mean editing one sentence.
Analysis "What problem is this" and "what technique is this" are two different questions. Most technical meetings that go nowhere are two people answering different ones.
2.2The Model Map
Real models are spread across the whole map. Frontier models all sit at almost the same coordinates, and what separates them is on none of these axes. The axes tell you what kind of thing something is. They never tell you which is better.
Analysis To choose between frontier models, run your own evaluation, and name the version and the configuration: an evaluation that does not is an anecdote. For data that must stay inside the perimeter, the open weight column is not the budget option; it is the only option.
2.3Grounding Options
Treating RAG as the automatic answer is the most common architecture mistake in this area. For anything authoritative and changing (prices, stock, ticket status, balances), a direct call to the system is more correct than the best retrieval over a stale index.
Prompting
From asking to constraining, and the controls a prompt cannot provide.
3.1Prompt Engineering
The direction of travel is from asking to constraining. A request for JSON becomes a schema, a rule about answering from context becomes a citation that has to resolve, and a ban on sending becomes the absence of a sending tool. What is left in prose is the part that genuinely cannot be structured, and it is short.
3.2Three System Prompts
The wrong versions are what accumulates when a prompt is edited by whoever last saw a failure. Most of the improvement is deletion, and the rest is moving a line into a schema, a citation, or the absence of a tool.
| In the first version | Where it went |
|---|---|
| "You are a highly experienced senior accounting professional" | Gone. A scope sentence replaced it, and the scope is testable. |
| "Never make up information" | A citation after every figure, checked by resolving it. |
| "If you don't know, use your best judgement" | One exact string, "Not found in the indexed documents.", which a test can assert on. |
| "Never send emails without permission" | Not in the prompt at all: there is no send_email tool on that side. |
| "Make sure the JSON is valid" | A schema, constrained at decode time. The arithmetic check (subtotal + VAT = total) stays in your code. |
| "Keep working until the task is complete" | Scope, a stopping rule, a budget of six queries, an escalation, a boundary. |
Analysis The deletion test: for every line, ask what would break if it were removed, and whether a test would catch it. A line whose removal breaks nothing measurable is not load-bearing.
3.3Security Controls
Security for these systems is bought with architecture, not instructions, and the architecture is cheaper than it sounds. The first four controls need no code. The one that matters most is a line between tools that read and tools that write.
Systems
What a request really costs, and the one sentence the rest of this handbook works out.
4.1Token Economics
The bill is a token count times a rate. Count honestly and one thing becomes obvious: with several tool servers connected, the tool definitions are around eighty per cent of the cost and the answer is about three per cent. Almost every cost conversation is about the three per cent.
4.2The Argument
The model is the only part of the system you rent, and every decision that survives a model change lives in the five layers around it.
Next step: fill in the six slots of one existing system on paper. An hour usually turns up two empty boxes, and an empty box is a decision made by nobody.
Agents
Three system types, the person at the gate, and when not to build a loop.
5.1Predictive, Generative, Agentic
Predictive AI learns from labelled history and fails by drifting quietly. Generative AI predicts the next token and fails by being fluent. Agentic AI chooses its own next step and fails by compounding.
Remade from "3 AI System Types", Data Driven Insights. Added: the prompt-and-retrieve path in the generative band and the return loop in the agentic band. A fan-out with no way back is not an agent.
Research Tokens per answer: one agent uses about four times a chat turn, a multi-agent system roughly fifteen times, measured on Anthropic's own instrumented system. (anthropic.com, June 2025)
5.2Human in the Loop
An approval queue degrades predictably: the reviewer learns that almost everything is fine, starts approving on the shape of the item rather than its contents, and the gate becomes a delay that still appears on the diagram as a control. Measure the reviewer, not only the system.
5.3Workflow or Agent
Gate one removes most candidates. Gate two decides whether a loop can improve at all. Gates three and four decide whether you can afford it working, which is a different question from whether it works.
Evaluation
The file that makes every other change safe.
6.1Golden Dataset
An evaluation set is a file of questions with known answers, plus the cases you hope come back empty. The second half is what makes it useful: a set of only answerable questions cannot tell you the system has started answering things it should refuse.
Failure Modes
The failures that look like success until someone measures them.
7.1Hallucination
"AI is getting worse because of AI content" is a model collapse claim, and the evidence does not support it. "Our search results are getting worse" is a slop claim, and the evidence does support it. Same instinct, different mechanism, different response.
Analysis The design question is never "how do we stop hallucination" but "where between answering everything and refusing when unsure does our use case sit, and who decides". For a report to a regulator you want high refusal; for internal brainstorming you do not. Choose that point deliberately, at design time.
7.2Four Quiet Failures
Injection is the failure people plan for. These four arrive quietly: behaviour that moves with no version change, a model that agrees with you where you cannot check, a score that rises without capability rising, and an agent holding permissions nobody chose. Each is invisible without a measurement set up in advance.
Before You Build
The order of four questions, and what the first project should be.
8.1Four Questions
The order is what matters. The first question stops a project that should not be built yet. The second decides the architecture, the third the vendor, the fourth the cost and the risk. Reverse the order and you are picking a tool first and looking for a problem that fits it.
Our framing, not an industry standard. Before the sheet, ask what the current process costs, so improvement can be measured. A first project worth starting with: take the PO number out of incoming email, match it against the system, flag the ones that do not match.
Governance and Operations
What separates a system that works from one that keeps working.
9.1The Canvas: How Good Does Yours Have to Be
There is no published maturity model for these systems, which is why "production-ready" is an assertion rather than a claim anyone can check. These tiers are our proposal; the instruments below them are real, shown where each becomes relevant.
Analysis Governance and operations are not an agentic concern but an AI concern: they apply to every shape of system, including a predictive one. Agency is the expensive part, and "let's make it agentic" is more work than the phrase suggests.
Evidence
What has a published measurement behind it, and what did not hold.
10.1Generative, Measured
Ten uses of generative AI have a published measurement of an outcome behind them. Adoption surveys measure enthusiasm and vendor case studies measure the vendor; neither is here.
| Where | What was measured | Who, and how many |
|---|---|---|
| Customer support | +15.2% resolutions an hour; newest agents about +35%, past twelve months no significant gain | 5,172 agents, 3 million chats |
| Professional writing | Time down about 37%, quality up 0.45 SD | 444 professionals |
| Consulting tasks | +12.2% tasks, 25.1% faster, quality up | 758 consultants |
| Code completion | +26.08% tasks completed (SE 10.3) | 4,867 developers, three firms |
| Code migration | 80% of landed code AI-authored, 50% less time | 500 million line codebase |
| Clinical documentation | Burnout 51.9% to 38.8% in thirty days | 263 clinicians |
| Tutoring | Learning gains over double active learning | 194 students |
| Coaching the tutor | +4 points mastery, +9 for lower-rated tutors | 700 tutors, 1,000 students |
| Classroom, low resource | +0.31 SD overall | Nigeria, six weeks |
| Contract review | Matches or exceeds human issue spotting; cost figure is the vendor's | vs junior lawyers |
Analysis The least experienced gain most and the most experienced least or nothing. A deployment that measures its average will miss it. Expert maintainers on their own code measured 19 to 20 per cent slower; the follow-up broke down. Quote both halves.
10.2Agentic, Measured
Five uses of agentic AI have a published measurement behind them, clustered in research labs optimising their own systems and in security. Not one is an enterprise back-office deployment of the kind agentic AI is sold as.
| Where | What was measured |
|---|---|
| Algorithm and infrastructure optimisation | A 4x4 complex matrix product in 48 multiplications, first gain on Strassen in 56 years; 30% fewer variant-detection errors |
| Hypotheses validated in a laboratory | Proposed drugs tested in vitro, IC50 as low as 2 nM |
| Finding vulnerabilities | 18 real vulnerabilities found, 11 patched; average patch 45 minutes at about 152 dollars |
| Fixing vulnerabilities | Plausible patches for 61 to 72% of historical cases |
| Large-scale code migration | A loop with tooling, not a person accepting completions |
Research curl closed its bug bounty on 31 January 2026: confirmed reports fell below 5 per cent in 2025, from above 15 per cent, under AI-generated submissions. Same technology, same targets as the security rows; the difference is whether somebody validates before filing.
10.3Not Generative, Measured
The longest column, and the one the market discusses least: randomised trials on a hundred thousand people, systems in more than eighty countries. Three of the ten predate the current conversation about AI.
| Where | What was measured |
|---|---|
| Breast cancer screening | 81% of cancers detected against 74%; workload down 44% at interim |
| Diabetic retinopathy | Pooled 0.93 sensitivity, 0.90 specificity, 887,244 examinations |
| Stroke triage | Door to intervention odds ratio 0.30 |
| Weather forecasting | Up to 20% better cyclone tracks, about 1,000 times less energy |
| Flood forecasting | Extreme events five days ahead, over 80 countries |
| Protein structure | 200 million structures, 3 million researchers |
| Fusion plasma control | All 19 magnetic coils controlled by one network |
| Retail demand | Winner beat the statistical benchmark by 22.4%; every leading entry gradient boosting |
| Cooling control | 9 and 13% energy saved at two facilities |
| Oil palm yield | R squared 0.65 on 538 samples from 49 plots |
Analysis R squared 0.65 explains about two thirds of the variation. A proposal that promises yield prediction without saying so promises more than the published work shows.
10.4Evidence That Failed
Four measurements that did not hold, or held and said something nobody wanted to hear. A register of what is proven is only as good as its willingness to carry these.
Analysis The settled column (clean pages, simple SQL, routine code) is the rented layer and gets cheaper. The still-hard column (degraded pages, your own warehouse, your own corpus, injection) is where the work, the risk and the money are.
AI Handbook
Product names and versions as of August 2026. Recheck before a decision.