↓ Download PDF
Arjun JaggiExecutive Guide · CTO
ShippedCODE, PART WRITTEN WITH AIREVIEW
Stylized. Code written partly with AI, reviewed before it ships.

The CTO's Guide to AI in 2027

AI now writes part of the code. How technology leaders keep engineering fast, sound and measurable when it does.

Chief Technology Officers · Engineering Leaders2027
00
Contents

What is inside

How to read the exhibits

Cited

A result from a named, controlled study, numbered in brackets and listed at the back.

Arithmetic

A worked example on stated, illustrative numbers. Labelled as such.

Judgement

The author's recommendation, such as a framework or a rule. Labelled as such.

One idea to hold. How fast code is written matters less than how fast sound code reaches customers and stays sound.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
00
The short version

Six things every CTO should know about AI in 2027.

1

The gains are real and uneven.

55.8% faster on one set task [1] and 26% more tasks done across 4,867 developers [2], but 19% slower for experienced developers in their own mature projects [3].

2

Feeling faster is not being faster.

Those experienced developers believed AI had made them 20% faster [3].

3

Measure it in your own codebase.

A small randomised trial on real tickets settles what studies cannot.

4

Review decides whether faster code is sound.

When more code arrives faster, review has to scale. Match its depth to the risk of each change.

5

Juniors gain most, and need the most care.

In the largest study, less experienced developers gained more [2]. Review is where they learn.

6

Measure delivery, not keystrokes.

Lead time, change failures and time to restore show whether AI helps customers.

What it means for the CTO

Measure before you scale, review by risk, look after the juniors, and judge AI coding tools by delivery to customers.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
01
The evidence on AI and coding

Three studies, three different answers.

Controlled studies of AI coding tools disagree, and the disagreement is the lesson. On one set task, developers with an AI pair programmer finished 55.8% faster [1]. Across 4,867 developers at three companies, those with an AI tool completed 26% more tasks, with the gains concentrated among less experienced developers [2]. Experienced developers working on their own mature projects took 19% longer with AI allowed [3].

Exhibit 1

Measured effect of AI coding tools, three controlled studies

One set task, new code [1] 55.8% faster55.8% fasterOne set task, new code [1]Day-to-day work, 4,867 developers [2] 26% more tasks done26% more tasks doneDay-to-day work, 4,867 developers [2]Experienced developers, their own mature projects [3] 19% slower19% slowerExperienced developers, their own mature projects [3]SLOWER WITH AIFASTER OR MORE WITH AI
Source. Peng and others [1]. Cui and others [2]. Becker and others, METR [3]. The studies measure different things in different settings.

The gains depend on the work and the person. In these studies, the largest gain was on a set task of new code, and the slowdown was in large codebases the developers knew well. A follow-up by the same research group in 2026 found no clear slowdown with newer tools [4], so the picture is still moving.

What this means for engineering

Expect variety

Gains differ by task, codebase and experience.

Juniors gain most

In the largest study, less experienced developers gained more [2].

Re-measure often

Tools change fast, and so do the results [4].
What it means for the CTO

Do not plan headcount or roadmaps on a single number from a study. Measure the effect in your own codebase, on your own kinds of work.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
02
Measure it yourself

Feeling faster is not being faster.

In the study of experienced developers, the gap between what people felt and what was measured was striking. After the study, they believed AI had made them 20% faster. Measured, they had been 19% slower [3]. Surveys of how developers feel cannot replace measurement.

Exhibit 2

What developers believed, and what was measured

What developers believed afterwards20% fasterWhat developers believed afterwardsWhat was measured19% slowerWhat was measured
Source. Becker and others, METR [3]. 16 experienced developers, 246 tasks on their own projects.
Run a small trial in your own codebase
STEP 1Pick tasksReal tickets of theusual kinds, sizedin advanceSTEP 2RandomiseAllow AI on sometasks and not onothersSTEP 3MeasureTime to merge,review rounds andlater defectsSTEP 4DecideWhere AI helps,where it does not,and why
What it means for the CTO

Before rolling AI coding tools out further, run a small randomised trial on your own work. A few weeks of measurement replaces opinion with evidence.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
02
Measure it yourself · Trial resultsFill in on screen

Read your trial in three numbers.

Enter the averages from your own trial, for tasks done with and without AI. The calculator shows the change in time, review and later defects, so speed is never read without quality. The example column shows one possible result.

From your trialYoursExample
AAverage hours per task, without AI6.0
BAverage hours per task, with AI5.0
CReview rounds per change, without AI1.8
DReview rounds per change, with AI2.1
EDefects found later, per 100 changes, without AI3
FDefects found later, per 100 changes, with AI4
Time per task
17% less
Review rounds
17% more
Later defects
33% more

Faster, but quality is worse. Look at review before rolling out further.

Arithmetic. The figures shown are the example until you fill in your own. A trial needs enough tasks for the averages to mean something.
What it means for the CTO

Never report the time figure alone. A tool that saves hours but adds defects moves the cost to later, where it is harder to see.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
03
Review at scale

Review decides. Scale it by risk.

When code is written faster, more of it arrives for review. Reviewing everything the same way either slows delivery or lets risky changes through. Matching the depth of review to the risk of the change keeps both speed and soundness.

Exhibit 3

How deep to review, by the risk of the change

Low riskAutomated checks and onereviewer.For example, a copy change or aninternal tool.Medium riskTwo reviewers, and the authorexplains the change.For example, a change to how datais shown to customers.High riskA senior reviewer, added testsand a staged release.For example, payments, sign-in ordata deletion.
Source. The author's judgement. The examples are illustrative.
Four review rules when AI wrote part of the change
1The author can explain every line, whoever or whatever wrote it
2Tests are reviewed as carefully as the code they test
3New dependencies need a reason and an approval
4Large AI-written changes are split before review, not after
What it means for the CTO

Write down the three review levels and which kinds of change fall in each. Ask for the share of changes at each level every month.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
04
Keeping code sound

Fast code can become expensive code.

Code that nobody on the team fully understands is costly to change later. AI makes it easier to add a lot of code quickly. The warning signs below show when speed today is turning into cost tomorrow, and what to do about each.

Exhibit 4

Warning signs in AI-assisted code, and what to do

WARNING SIGNWHAT TO DOCode nobody on the team can explainThe author explains every change in reviewMany near-copies of the same logicSpot duplication in review, and refactor itTests that pass but check littleReview tests for what they actually proveNew libraries with no clear reasonApprove every new dependencyLarge changes merged in one goSplit them into small, reviewable steps
Source. The author's judgement.
Make it part of the routine

Debt review

Look at AI-heavy areas in the regular debt review.

Ownership

Every part of the codebase has an owning team.

Time to fix

Set aside a share of each cycle for clean-up.
What it means for the CTO

Ask each team which part of the codebase they would least like to change, and why. If AI-written code tops the list, slow down there.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
05
Engineering teams

Every level gains something. Each needs something different.

In the largest study, less experienced developers gained the most from AI tools [2], and experienced developers on familiar, mature projects were slowed down in another [3]. A single rollout plan for everyone misses both. Each level of engineer needs its own support. How entry-level roles are kept open across the company is covered in the CHRO's Guide [6].

Exhibit 5

What changes at each level of engineer

JuniorGains most [2]. Needs reviewthat teaches, and a duty toexplain every change theymerge.Mid-levelGains on routine work. Movestime to design and to reviewingothers' AI-assisted changes.SeniorGains least on familiar code[3]. Owns the review rules,architecture and the hardestchanges.
Source. Cui and others [2]. Becker and others [3]. The roles are the author's judgement.
Three habits that build engineers, not just code

Explain it

Every change is explained by its author, in review.

Read more

Reading and debugging code is practised on purpose.

Pair on hard work

Juniors pair with seniors on the hardest changes.
What it means for the CTO

Ask team leads how juniors are learning now that AI writes some of their code. If no one can say, set the three habits as team rules.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
06
AI inside products

Put AI behind one interface inside the product.

When product features call AI, the way they call it decides how easy the product is to change, test and keep running. One interface inside the product, rather than calls scattered through the code, keeps the model swappable and the behaviour testable. The shared platform behind it is covered in the Chief AI Officer's Roadmap [5].

Exhibit 6

A product architecture for AI features

The product featurewhat the customer sees and usesOne AI interface inside the producttime and cost limits, logging, versioned instructionsModelswappable behind the interfaceCheckstests run on every changeFallbackthe product still works without it
Source. The author's framework.
Four rules for AI inside a product
One interfaceFeatures call AI through one place in the code, never directly
Limits on every callA time limit and a cost limit, with a clear message when either is hit
Versioned instructionsThe written instructions given to the model are kept and reviewed like code
A path without AIThe feature still does something useful if the AI is slow or unavailable
What it means for the CTO

Ask how many places in the code call an AI model directly. More than one per product is a sign to consolidate.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
07
Engineering measures

Measure delivery, not keystrokes.

Counting how much code AI wrote, or how many suggestions were accepted, says little about whether customers are better served. Delivery measures do. They also catch the case where faster writing produces slower, riskier releases.

Exhibit 7

Activity measures to drop, and delivery measures to use

FROMTOLines of code written with AILead time, from first commit to releaseShare of developers using the toolShare of releases that cause a failureSuggestions acceptedTime to restore service after a failureTasks closedReview rounds per changeDeveloper survey on speedDefects found after release
Source. The author's recommendation.
Three rules for the measures

Baseline first

Record each measure before rolling tools out.

Read them together

Speed with failures rising is not a gain.

Per team

Compare a team with its own past, not with others.
What it means for the CTO

Bring the delivery measures to every discussion about AI coding tools. If the conversation is about usage, steer it back to delivery.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
08
Rolling out AI coding tools

Roll out in steps, with rules agreed first.

AI coding tools spread quickly once a few developers try them. A rollout in steps, with the rules agreed before each step, keeps the gains and avoids surprises about where code goes and how it is reviewed.

Exhibit 8

Four steps to roll out AI coding tools

STEP 1TrialA small randomisedtrial on realticketsSTEP 2RulesReview levels, andwhich code may go towhich toolSTEP 3ExtendTeams where thetrial showed gainsSTEP 4ReviewEvery quarter, astools and resultschange
Source. The author's recommendation.
Rules to agree before the first wider step
Which codeWhich code may be sent to which tool, agreed with the security chief [7]
Which tasksWhere AI is encouraged, allowed or not used
ReviewThe review level for each kind of change
LicencesWho gets which tool, and when it is reviewed

One open example. A coding model run on the company's own hardware keeps source code inside the company. The Zorp project publishes such an owned AI stack as open source [8]. The author works on the project.

What it means for the CTO

Do not let the rollout outrun the rules. Agree the four rules, then extend tools team by team where the trial showed gains.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
09
Engineering risks

What goes wrong in engineering, and the early signs.

Engineering risks from AI coding tools tend to appear months after the code was written. Each one below has a sign that shows up much sooner.

Exhibit 9

Where each engineering risk sits

LATE SIGN, HIGH HARMLATEEARLYHOW EARLY THE SIGN SHOWSHARM IF MISSED1234561Code nobody can explain2Review cannot keep up3Defects rise after release4Juniors stop learning5Code sent to unapproved tools6Gains assumed, never measured
Source. The author's judgement. Positions are illustrative.
An engineering risk register
RiskEarly signWhat to do
Code nobody can explainAuthors cannot explain changes in reviewMake explaining a merge rule
Review cannot keep upReview queues growing each weekReview by risk, split large changes
Defects rise after releaseChange failures rising with speedSlow down, and strengthen tests
Juniors stop learningJuniors cannot debug what they mergedPair them, and practise reading code
Code sent to unapproved toolsTool use outside the agreed listAgree the rules, and offer approved tools
Gains assumed, never measuredUsage reported, delivery notRun a trial, and baseline the measures
What it means for the CTO

Review the register with engineering leads each quarter, and add the risks your teams have actually met.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
10
The engineering scorecard

Six figures for AI in engineering.

These six show whether AI coding tools are helping customers, not just developers. Each is compared with the team's own baseline from before the rollout.

Exhibit 10

Which way each figure should move, and the sign to watch

FIGUREGOOD DIRECTIONWARNING SIGNLead time, commit to releaseFALLINGFaster writing, same or slower releasesReleases that cause afailureFALLINGRising as speed risesTime to restore serviceFALLINGLonger, as fewer people know the codeReview rounds per changeFALLINGRising, as changes get largerDefects found after releaseFALLINGRising after the rolloutChanges at each review levelRISINGHigh-risk changes reviewed lightly
Source. The author's recommendation. The last row means the share of changes reviewed at the right level.
How often to look
During the trialEvery week, trial andcomparison side by sideFirst two quartersEvery month, per teamAfter thatEvery quarter, and after anybig tool change
What it means for the CTO

Report these six for each team every month for the first two quarters of any rollout.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
11
The first 90 days

Measure, set rules, scale.

A CTO can put AI coding on an evidence footing in a quarter. The first month is spent measuring, the second agreeing the rules and the third extending tools where they help.

Exhibit 11

A 90-day plan for engineering

DAYS 1 TO 30MeasureRun a small trial on real ticketsRecord today's delivery measuresAsk teams where AI helpsDAYS 31 TO 60Set rulesWrite the review rules by riskAgree which code goes to which toolAdd AI work to the debt reviewDAYS 61 TO 90ScaleRoll out where the trial showed gainsCoach juniors through reviewReport the first scorecard
Source. The author's recommendation.
Where engineering stands at day 90
1A trial on real tickets has measured time, review and later defects
2The delivery measures have a baseline for every team
3The review levels and the rules for tools are written down
4Tools are extended only where the trial showed gains
5The first engineering scorecard has gone to the leadership team
What it means for the CTO

Keep the first quarter small and honest. A clear result from one trial is worth more than a fast rollout no one can measure.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
12
Self-checkTick on screen

Ten statements about AI in engineering.

Tick each statement your engineering teams can show today.

The statementShown
1We have run a trial of AI coding tools on our own work.
2We measured delivery before rolling tools out.
3We report delivery measures, not usage.
4Review depth depends on the risk of the change.
5Authors can explain every change they merge.
6New dependencies need an approval.
7We know which code may go to which tool.
8Juniors pair with seniors on hard changes.
9AI in our products sits behind one interface.
10Our products still work when the AI is unavailable.
Your score 0 of 10
0 to 4GuessingMeasure first. Sections 01 and 02.
5 to 7MeasuringSet review rules and look after juniors. Sections 03 to 05.
8 to 10LeadingBuild AI into products well and scale with care. Sections 06 to 08.
The statements and bands are the author's judgement.
The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
13
Glossary

Every term in this guide, in one sentence.

AI pair programmerA coding tool that suggests or writes code as a developer works.
Change failureA release that causes a problem customers notice, or that has to be rolled back.
DependencyOutside code a product relies on, such as a library.
Lead timeThe time from the first commit of a change to its release.
Randomised trialA test where AI is allowed on some tasks and not others, chosen by chance, to compare fairly.
Review roundOne pass of review and changes before code is accepted.
Technical debtCode that works today but will be costly to change later.
The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
14
Method and sources

How this guide was put together

Evidence and judgement. Every cited figure comes from one of the controlled studies below. Frameworks, rules, tables, plans, the calculator and the self-check are the author's recommendations, and worked examples use stated, illustrative numbers. Different settings. Study [1] timed one set task. Study [2] measured completed tasks across three companies, with results that varied between them. Study [3] followed 16 experienced developers on their own mature projects, and its authors say it describes one setting. A later update [4] found no clear slowdown with newer tools. Disclosure. The author wrote sources 5 to 7, and works on the Zorp project [8].

Notes
[1]S. Peng, E. Kalliamvakou, P. Cihon and M. Demirer, The Impact of AI on Developer Productivity. Evidence from GitHub Copilot, 2023. arXiv 2302.06590
[2]Z. Cui, M. Demirer, S. Jaffe, L. Musolff, S. Peng and T. Salz, The Effects of Generative AI on High-Skilled Work. Evidence from Three Field Experiments with Software Developers, Management Science. DOI 10.1287/mnsc.2025.00535
[3]J. Becker, N. Rush, E. Barnes and D. Rein, Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity, METR, 2025. arXiv 2507.09089
[4]METR, update to the study of AI and developer productivity, February 2026.
[5]A. Jaggi, The Chief AI Officer's Roadmap for 2027, 2026. arjunjaggi.com/guides/chief-ai-officer-roadmap-2027
[6]A. Jaggi, The CHRO's Guide to AI in 2027, 2026. arjunjaggi.com/guides/chro-guide-ai-2027
[7]A. Jaggi, The CISO's Guide to AI in 2027, 2026. arjunjaggi.com/guides/ciso-guide-ai-2027
[8]Aviskaar, Zorp, Own Your Intelligence, version 0.8.1, 2026. Open source under the MIT licence. zorp.dev
AJ

About the author. Arjun Jaggi is an applied AI researcher based in Santa Monica, California. His research covers small language models, memory evaluation and owned AI stacks.

The CTO's Guide to AI in 2027Arjun Jaggi · arjunjaggi.com
Arjun JaggiExecutive Guide · CTO
ShippedCODE, PART WRITTEN WITH AIREVIEW

Code is cheaper to write.
Sound code still takes care.

In 2027 the engineering teams that win will be the ones that measured what AI does for them, reviewed by risk and kept their people learning.

© 2026 Arjun Jaggi. Original framework. Academic citation permitted with attribution; commercial use requires written permission. arjunjaggi.com