Loading...

Skip to main content

Linus Torvalds on AI: Bots Reviewing Bots, and Vibe Coding as a Gateway

· 5 min read
Gergely Sipos
Frontend Architect at Aliz

In a recent keynote conversation with Dirk Hohndel, Linus Torvalds spent the first 25 minutes on patches, BitKeeper, Git and the kernel release cadence. The last ten were about AI. He talked about how AI review has changed kernel maintenance, and how he uses AI in his own projects.

This post summarizes those ten minutes, in my words rather than a transcript, and notes what I think applies to us.

AI Review Is Now Part of Kernel Maintenance​

The kernel has several AI tools that review patches in public on the same mailing lists developers use. The main one is Sashiko, maintained by Google in the open.

According to Linus, it has changed how people work:

  • Some subsystems now require it. A number of subsystems no longer accept a patch until Sashiko has reviewed it in public.
  • It is not always right. Some AI review comments are simply wrong. Linus doesn't blame the AI for that: human reviewers are sometimes wrong too.
  • AI review is a response to AI patches. The kernel is fighting a flood of AI-generated patches with a flood of AI-generated review. People joke about bots talking to bots, and he says it really happens.
  • The incoming patches are mixed. Some fix real, important security issues. Others target drivers nobody has touched in 20 years. A bot asked to find memory leaks doesn't care whether anyone still uses the code.
  • The net effect is positive, but costly. He thinks the code base is improving, but maintainers are stressed to the point where it is a problem.

Dirk's view was that review tools don't replace maintainers but make their job easier. Knowing that a tool has already checked for off-by-one errors and API misuse frees human attention for the rest.

At the Maintainers Summit the day before, about three quarters of the discussion was about AI: how to make both code generation and review less stressful and more useful.

How Linus Uses AI Himself​

Linus said his view of AI has gone through phases: from "not very good", to "interesting as a tool", to really liking it. Two points matter for context:

  • He does little kernel programming himself now. He sees his role as maintainer and technical lead, collecting the work others do.
  • He uses AI on his own toy projects, because he still enjoys programming.

The guitar pedal UI​

His example was a guitar effects pedal he builds as a hobby. He had already written the pedal's UI in C, running on a microcontroller with a small screen. It worked, but it looked like something from the '80s. He wanted a modern UI, and he is not a UI or JavaScript developer.

So he asked an AI to build it:

  1. The first one-shot prompt produced a bad result. The "give it a prompt and it does it" demos didn't match his experience.
  2. He kept prompting, because he knew what he wanted. In effect, he told it: here is my C version, which I know is correct; build the same thing with a nice front end.
  3. The final result impressed him.

The AI did the part he is bad at, and in some cases has no interest in learning. He stayed in charge of the parts he understands.

Vibe coding as a way in​

Linus's more surprising point was in favor of vibe coding, for beginners.

When he started programming around 1981, computers and the programs around them were simple. His early games were bad, but the bar was low, so he didn't feel ashamed of them. Today a beginner compares their first program with polished apps on their phone, and it is hard to feel their work is worth anything.

He thinks AI lowers that bar again. A beginner can build something that feels relevant, enjoy it, and keep going long enough to actually learn. He called AI a "gateway drug into programming."

He was equally clear about the limit. He still dismisses vibe coding for real projects. You have to be careful using AI for anything real and important. If you want really good code, you need to understand the code, and use AI as a tool rather than a toy.

What I Take From It​

  • AI review is a capacity tool, not a gate. The kernel uses it because AI-generated patch volume outgrew human review. We see the same pressure as agents open more pull requests (see Octoverse 2026). Automated review should catch the mechanical issues so reviewers can spend their time on design and intent. It doesn't replace the human approval.
  • Expect some wrong review comments. Treat AI review findings like a junior reviewer's: worth reading, not automatically worth acting on.
  • Volume is a cost even when the patches are valid. A bot finding real bugs in dead code still takes a maintainer's time. Pointing agents at code that matters is part of using them well.
  • Prompt from a working reference. Linus's result came from giving the model something he knew was correct and asking it to translate, not from a one-line request. That is the most reusable technique in the talk.
  • Use AI outside your expertise, but own what you ship. Using AI for the UI you can't write yourself is reasonable. For production code, the same rule as always applies: you need to understand what you are publishing.