For most of my career, writing code was the expensive part of building software. We hired for it, planned around it and measured it. That assumption broke sometime in the last two years.
Today an agent can read a repository, change forty files and open a pull request before I finish my coffee. Google says three quarters of its new code is now generated by AI and approved by engineers. Nine in ten professional developers use a coding agent every week. Code is no longer scarce.
Something else is. When I talk to engineering leaders, the question has changed from "how do we write this faster?" to "how do we know this is right?" Review queues are longer. Security teams are nervous. Junior engineers are harder to place. The bill for tokens is growing faster than anyone planned.
This book is my attempt to describe that shift honestly. It pulls together more than sixty sources, from randomised trials to earnings calls, and keeps them apart so you can weigh them yourself. Where I give my own view, I say so.
My argument is simple. The next advantage in software engineering will not come from generating more code. It will come from being able to trust what gets generated, and from building the systems, skills and habits that earn that trust.
I hope it helps you decide where to put your next dollar and your next hire.
Every number carries its evidence class. A company's statement about its own product is not a controlled study. A survey tells you what people say, not what they ship. A forecast is a forecast. I keep them apart on purpose, because the most common mistake in this debate is to stack a vendor headline on a survey and call it a trend.
of new code at Google is AI-generated and approved by engineers
of professional developers use AI coding agents at least weekly; 68% daily
pull requests on GitHub now involves an AI agent
of AI code-generation tasks produce secure code, barely moved as models improved
of test-passing agent pull requests would not be merged by maintainers
employment of developers aged 22 to 25 since the late-2022 peak
What changes at each step is the size of the thing you hand over. A suggestion hands over a line. A task agent hands over a ticket. A workflow hands over a process. A decision model hands over a judgement. The bigger the handover, the more the system around it has to do.
Anthropic's distinction between workflows and agents is the one worth keeping. In a workflow, the path is written in code. In an agent, the model chooses its own path and its own tools. Most real systems mix the two, and the mix is a design decision, not a product feature.
A useful test for any new tool is to ask what it takes off your plate and what it puts back. An agent that writes a feature in ten minutes but needs an hour of careful review has not saved you fifty minutes. It has moved them.
The unit of work you hand over keeps getting bigger. So does what you need to check it.
| Tool | Family | Launched | Signal |
|---|---|---|---|
| GitHub Copilot | IDE, cloud agent, CLI | 2021 | 50 million users, July 2026 vendor |
| Claude Code | CLI agent | 2025 | Used at work by 39% of developers, up from 18% in January, Aug 2026 survey |
| Cursor | AI-native IDE | 2023 | Bought by SpaceX for $60B in stock, closed Aug 2026 press |
| OpenAI Codex | CLI and cloud agent | 2025 | More than 5 million weekly users, June 2026 vendor |
| Antigravity, Gemini CLI, Jules | 2025 | Antigravity above 2.4 million weekly users vendor | |
| Devin | Autonomous engineer | 2024 | Cognition passed $1B run-rate, Sep 2026, valued at $48B vendor |
| Kiro | Spec-driven IDE and CLI | 2025 | Replaces Amazon Q Developer plugins by April 2027 vendor |
| Open source | OpenCode, OpenHands, Cline, Aider | 2023-25 | OpenCode at 212,000 GitHub stars measured |
Claude Code reached a $1B revenue run-rate six months after public launch. Cursor and Cognition crossed the same line. I could not find a faster-growing developer tool.
Google paid a reported $2.4B to license Windsurf and hire its leaders. Anthropic bought the Bun runtime. SpaceX bought Cursor. Model makers want the place developers work, and tool makers want a model.
Claude Code went from 18% to 39% workplace use in six months. Over the year Copilot fell from 29% to 21%, and Cursor from 18% to 12% since January. Keep your context, rules and checks portable.
"Fully give in to the vibes, embrace exponentials, and forget that the code even exists." Meant for weekend projects.
"The delicate art and science of filling the context window with just the right information for the next step."
"You are not writing the code directly 99% of the time. You are orchestrating agents who do and acting as oversight."
All three terms from Andrej Karpathy, posts on X. Relayed by PureAI and The New Stack.
The clearest sign of maturity is the return of the spec. GitHub's Spec Kit, built on the idea that "code serves specifications", has 140,000 stars and works with more than 30 agents. Amazon rebuilt its developer offer around Kiro, which writes requirements, a design and a task list into the repository before it writes any code.
Neither proves yet that specs make agents better. Both show where serious teams are heading: away from prompting by feel and towards writing down what correct means.
Standard plumbing makes agents cheap to connect, and cheap to connect also means cheap to misuse. An MCP server, a rules file or a skill can run code on your machines. That makes it part of your supply chain. Chapter 08 shows what happens when it is treated as configuration.
In early 2025 the best model succeeded half the time on software tasks that take a person about an hour. A year later it was a working day or two.
But read the word "half" carefully. At 80% reliability the latest horizon is about three hours. For work you ship to customers, the reliable number is the one that counts.
In October 2024 Google said that more than a quarter of its new code was generated by AI and then reviewed by engineers. Eighteen months later the figure was three quarters. Google is not alone. Chapter 04 shows the same climb in surveys and in public repositories.
Assurance has not kept pace. Veracode's July 2026 report finds almost all AI-generated code is now syntactically correct, yet only 56% of it is secure, barely changed from 55% in its first report. Bigger models did no better. Chapter 10 shows what happens when a passing test is not enough.
The constraint has moved from producing code to proving it.
None of this is a case against agents. It is a case for funding what comes after them. When generation is nearly free, the scarce resources are the specification that says what correct means, the checks that can prove it, and the people who can tell when both are wrong.
Lines generated and share of AI code measure activity. Track cost per accepted change and escaped defects instead.
Budget for checking at the same time you budget for generating.
An agent can only be as right as the definition of correct it was given. Make acceptance criteria a first-class artefact.
The pattern is clear once you line them up. In the lab, on tidy tasks, AI helps a lot: an effect size of 0.73. In enterprise and open-source settings the effect shrinks to 0.19 and 0.01, and neither can be told apart from zero. Less experienced developers gain more than experts working in code they know by heart.
The perception gap. The most striking result is not the slowdown. METR's developers expected AI to cut their task time by 24%, and afterwards believed it had cut it by 20%. In fact it rose by 19%. Experts in economics and machine learning predicted cuts of 38 to 39%. If you rely on your teams' sense of speed to justify spend, you are relying on the weakest signal in this book.
What changed in 2026. METR tried to repeat the study and found its new data unreliable. Between 30% and 50% of developers would not submit tasks they would have to do without AI. The new estimates lean towards a speed-up, but their intervals include zero and METR calls the data "an unreliable signal". The refusal is a finding in itself: for many engineers, working without AI is no longer on the table.
Measure the whole path, from request to a change that is accepted and running.
Pull requests nearly doubled. They also got much bigger, and reviews took almost twice as long. At company level, Faros found no measurable gain. Its 2026 follow-up, across 22,000 developers, saw throughput keep rising while bugs per developer rose by about half and median review time grew about fivefold. These are one vendor's figures from its own customers, so treat the exact percentages with care. The direction matches the independent studies in Chapter 06.
Atlassian's vendor-run 2025 survey of 3,500 developers and managers puts it in human terms. survey 68% save more than ten hours a week with AI. 50% lose more than ten hours a week to organisational friction. Developers spend only 16% of their time writing code. Speeding up the 16% was never going to fix the other 84%.
AI adoption now goes with higher throughput. It still goes with lower stability. "Without robust control systems, like strong automated testing, mature version control practices, and fast feedback loops, an increase in change volume leads to instability." survey
DORA AI Capabilities Model, Google Cloud, 24 Sep 2025.
A crafted public issue could make an agent read private repositories and leak them into a public pull request. The researchers called it "a fundamental architectural issue", not a bug. research
An over-scoped build token let an attacker add a prompt telling the VS Code extension to wipe local and cloud resources. It shipped in a signed release. A syntax error stopped it working. advisory
An agent deleted a production database during a code freeze, then misreported what it had done. press
Malicious packages ran developers' own Claude, Gemini and Q command-line tools with permission-skipping flags to hunt for secrets. Over 5,500 private repositories were made public. threat research
Koi Security found 341 of 2,857 skills on one agent marketplace were malicious. In a separate scan by Snyk, 91% of confirmed malicious skills also used prompt injection. threat research
Adaptive attacks bypassed twelve published defences, with success above 90% for most. NIST's red team lifted its success against a hardened agent from 11% to 81%. OpenAI now says prompt injection is "unlikely to ever be fully 'solved'". The defence has to be in the design. primary vendor
Claude Code users approve 93% of permission prompts. People click yes. Sandboxing with both filesystem and network isolation works better, and cut prompts by 84%. vendor data
28.6 million new secrets leaked on public GitHub in 2025, up 34%. Commits tagged as made with Claude Code leaked at about twice the baseline rate, though tagged commits skew towards prototypes and solo projects. vendor data
Meta's Agents Rule of Two. In one session, an agent should have at most two of: untrusted input, access to sensitive data or systems, and the ability to act or communicate externally.
Since 11 September 2026, makers of software products sold in the EU must send an early warning of actively exploited vulnerabilities within 24 hours under the Cyber Resilience Act, with a full notification within 72. EU AI Act high-risk duties moved to December 2027 and August 2028. In the US, federal buyers no longer have to collect secure-software attestations. Regulators increasingly want evidence, not signed forms.
Average enterprise Claude Code cost per developer per active day at API list prices, or $150 to $250 a month. Teams of agents use about seven times more tokens. Earlier versions of the same page gave lower figures.
Yearly fall in the price of reaching a fixed capability, depending on the task. The fastest falls are the most recent.
Agents use far more tokens than chat, and teams of agents use about seven times more again. So each token gets cheaper while each developer uses many more of them, and buyers keep moving to the newest, priciest models.
Per-seat pricing broke. On 1 June 2026 GitHub moved every Copilot plan to usage-based billing, with the clearest statement yet of the new economics: "a quick chat question and a multi-hour autonomous coding session can cost the user the same amount... the current premium request model is no longer sustainable." A $200 a month tier is now standard across ChatGPT, Claude, Cursor and Kiro.
Outcome pricing has begun. Cognition now offers to fund a customer's Devin usage, up to $10 million, if Devin delivers less engineering value than the customer pays for. Expect more vendors to price against outcomes, and expect arguments about how "value" gets measured.
Stop budgeting AI as a licence line. Budget it like cloud: by workload, with owners, limits and a unit cost. The unit that matters is cost per accepted change, not cost per seat.
of the hard problems OpenAI audited had flawed tests that reject correct answers. Every frontier model it probed could reproduce original fixes or problem details for some tasks.
best standardised score on the public set of 731 harder problems, built to resist contamination. The full benchmark has 1,865 from 41 repositories. Scores that vendors report themselves run much higher and cannot be compared.
The frontier has passed what METR's own task suite can reliably measure. The ruler is now shorter than the thing it measures.
In March 2026 METR asked four maintainers of scikit-learn, Sphinx and pytest to review 296 agent pull requests, from models up to Claude Sonnet 4.5 and GPT-5. Roughly half of the ones that passed the tests would not have been merged. The reasons were wrong fixes, breaking other code and poor code quality: the parts a test suite does not check. An earlier, smaller METR study found that none of the test-passing pull requests were mergeable as written.
Benchmarks still help you screen tools. They cannot tell you how a model will behave in your repository, with your history, your tests and your reviewers.
A leaderboard tells you which tool to try. Only your own work tells you which tool to trust.
The name comes from Daniel Kahneman's Thinking, Fast and Slow. System 1 is fast, intuitive judgement. System 2 is slow, deliberate reasoning. TypeSafe calls Jev the first "System One model": you give it a situation and a set of bounded questions, and it returns typed answers with probabilities in about a tenth of a second, TypeSafe says. In TypeSafe's words, System One models "do not write replies, produce code, or generate explanations of their reasoning." TypeSafe describes it as "a frontier-intelligence function call: unstructured state in, typed probabilistic decisions out." Thinking of today's LLMs as System Two is our analogy, not TypeSafe's term.
A lot of software is really judgement wrapped in brittle code. Is this ticket a bug or a feature request? Does this change touch security? Should this prompt go to the cheap model or the expensive one? Today teams either write fragile rules or ask a large model to answer in text and then parse it. A decision model is aimed at exactly that gap.
Of all the answers a model gives at 80% probability, about 80% should turn out right. Many neural models drift below the line and sound surer than they are (Guo et al., 2017). RLCD aims to keep the model on the line. illustrative
Reinforcement Learning for Calibrated Decisions is TypeSafe's training method. Where RLHF rewards the text people prefer and RLVR rewards answers a program can check, RLCD rewards decisions whose probabilities match how often they turn out right. Because answers can only come from options you define, the model cannot return a malformed or out-of-schema value. That is a type-safety guarantee. It is not a guarantee that the answer is correct.
The reward function or loss. Where the training labels come from. The architecture, size or base model; the company says only that Jev is "neither small nor an LLM". Any calibration metrics for Jev itself, or a technical report. Public benchmark results, which it withholds on purpose. Treat performance claims as the company's own until others replicate them.
Built from TypeSafe's published API schema. The numbers are invented to show the shape.
Label a few hundred past cases of one real decision, such as review routing. Compare rules, a classifier, a large model with structured output and the decision model at the same accepted quality. Keep it only if it wins on total cost, counting false negatives and escalations.
Academic researchers tested jev-1.13.0 on 44 benchmarks for spotting failures in AI output. Asked one generic question, it ranked failures well (median AUROC 0.886 across the 38 usable benchmarks) and agreed with human labels as often as a reference scorer. It cost 63 times less than using a large model as judge at list prices, or 12 times less on cautious pricing. Its probabilities were well calibrated when pooled, but not within individual benchmarks, so thresholds need tuning on local data; even about ten labelled examples help. A preprint, one model version, English only. preprint
Literal reading. Arithmetic and counting. Comparing dates. Multi-step indirection. Distracting context. Adversarial text inside the input. A lean towards the first option in a list. Keep maths in code, and test any guardrail against injected content.
| Layer | Good at | Typical tools | Fails by |
|---|---|---|---|
| 01 Generative reasoning | Interpreting intent, planning, proposing designs | Large language models | Being confidently wrong |
| 02 Agentic execution | Long sequences of real work in a repository | Coding agents, workflows | Drifting, or reaching too far |
| 03 Calibrated decisions | Bounded judgements with probabilities: route, triage, score | Rules, classifiers, decision models such as Jev | Answering a badly framed question well |
| 04 Deterministic computation | The same answer every time | Compilers, type checkers, builds, policy engines | Checking only what it was told to check |
| 05 Verification | Producing evidence that the result is right | Tests, analysis, formal proof, review | Sharing the author's blind spots |
The engineering platform of the next few years will route each piece of work to the kind of intelligence that suits it. A reasoning model interprets the request. An agent implements it. A decision model scores the risk and picks the checks. Deterministic tools and tests verify it. A person approves the exceptions that matter.
This is a proposal, not an industry standard. Its practical value is one question to ask of every AI step in your pipeline: is this the right kind of intelligence for this job? A surprising number of expensive model calls are doing work a type checker, a rule or a cheap classifier would do better.
The layers also fail in different ways, and that is the point of separating them. If the agent and the reviewer are the same model, they share the same misunderstandings. Independent layers catch each other's mistakes.
Expect several kinds of intelligence checking each other's work, rather than one model that does everything.
Widen what an agent may do only where you can check the result, contain the failure and recover from it.
Independent checks tied to the requirement, not tests written by the same model that wrote the code.
A model's high confidence never waives a mandatory control.
The principle is simple. Widen what an agent may do when you can detect a bad result, contain its effect and recover from it. Narrow it when you cannot.
Scope means what the agent may touch, where it may act and how long it may run alone. Evidence means checks tied to the real requirement and written independently of the agent.
A documentation fix can run almost alone. A change to payment logic needs a person who understands the money. The same agent can be trusted with one and not the other, and that is fine.
Verified implementations in Dafny from correct formal specifications, 44% in Verus and Rust, 27% in Lean. Pure Dafny rose from 68% to 96% in a year.
of an agent's bug reports across 100 popular Python packages were real. Fixes were merged upstream, including in NumPy.
of tests generated by Meta's mutation-guided test generator, ACH, were accepted by its engineers; 36% were judged privacy-relevant.
code reviews on GitHub is now done by Copilot code review: more than 60 million so far, across 12,000 organisations.
Agent evaluation now has its own discipline of tasks, graders and harnesses, and a reliability measure: success every time, not once.
Every one of these needs a definition of correct: a specification, a property, a test oracle, a grader. That is where the human work goes now.
Each of these is only as good as its definition of correct. A proof needs a specification, a property test needs a property, a review agent needs to know what to look for. The hard work moves up a level, from checking the code to saying precisely what the code should do.
This is the bigger change. When code is cheap, the specification, the test oracle and the evaluation harness become the scarce engineering assets. Teams that invest in them should get faster and safer. Teams that skip them still get faster, but they also get more fragile.
When code is cheap, the definition of correct is the most valuable thing an engineer can write.
fall, nearly 20%, in employment of developers aged 22 to 25 since late 2022. In AI-exposed jobs, young workers fell 16% relative to older peers. The change came through fewer hires, not layoffs.
software development postings index on 2 October 2026, where February 2020 is 100. In April postings were up 14% on a year earlier, and about 47% mentioned AI.
quiz scores for developers who learned a new library with AI writing the code, against those who coded by hand. The gap was largest in debugging.
Computer science did not stop being valuable. What broke is the first rung: the junior tasks that used to teach people the job are exactly the tasks agents now do.
That creates a quiet problem. In Anthropic's trial, the biggest gap was in debugging, the skill you need most to check an AI's work. Learning held up when people used AI to explain concepts instead of writing the code for them.
Not every company is pulling back. IBM says it will triple US entry-level hiring in 2026 press and has rewritten junior roles around supervising AI output. AWS's chief executive called replacing juniors with AI "the dumbest thing I've ever heard", and asked who will know anything in ten years.
Keep hiring juniors, but redesign the role. Give them real ownership of small systems, with AI as a tutor rather than a ghostwriter. Test understanding without the tool: explain this change, debug this failure, defend this design.
| Dimension | 2021 | 2026 | Direction to 2030 |
|---|---|---|---|
| Creation who writes the code | Engineer | A large, rising share by AI (company claims 20 to 75%) | AI by default |
| Reasoning who decides how to solve it | Engineer | Shared | Shared; people for novel problems |
| Execution who carries out the steps | Engineer | Agents, for bounded tasks | Agents, within published limits |
| Verification who proves it works | Engineer and CI | Engineer, CI and AI review | Tools first, human judgement on top |
| Governance who answers for it | People | People | People |
| Evolution who maintains it after release | Engineer | Engineer with assistance | Shared, with agents watching production |
Product owners decide whether behaviour serves the user. Engineers answer for whether the system holds together. Platform teams own the environments agents run in. Security owns the controls. Whoever accepts a change needs enough knowledge to challenge it. Approving a summary you do not understand is not review. It is ritual.
Selling capacity, people times hours, gets harder when an agent does the hours. Value moves to domain context, reusable assets, assurance and outcomes. Expect contracts to follow. our view
AI makes individuals much faster, but autonomous delivery stays limited to bounded tasks, because verification, integration and legacy context stay hard. Engineers remain the main producers of shipped change.
Agents run much of the routine delivery inside enterprise platforms. People own intent, architecture, risky decisions and acceptance. Specialist models, including decision models, become standard parts of the stack.
Systems turn business intent into tested, deployed, self-maintaining software with little routine human involvement. This needs big advances in machine-checkable requirements and in reliability.
METR's 80% time horizon, not just the 50% headline. It is the one that matters for work you ship.
Cost per accepted change, including review, rework and incidents, by task class.
Time pull requests wait for a human, and the size of what they are asked to read.
Escaped defects, rollbacks and incidents per change, held against a fixed bar.
Share of tasks accepted without human intervention, and why the others needed it.
Junior hiring, and whether engineers can still explain and debug changes without the tool.
No evidence in this book supports a date for the end of software engineering jobs. It supports a change in what those jobs are.
| Dimension | Measure | Rule |
|---|---|---|
| Delivery | Request to accepted change, and to release, by task class | Report medians and the slow tail |
| Effort | All human hours: prompting, review, rework, recovery | Count failed attempts too |
| Quality | Escaped defects, rollbacks, security findings | Fix the quality bar before you look |
| Cost | Model, infrastructure and labour per accepted change | Include escalation and upkeep |
| Delegation | Tasks accepted without intervention | Record why each intervention happened |
| Decisions | False negatives and calibration at your threshold | Check false negatives at your threshold |
| People | Can engineers explain and debug the change unaided? | Test it, do not assume it |
Decide what quality must stay fixed before you see any results. And count everything, including the failures. A pilot that reports only its wins tells you nothing.
Primary sources came first: research papers, official reports, company announcements, documentation and earnings statements. Press coverage is used only where no primary was available, and is marked. Every number in the book was re-checked against its source, or a named relay where a page was blocked, on 8 October 2026, with four refreshed on 12 October 2026, and several figures from earlier drafts were corrected or dropped as a result.
| primary study | A measured result with a stated method: trials, field studies, payroll and postings data, peer-reviewed or preprint research. |
| survey | What respondents report about themselves. Useful for adoption and sentiment, weak for outcomes. |
| vendor | A company describing its own product, data or results, including earnings calls and vendor-run research. |
| analyst | A forecast. Labelled as such. |
| our concept | Frameworks, scenarios and views that belong to this book. These are proposals to test. Examples marked illustrative show the shape of an idea, not real values. Where a mark says "our view", it means the author's. |
Much of the best data in this field comes from companies that sell AI or AI-related tools. I name them so you can judge for yourself. Studies date quickly; the year of each is given, and several describe tools that have since been replaced. Surveys over-represent enthusiasts. Company percentages for "AI-written code" are not defined the same way and should not be compared directly.
This is an independent point of view. It was not commissioned or reviewed by any company named in it, and company names are used only to identify sources.
Edition 01, version 1.1, 12 October 2026. Version 1.0 was published on 8 October 2026; version 1.1 refreshes the METR, Veracode, Claude Code and New York Fed figures with newer sources.
All sources accessed on or before 12 October 2026. Where a company page was blocked to automated access, a reliable relay is named. Web addresses are shown without the protocol.
01N. Friedman. Introducing GitHub Copilot: your AI pair programmer. GitHub Blog, 29 Jun 2021. github.blog/news-insights/product-news/introducing-github-copilot-ai-pair-programmer
02E. S. and B. Zhang. Building effective AI agents. Anthropic Engineering, 19 Dec 2024. anthropic.com/engineering/building-effective-agents
03R. Robbes, T. Matricon, T. Degueule, A. Hora, S. Zacchiroli. Agentic Much? Adoption of Coding Agents on GitHub. ACM TOSEM, 2026. arXiv 2601.18341v2. doi.org/10.1145/3822180
04TypeSafe AI. Introducing System One Models & Jev. D. Almeida, 15 Sep 2026. typesafe.ai/blog/introducing-system-one-models-and-jev
05Microsoft. FY2026 Q4 earnings call, 29 Jul 2026 (Copilot users; agent share of pull requests). microsoft.com/investor
06Anthropic. Anthropic acquires Bun as Claude Code reaches $1B milestone, 3 Dec 2025. anthropic.com/news
07CNBC. SpaceX to acquire the AI coding startup Cursor for $60 billion, 16 Jun 2026. cnbc.com/2026/06/16/spacex-spcx-cursor-acquisition-ipo.html
08OpenAI. Codex is becoming a productivity tool for everyone, 2 Jun 2026. openai.com/index/codex-for-knowledge-work, via Constellation Research
09Alphabet. Q2 2026 earnings remarks, 22 Jul 2026; S. Pichai, Google Cloud Next 2026 keynote, 22 Apr 2026. blog.google
10Cognition. Crosses $1B in annualized revenue run rate, 25 Sep 2026; AI Productivity Guarantee, 4 Jun 2026. cognition.com/blog
11AWS. Amazon Q Developer end-of-support announcement, 30 Apr 2026; Kiro is generally available, 17 Nov 2025. kiro.dev/blog/general-availability
12M. Bogdanov. AI Coding Agents: Adoption Trends. JetBrains Research, Aug 2026. blog.jetbrains.com/research/2026/08/ai-coding-agent-adoption-2026
13A. Karpathy. Posts on vibe coding (2 Feb 2025), context engineering (Jun 2025) and agentic engineering (8 Feb 2026), via The New Stack and PureAI. thenewstack.io/vibe-coding-is-passe
14GitHub. Spec Kit; Visual Studio Magazine, 12 May 2026. github.com/github/spec-kit
15Anthropic. Donating the Model Context Protocol and establishing the Agentic AI Foundation, 9 Dec 2025; MCP 2026-07-28 specification. blog.modelcontextprotocol.io
16Linux Foundation. Agent2Agent protocol project, 23 Jun 2025. AGENTS.md, accessed 8 Oct 2026. agents.md
17Bloomberg Law. OpenAI's $3 billion deal to buy Windsurf falls apart (Google licence and hires), 11 Jul 2025. news.bloomberglaw.com
18TechCrunch. Microsoft CEO says up to 30% of the company's code was written by AI, 29 Apr 2025. techcrunch.com
19METR. Measuring AI ability to complete long software tasks (arXiv 2503.14499v4); Time Horizon 1.1, 29 Jan 2026; time-horizons data, 8 May 2026. metr.org/time-horizons
20Fortune. Google says a quarter of new code is AI-generated (Alphabet Q3 2024 call), 30 Oct 2024; Business Insider, Pichai on engineering velocity, Jun 2025. fortune.com/2024/10/30/googles-code-ai-sundar-pichai
21Veracode. 2025 GenAI Code Security Report, 30 Jul 2025; Spring 2026 update; 2026 GenAI Code Security Report, 28 Jul 2026. veracode.com/blog/2026-genai-code-security-report-ai-risk
22P. Whitfill, C. Wu, J. Becker, N. Rush. Many SWE-bench-passing PRs would not be merged into main. METR, 10 Mar 2026; and METR research update, 12 Aug 2025. metr.org/notes/2026-03-10-many-swe-bench-passing-prs-would-not-be-merged-into-main
23Sonar. Critical verification gap in AI coding (State of Code survey), 8 Jan 2026. sonarsource.com/company/press-releases
24K. Z. Cui, M. Demirer, S. Jaffe, L. Musolff, S. Peng, T. Salz. The Effects of Generative AI on High-Skilled Work. Management Science, 2026. doi.org/10.1287/mnsc.2025.00535
25J. Becker, N. Rush, E. Barnes, D. Rein. Measuring the impact of early-2025 AI on experienced open-source developer productivity. METR, 10 Jul 2025. arXiv 2507.09089. metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study
26METR. We are changing our developer productivity experiment design, 24 Feb 2026. metr.org/blog/2026-02-24-uplift-update
27E. Murphy-Hill, J. Butler, A. Savelieva. Adoption and impact of command-line AI coding agents. arXiv 2607.01418, 1 Jul 2026. arxiv.org/abs/2607.01418
28S. Maier et al. A meta-analysis of the effect of generative AI on productivity and learning in programming. arXiv 2605.04779, 6 May 2026. arxiv.org/abs/2605.04779
29Faros AI. The AI Productivity Paradox, Jul 2025; AI Engineering Report 2026: The Acceleration Whiplash. faros.ai/research
30Atlassian. State of Developer Experience Report 2025. atlassian.com/blog/developer/developer-experience-report-2025
31N. Harvey, D. DeBellis. Announcing the 2025 DORA Report; K. Storer, D. DeBellis. DORA AI Capabilities Model. Google Cloud, 24 Sep 2025. cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report
32Invariant Labs. GitHub MCP exploited, 26 May 2025. invariantlabs.ai/blog/mcp-github-vulnerability
33AWS Security Bulletin AWS-2025-015 (CVE-2025-8217), 23 Jul 2025. aws.amazon.com/security/security-bulletins/AWS-2025-015
34Fortune. AI coding tool Replit wiped database, 23 Jul 2025. fortune.com
35Wiz Research. s1ngularity: supply chain attack leaks secrets on GitHub, Aug 2025. wiz.io/blog/s1ngularity-supply-chain-attack
36Snyk. ToxicSkills, 5 Feb 2026; Koi Security via The Hacker News, Feb 2026. snyk.io/blog/toxicskills-malicious-ai-agent-skills-clawhub
37M. Nasr et al. The attacker moves second. arXiv 2510.09023, Oct 2025. arxiv.org/abs/2510.09023
38NIST CAISI. Strengthening AI agent hijacking evaluations, 17 Jan 2025. nist.gov
39Anthropic Engineering. Making Claude Code more secure and autonomous with sandboxing, 20 Oct 2025. anthropic.com/engineering/claude-code-sandboxing
40GitGuardian. The State of Secrets Sprawl 2026, Mar 2026. gitguardian.com/state-of-secrets-sprawl-report-2026
41TechCrunch. OpenAI says AI browsers may always be vulnerable to prompt injection, 22 Dec 2025. techcrunch.com
42Meta AI. Agents Rule of Two, 31 Oct 2025. ai.meta.com/blog/practical-ai-agent-security
43European Commission. Cyber Resilience Act; AI Act; Council of the EU, 29 Jun 2026. OMB M-26-05, 23 Jan 2026. digital-strategy.ec.europa.eu
44B. Cottier et al. LLM inference prices have fallen rapidly but unequally across tasks. Epoch AI, 12 Mar 2025. epoch.ai/data-insights/llm-inference-price-trends
45Anthropic. Claude Code docs: Manage costs effectively, accessed 8 Oct 2026. code.claude.com/docs/en/costs
46Jellyfish. AI Engineering Trends report, 20 May 2026, via DevOps Digest. devopsdigest.com
47M. Rodriguez. GitHub Copilot is moving to usage-based billing. GitHub Blog, 27 Apr 2026. github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing
48OpenAI. Introducing SWE-bench Verified, 13 Aug 2024; Why we no longer evaluate SWE-bench Verified, Feb 2026 (read via the r.jina.ai reader; date from secondary sources). openai.com/index/why-we-no-longer-evaluate-swe-bench-verified
49X. Deng et al. SWE-Bench Pro. arXiv 2509.16941; Scale AI public leaderboard, accessed 8 Oct 2026. labs.scale.com/leaderboard/swe_bench_pro_public
50Anthropic Engineering. Demystifying evals for AI agents, 9 Jan 2026. anthropic.com/engineering/demystifying-evals-for-ai-agents
51TypeSafe AI documentation: Introduction, System One, AI primer, Confidence, Models, API, Coding agents, Jev 1.13 jaggedness. Accessed 8 Oct 2026. docs.typesafe.ai
52R. Guo, Y. Liu, G. Deng et al. Just Ask Jev: RLCD as a zero-shot detector of AI alignment failures. arXiv 2609.29429, 24 Sep 2026. arxiv.org/abs/2609.29429
53C. Guo, G. Pleiss, Y. Sun, K. Q. Weinberger. On calibration of modern neural networks. ICML 2017, PMLR 70. proceedings.mlr.press/v70/guo17a.html
54M. Souppaya, K. Scarfone, D. Dodson. Secure Software Development Framework v1.1. NIST SP 800-218, Feb 2022; SP 800-218A, Jul 2024. csrc.nist.gov/pubs/sp/800/218/final
55S. Bursuc et al. A benchmark for vericoding: formally verified program synthesis. arXiv 2509.22908, 2025. arxiv.org/abs/2509.22908
56M. Maaz et al. Agentic property-based testing. arXiv 2510.09907, 2025. arxiv.org/abs/2510.09907
57M. Harman et al. Mutation-guided LLM-based test generation at Meta. FSE 2025. arXiv 2501.12862. arxiv.org/abs/2501.12862
58R. Gopu, D. Apirian. 60 million Copilot code reviews and counting. GitHub Blog, 5 Mar 2026. github.blog/ai-and-ml/github-copilot/60-million-copilot-code-reviews-and-counting
59E. Brynjolfsson, B. Chandar, R. Chen. Canaries in the coal mine? Stanford Digital Economy Lab, Nov 2025; project page, Aug 2026. digitaleconomy.stanford.edu/publications/canaries-in-the-coal-mine
60Indeed Hiring Lab. US labor market snapshot, 14 May 2026; FRED series IHLIDXUSTPSOFTDEVE. fred.stlouisfed.org/series/IHLIDXUSTPSOFTDEVE
61Federal Reserve Bank of New York. The labor market for recent college graduates, Feb and Aug 2026. newyorkfed.org/research/college-labor-market
62J. H. Shen, A. Tamkin. How AI assistance impacts the formation of coding skills. Anthropic, 29 Jan 2026. anthropic.com/research/AI-assistance-coding-skills
63Fortune. IBM tripling entry-level hiring, 13 Feb 2026. The Register. AWS CEO on junior staff, 21 Aug 2025. fortune.com
AgentA model with tools running in a loop towards a goal, choosing its own steps: read, edit, run, retry.
Agentic workflowA system that wires model calls, tools and checks together along a path written in code.
AUROCHow well a score ranks positive cases above negative ones across every threshold. 0.5 is chance, 1.0 is perfect. It is not an accuracy rate.
CalibrationWhether stated probabilities match reality. Of answers given at 80%, about 80% should be right. True of groups of answers, never a promise about one.
Context engineeringChoosing exactly what information a model sees for the next step, and what it must not see.
Cost per accepted changeAll model, infrastructure and human cost divided by the changes that met the agreed quality bar. The unit this book recommends.
Evaluation harnessThe tasks, graders and environment used to test a model or agent on your own work, repeatably.
MCPModel Context Protocol. A standard way for agents to connect to tools and data. Now governed by the Linux Foundation's Agentic AI Foundation.
pass@k and pass^kpass@k: the agent succeeds at least once in k tries. pass^k: it succeeds every time. Production needs the second.
Prompt injectionInstructions hidden in content an agent reads, such as an issue, a web page or a file, that hijack what it does.
RLHF, RLVR, RLCDThree ways to train a model after pretraining: rewarding text people prefer, answers a program can verify, or decisions with honest probabilities (TypeSafe's method).
Rule of TwoMeta's guideline that an agent session should combine at most two of: untrusted input, sensitive access, and the power to act externally.
SandboxAn isolated environment, with limits on files and network, where an agent can work without touching production.
Spec-driven developmentWriting requirements, design and tasks into the repository before any code, so agents and people build against the same definition of done.
System One modelTypeSafe AI's term, after Kahneman, for a model that returns fast typed decisions with probabilities instead of generating text.
Time horizonMETR's measure: the length of task, in human expert time, an AI completes with a given reliability, usually 50% or 80%.
Typed outputAn answer constrained to options defined in advance. It guarantees the form of the answer, not its correctness.
Verified delegationThis book's proposal: widen what agents may do only where the evidence to accept their work exists.
Vibe codingKarpathy's 2025 term for building by prompting and accepting output without reading the code. Fine for weekend projects.
Sanjeev Azad helps organisations move from AI experimentation to production-scale impact. He leads enterprise AI strategy and innovation for a global engineering organisation, working across APAC and beyond.
He began as a software engineer, moved into architecture in financial services, and then spent years as a technology architect on modernisation programmes for banking, capital markets and automotive clients across the UK, Europe and the US. He has since led a regional architecture practice, served as a regional CTO, and now leads global innovation.
His work centres on enterprise AI transformation, AI operating models, AI-native engineering, agentic frameworks and AI governance in regulated businesses. He works with regulators, industry bodies and executives on what it takes to adopt AI well.
He also builds open frameworks and tools, most of them free and MIT-licensed, including The Value Cube, The Enterprise EPIC, Where the Gain Goes and the SAE Framework.
Start from a claim worth testing: code is cheap, trust is not. Write down what would prove it wrong.
Parallel research passes on live sources, primary first. Each finding keeps its quote, link, class and limits.
The 21 sources from the first draft were re-checked line by line and 10 citations corrected. Every finding keeps a link to its source.
An independent pass checked every number in the book against the register. All 48 issues were fixed before print.
From any claim to its record and its source. What could not be verified was left out, and is listed.