← All talks

AI Engineer NYC 2026 · Main stage · 16 min

The Machine that Changed the World, vAI

Tariq ShaukatSonar

Agents can produce code much faster than a company can ship it. Tariq Shaukat uses factory design to explain where guidance, independent verification, and evidence belong in an agentic development process.

A factory that ships without rework

35:00 ↗

A car can have good components and still fit together badly. Tariq Shaukat opens with the gaps between body panels on older cars, then recalls a Lexus advertisement: a ball bearing rolls smoothly along the seams. The difference is visible before anyone explains the production system behind it.

The lesson Shaukat takes from that comparison is about the factory. Building more cars and repairing them afterward creates a different process from designing the line to produce a car that fits. Quality has to influence how components are designed, how problems are caught, and who can stop production when something is wrong.

Software teams already recognize much of this vocabulary. Kanban, continuous integration, and fixing problems close to where they occur all belong to the way Shaukat describes modern development. Agents now put pressure on that system by making code creation abundant. A factory organized around the scarcity of people writing code may become a factory waiting for people to review it.

Sonar's developer survey preview suggests that companies expect this change to accelerate. Shaukat reports that 5% of respondents were running agentic software factories, while 34% expected to do so within a year; the expectation was 39% among financial-services respondents. Those are adoption expectations from the survey, rather than a count of factories already operating.

The security pressure moves in both directions. Agents can help generate and repair software, but can also help attackers find weaknesses. Shaukat argues for designing containment, controls, and verification into the development system before increasing its output. 39:14

More code exposes the limits of review

40:08 ↗

The first constraint is human attention. In a study Shaukat cites, introducing asynchronous agents increased lines of code by 2,450% and commits by 240%, while releases rose only 30%. The study's setting matters, but the mismatch illustrates his concern: producing more work does not automatically increase the rate at which a team can ship it.

Adding a human approval step also assumes the person will exercise independent judgment. Shaukat describes research on people accepting incorrect AI answers as cognitive surrender. A reviewer who routinely defers to the system can become an approval mechanism without supplying the check the organization thinks it has.

Large codebases create a separate difficulty. The agent has to discover structure, dependencies, and conventions before making the change. Shaukat cites code-translation experiments where accuracy falls as the repository grows, and another study showing a thirtyfold difference in token use for the same task. He compares a useful starting context with starting a trip to New York in White Plains; a poor starting point is Albuquerque. Both agents may eventually arrive, but one spends much more effort finding the route.

Long tasks then compound mistakes. His simple chain assumes each of twenty required steps succeeds with 95% probability: multiplying those probabilities gives about 36% for the whole chain. That illustration explains why a long task's completion rate can be much lower than the apparent reliability of its pieces. He also points to METR's distinction between task horizons measured at different success thresholds. A model completing a long task half the time is a different operating proposition from completing it reliably.

Using a second language model as judge does not remove the problem. Shaukat cites experiments in which repeated judgments vary, and others in which a challenge as simple as asking whether the model is sure changes the verdict. Model-based checks can contribute to verification, but they need scrutiny too.

Finally, shortening the time between discovering and exploiting a vulnerability leaves less room to repair it after release. These five constraints—review capacity, codebase complexity, accumulated errors, variable judges, and fast exploitation—shape the factory Shaukat wants teams to build.

Make the quality checks part of the production line

45:15 ↗

Sonar expresses the design as a code-confidence formula with four factors:

  • Intent: Specify the goals and standards clearly enough to tell whether the work meets them.
  • Guide rails: Give the agent the context and constraints that help it stay on course while it works.
  • Verification: Check independently and thoroughly, then fix the findings.
  • Evidence: Preserve a consistent, repeatable record of what was checked and what passed.

Shaukat multiplies the factors as a design metaphor: omitting one can undermine confidence in the whole process. It is not a calibrated probability formula. Evidence cannot rescue an undefined goal, and a well-defined goal does not establish that the resulting code was verified.

The factory diagram shows where the work happens. Guidance enters before and during generation; verification can send a change back for repair; the quality gate stands between that process and deployment.

Sonar's factory diagram connects intent and context to generation, in-loop verification, code review, independent verification, a fix agent, and a quality gate before deployment.

Source frame at 47:15. The return paths matter. A finding is work to resolve before progressing, rather than a report filed beside an otherwise unchanged release process.

Sonar Vortex supplies context, constraints, and in-loop verification in this design. Shaukat reports customer results of 36% lower token consumption and 92% fewer issues in committed code. These are Sonar's reported results for the work it measured, not a guaranteed improvement for every repository. His explanation connects them to the earlier navigation problem: give agents information the system already knows, and they spend less effort rediscovering it while producing fewer problems for the next stage.

Use different verification methods, then keep the evidence

48:22 ↗

Independent verification needs to cover different kinds of failure without paying for expensive model reasoning everywhere. Shaukat proposes combining deterministic methods with agentic methods: use ordinary computation where it can answer the question, and model-based analysis where it adds something the other checks miss. SonarQube provides the verification layer in his account.

His final survey comparison concerns how users perceive the impact of AI coding. SonarQube users were 81% more likely than non-users to report a very positive impact on code security, 34% more likely for time to market, and 76% more likely for outage frequency. The slide identifies a survey of 1,026 respondents. These are differences in reported sentiment, not measurements of an 81% security improvement or a 76% reduction in outages.

The last step is preserving proof that the required checks ran and the quality gate passed. The particular evidence depends on the organization: internal controls in one setting, automotive coding standards in another. A team needs to be able to explain why the change was allowed through.

That returns the factory analogy to shipping. Producing code is becoming cheap. A useful software factory must also make it possible to show what the code was meant to do, how it was guided and checked, and why the organization is ready to release it.

Further reading

Sonar ↗First-party information about Sonar Vortex, SonarQube, and the verification tools discussed in the talk.

Full transcript

Timestamps follow the original livestream. Select a time to watch that moment. Transcripts are machine-generated with reviewed name and terminology corrections; occasional recognition errors may remain.

35:00

Morning, everybody.

35:02

My name is Tariq Shaukat.

35:04

I am the CEO of Sonar, as you just heard.

35:06

And we're here to talk today about how we have been helping companies build software

35:13

factories that actually work for enterprises.

35:15

And I thought it'd be an interesting way to start looking at actual factories, because

35:21

we know how to build actual factories.

35:23

And for those of you who have a little bit of the gray hair and all of this sort of thing,

35:28

you may remember the 1980s.

35:30

And in the 1980s, you could find cars that were really good cars.

35:34

But if you look at the picture here and if you remember those times,

35:37

the cars didn't quite fit together perfectly.

35:40

You'd have different pieces that would leave big gaps.

35:44

It would be really good cars that just didn't kind of work the way they were supposed to.

35:49

And then Toyota, and particularly Lexus, came out with a commercial, and it showed something very simple, which was a ball bearing running across the seams of this car.

36:00

And it was kind of revolutionary at the time because it showed that you could actually build a car that fit together perfectly.

36:07

And instead of building for volume and building and then fixing the old mindset, you could actually have a mindset focused on ship it right, on no rework, on customer happiness.

36:18

and there was not this was not a single change what happened was that people really started

36:26

thinking about the factories differently they started engineering building factories that

36:33

were engineered to deliver quality and there's a number of different pieces that i think still

36:39

resonate today the first is you prioritize quality instead of volume the second is that you fix the

36:46

system, not just individual symptoms that you see. The third is that you design for something that

36:54

can be built as opposed to designing the wheels and designing the washer bottles and whatever it

36:59

is and then hoping it fits together. You solve problems as they occur as opposed to kicking the

37:04

can down the road and fixing it at the end. And you empower everybody. Anyone could stop the line,

37:10

not just the boss. Now, why am I talking about this? It's actually because modern software

37:15

development actually embraced all of these principles. If you think about how we build

37:20

software today, what is considered best practice, a lot of the terms and the practices came

37:27

from that idea of a Toyota production system. Agile, Kanban, error budgets, if you're in

37:33

the SRE world, continuous integration. These ideas all kind of sprung from this notion

37:39

of how do we build factories that work. And it's worked really well for us in software

37:44

development so far. But agents, as we all know, you wouldn't be sitting here if you

37:48

didn't understand that agents are changing the game. And as agents are changing the game,

37:54

weird things start to happen. First of all, this is research that was published last month

38:01

of the effect of implementing asynchronous agents in your development lifecycle.

38:07

And I'm sure many of you have seen this. You have an explosion of the number of lines of

38:12

code written up 2,450%, you have an increase in the number of commits. So the volume code

38:19

creation is now easy and it is now abundant. And by the way, more and more people, I'm

38:25

sure many people in this room are saying, okay, if it's easy and abundant, how do I

38:29

automate it? How do I build factories, agentic software factories that help automate and

38:35

scale this? And today we just finished our what we call state of code developer survey.

38:40

it'll be out next month but this is a little preview today 5% of developers

38:45

that we spoke to say that they're running agentic software factories but

38:49

34% said in a year they expect to and 39% in financial services so people are

38:55

thinking about how do you actually build these next generation factories and

39:01

there's a couple of gotchas in here security risk the agents can work really

39:05

well to help you build stuff it can also work really well to help you hack stuff

39:10

help you attack stuff, find vulnerabilities, find quality issues, etc.

39:14

And so as I was writing this presentation kind of over the weekend,

39:19

a little just in time, again from the Toyota production system,

39:23

Satya Nadella posted this article on X.

39:25

And if you haven't read it, I think it's a great article

39:27

that I think everyone should internalize.

39:30

But he was talking about insider risk of models inside of companies.

39:34

And one of the things that he talked about

39:36

was the need for an engineering approach to containment and governance

39:40

built around strong deterministic system design,

39:44

human controls, and reliable operating procedures.

39:47

And this really resonated with me

39:50

because what we are seeing is a paradigm shift

39:54

in software factory design or software development,

39:58

let's call it more broadly, that

40:00

we need to engineer, we need to build systems that engineer confidence and quality into agentic software factories.

40:08

So to start doing that, I think it's important to understand the limitations that we're facing. So what's the hard thing about this? And there's five that I'm going to call out. The first is that human in the loop doesn't scale.

40:22

and this may be, I don't know, to this room

40:24

it may not be all that controversial

40:26

but virtually every company I talk to

40:29

I say, what's your AI governance strategy?

40:30

And they give me all this stuff and they say

40:32

but don't worry, we have humans in the loop

40:34

and the problem with humans in the loop

40:36

as I mentioned earlier, 2,450% increase in lines of code

40:41

240% increase in commits

40:43

but the same study showed only a 30% increase in releases

40:48

we haven't figured out how to scale

40:50

from producing stuff to shipping stuff.

40:54

There's automation needed, there's new tools needed,

40:56

and really importantly, this is a concept that really,

41:01

I see it every day now, and I'm sure many of you do as well,

41:05

called cognitive surrender.

41:07

And this study was done just a couple months ago,

41:09

and it looked at how often do humans agree with AI.

41:14

And it turns out they agree with AI when AI is right 93% of the time.

41:20

And four out of five times they agree with it when the AI is wrong.

41:24

So it's not that human in the loop is, we just need to make things faster.

41:29

It's actually that it doesn't work in the agentic era.

41:34

So that's problem one.

41:36

Problem two is that agents struggle with large complex code bases.

41:40

They are very, very smart, but you need to understand what happens in a code base in order to work on it.

41:47

The left-hand side is a study that was done on code translation.

41:51

And what it shows is that the agents were able to get it right 91% of the time

41:56

when the code base was 10,000 lines of code.

42:01

And by the time it got to even 50,000,

42:04

and I'm sure everyone in this room operates off of much bigger code bases than this,

42:08

but when it was trying to translate 50,000, the accuracy collapsed.

42:12

Similarly, another study looked at how many tokens does it take on a large complex codebase

42:19

to complete the same task.

42:21

And the variance was 30x.

42:23

Not 30%, but 30x.

42:25

And the reason is because the agent spends a huge amount of their tokens trying to understand

42:31

how to navigate the codebase, the structure of the codebase, things like this.

42:34

And it's kind of like if I'm trying to go from L.A. to here, and if I pick a random starting point.

42:43

If I happen to pick White Plains, I will get to New York pretty quickly.

42:46

If I pick Albuquerque, it's going to take me a long time and a lot of cost.

42:50

Same thing happens with agents.

42:53

Errors compound.

42:55

This is another important concept.

42:57

This is a study out of Meter.

43:00

And Meter looks at, and you can find this on their website,

43:03

they look at how effective are agents at completing tasks that humans can do.

43:10

And the way they look at this is can you complete a task that takes X number of hours.

43:15

So you can see here the Claude Mythos preview, which is the latest version that they've published,

43:20

was good at completing tasks that take a human 16 hours.

43:24

So that's really good.

43:25

But there's an important caveat in the fine print here, which is this is at 50% accuracy.

43:31

When you dial up the accuracy to 80%, the curve flattens substantially.

43:38

Because as you do long-running tasks, errors compound.

43:42

If you have 95% accuracy on each task, by the time you're at 20 steps, you have 36% accuracy.

43:50

And so that is another issue we have to deal with in software factories.

43:55

probably the most aggressive headline I put in here is is this fourth point that LLMs are

44:01

unreliable reward-seeking judges you know so the question that we always get is well can't you just

44:07

ask an LLM and so people have been studying this as well and this is all again the first on the

44:13

left-hand side is from PayPal AI's research lab they published a paper this month actually and

44:20

and found that depending on the model and the situation,

44:23

between 7% and 17% of verdicts change across what they call identical replications.

44:30

Ask the same question, get a different answer between 7% and 17% of the time.

44:35

And if you start challenging, this is a study out of Meta now,

44:39

if you start challenging the LLM, are you sure?

44:42

Very simple challenge.

44:43

It'll actually change its mind 7% to 34%, again, depending on the model.

44:48

So you ask the AI judge twice and you may get a different answer.

44:53

And then lastly, and I won't dig into this one too much because I think it's probably self-evident to everyone,

44:59

as a time to exploit near zero, the ability for us to respond is incredibly challenged.

45:06

And so prevention is something that we believe the software factory has to bake in to the design, has to engineer into the factory.

45:15

So as we've thought through this,

45:19

we have written down what we call the code confidence formula,

45:24

which is basically how do you build,

45:26

how do you think about a software factory

45:28

that delivers what we all want,

45:30

which is outcomes that we can feel confident in.

45:34

Not outcomes that we can trust,

45:36

not blind trust or anything like that,

45:38

but outcomes that we can feel comfortable with.

45:40

We can sit and tell our executives, our customers,

45:43

our shareholders, our CEOs, our boards, that yes, I believe this factory is working well.

45:48

And we think there's four components to this. The first is being crystal clear about the intent.

45:57

If you don't know what you're trying to build, you can't tell the agent what to build,

46:00

and you will not get the outcome you want. The second is guide rails. And we very specifically

46:06

talk about guide rails, not guard rails. Guard rails prevent something from going off the road.

46:12

guide rails help keep you on it and I think what agents need are the small

46:16

nudges to guide and govern those agents the third part is verification that needs

46:22

to be independent thorough and issues fixed as opposed to just cans kicked

46:28

down the road and then lastly evidence trust but verify trust but understand

46:34

that it was done with proof that is consistent auditable and repeatable and

46:39

And we multiply these together because we've seen a number of situations where one of these

46:44

elements is missing.

46:45

And if it's zero, the confidence goes to zero.

46:48

If you do all of this but don't have evidence, you go to zero.

46:52

You don't have confidence in the outcome.

46:55

So we really think about factory design as requiring these four elements.

47:02

And as we put together factories, as we help customers, I'm not going to walk through every

47:06

box on this page but as we help our customers and partners build these software factories

47:12

we're very deliberate about how do you get the intent bottom left hand side in purple

47:16

how do you put the guardrails in place how do you do verification in a way that's thorough and

47:22

independent and how do you produce the evidence and by doing this we see amazing results so these

47:29

are real results now from our from our customers the first one is focusing on intent and guide

47:35

rails and intent in guide rails we have a product called sonar vortex which gives intent guide

47:40

rails and in the agentic loop starts to do verifications again nudging the agents and what

47:45

we see when we provide agents in long running in large complex code bases with long running tasks

47:52

with this information is a 36 percent reduction in token cost because you're putting it in white

48:00

planes you actually you're putting it close to the answer you're helping it understand

48:03

the map. You don't have to burn tokens on things we already know. And 92% reduction in issues in

48:10

the commit. So it's cheaper and we can get a better outcome to go into that verification stage.

48:17

This is again all because we're nudging the agent to keep on track.

48:22

Then you get to verification. And we started life as a verification company. This is how we see the

48:29

world is through a verification lens. And we have a very strong point of view that independent

48:33

verification has to cover the full range of issues that is both precise and cost effective.

48:41

Use CPUs when you can use CPUs, use GPUs when you need GPUs. So we look at deterministic mixture of

48:49

methods, and then you add in agentic mixture of methods, and it comes up with what we think is

48:54

the gold standard of verification. And what we see is when you apply this, our product is called

49:00

SonarQube. So we talked to our customers, over a thousand customers recently, and we said,

49:08

how likely are you or how often have you seen these issues from Agenda coding? And the statement

49:16

to read here is SonarQube users are X percent more likely than non-users to have seen a very

49:21

positive impact. So 81 percent more likely to have seen, to believe that AI coding has had a very

49:27

positive impact on code security if you have that gold standard for verification.

49:34

34% more likely to have seen an impact on time to market, 76% on outage frequency.

49:43

So again, as I come back to how do we have confidence to ship, what we're seeing is

49:48

that if you put these pieces together and you build verification incredibly strongly

49:54

as a first-class citizen in the factory,

49:57

you are actually building confidence

49:59

and you're seeing

50:00

results. Better security, more confidence in our time to market, improved or a reduction in number of outages, improved reliability.

50:10

And of course, as I mentioned, you have to do this with evidence. Make sure you pass the quality gate. Make sure whatever, there's lots of acronyms up here, whichever ones you need to pass, whether that is your IT general controls inside of your

50:25

internal controls and operations, whether that's MISRA if you're building cars,

50:29

or any of the other ones that are on here, producing the evidence is what lets you sleep at night.

50:34

It's what gives you confidence that you can move forward.

50:38

So that, in essence, is how we think about the challenge of the future, that code

50:43

is abundant, that confidence is scarce,

50:48

and really the goal that we have and that we think

50:52

that everyone should have as we think about the future of software development is how do we deliver

50:58

confidence and the factories of the future need to be able to deliver confidence. So with that,

51:04

I want to say thank you to everybody. We have a big booth. It's a big red booth

51:09

on the floor right over that way and would love to talk to you more about all of this.

51:15

Thank you very much. Have a great morning.