Skip to main content

Mr1Tech

Linus Torvalds Vibe Codes: When Is Vibe Coding Safe?

Vibe coding means describing what you want in plain English, letting an AI coding tool write the code, and judging the result mostly by whether it runs. You don't read every line. For a weekend toy that's fine. For a client's checkout page it can go badly wrong.

It's back in the conversation because Linus Torvalds, who created Linux and Git, keeps turning up in AI coding stories. Here's what he actually did, what changed in mid-October, and a plain checklist for deciding when vibe coding is safe for your own side projects or client work. Facts checked against LWN, The Register, Phoronix and Torvalds's own repo on 17 Oct 2026 (SAST).

We only recommend what we'd use.

What vibe coding actually is

You tell the tool what you want. It writes the code. You run it, see what happens and ask for changes. The judgement is "does it work?", not "do I understand it?".

That's the difference from ordinary AI-assisted coding. There, the AI drafts and you read, test and own every change. Same tools, very different level of risk.

The Torvalds example, dated properly

The story most people have heard is from January, not October. In the README of AudioNoise, a hobby repo of random digital audio effects, Torvalds wrote that the Python visualizer tool "has been basically written by vibe-coding". He added that he knows more about analog filters than he does about Python, and that he "just used Google Antigravity to do the audio sample visualizer".

Ars Technica reported this on 12 January 2026 and made a useful point: AudioNoise is a personal hobby project, pretty much a toy, not serious infrastructure. Torvalds didn't say which AI model sat behind Antigravity.

Why it's back in the news in October

Kernel patches written with Claude Code

Torvalds has now used an AI coding assistant on Linux itself. Phoronix spotted a new branch in his kernel repository on 11 October. In the main patch message, Torvalds wrote: "The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction. The measurements were run on my machine."

On 14 October, LWN reported that he had posted the patch series for review. LWN says the result is an order-of-magnitude speedup on one read()-heavy benchmark. It also says review has already found a race condition, a timing bug, "so further work will be needed".

As of 17 October the patches are not merged. They're under public review, and Phoronix says it remains to be seen whether Torvalds merges them for the upcoming Linux 7.4 merge window.

"UTTERLY STUPID" rules

On 14 October, The Register reported that kernel developers have agreed to drop the "Assisted-by" tag, which asked contributors to declare when they'd used AI tools on a patch. When one developer argued for keeping some form of disclosure, Torvalds pushed back hard. He mocked the idea with pretend rules banning compilers and editors from kernel work, then asked: "Do you not see how UTTERLY STUPID those kinds of rules would be?"

The part that matters more for the rest of us came straight after. As The Register prints it, Torvalds wrote: "I expect people to understand what they are doing." In his view, that understanding has very little to do with which tools you use.

Toy versus real code: what Torvalds's two projects show

Put the two stories side by side and the pattern is clear. The hobby visualizer, in a language he says he doesn't know well, was vibe coded. The kernel work was done with AI "under my direction", measured on his own machine and sent to other experts to pick apart. They've already found a bug.

So the lesson isn't "Torvalds vibe codes, so I can too". It's that he lets the AI loose where a mistake costs nothing, and keeps full ownership where a mistake costs a lot.

When is vibe coding safe?

A rough guide for freelancers and side-project builders:

JobVibe code it?Why
Personal tools and prototypesYesIf it breaks, only you notice
Throwaway scriptsYesRun once, then deleted
Learning a new languageYes, and read the outputYou learn by asking why it works
Internal mock-ups with no real dataUsuallyLow stakes, if nothing sensitive goes in
Client production codeNoYou're accountable for every line
Payments, logins, personal dataNoBugs here cost money and trust
Anything security-relatedNoSmall mistakes become open doors
Code you can't explainNoIf you can't explain it, you can't fix it

The last row is the test that covers the rest. If a client asks "what does this part do?" and your honest answer is "the AI wrote it", it isn't ready to ship.

A five-step checklist before you ship AI-written code

  1. Read the diff. Look at every change the tool made, not just the file you asked about, so nothing slips in unnoticed.
  2. Run the tests. If there aren't any, ask the tool to write some, then check they test something real.
  3. Keep secrets out of prompts. No passwords, API keys or client data pasted into a chat.
  4. Use version control. Commit before each AI session so you can roll back a bad change in seconds.
  5. Get a human review. For client work, someone who understands the code checks it before it goes live. Even Torvalds's patches are going through review.

If you're choosing tools for this kind of work, our comparison of Bolt.new, Lovable and v0 for client MVPs covers the app builders. For longer jobs, see when freelancers should move from one-off chats to Cursor Projects, and our look at JetBrains Air for freelancers.

Bottom line

Use vibe coding to get unstuck, sketch an idea or build a tool only you will use. Don't use it to skip understanding code someone else is paying for. Torvalds's own split says it well: AI for the toy, AI under close direction plus public review for the real thing.

We'll update this post if the kernel patches are merged or the review changes them. You can see how we check claims like these on our how we review page.

Featured photo: Code on a laptop screen. Photo: Syirwan Ainu / Pexels

Sources: LWN: Linus Torvalds's first LLM-assisted patch series (14 Oct 2026); The Register: Linux kernel devs drop obligatory confession of AI tool usage (14 Oct 2026); Linus Torvalds: AudioNoise repo and README (GitHub); Phoronix: Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code (11 Oct 2026); Ars Technica: Even Linus Torvalds is trying his hand at vibe coding (12 Jan 2026).

Leave a Reply

Your email address will not be published. Required fields are marked *