Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHabr AI→ original

Nvidia Engineer Wants to Add Instructions for AI Agents to Linux 7.5 Kernel

An AI agent can write code, but it does not know the unwritten rules of the Linux kernel: which tag to add and how to format a commit. Sasha Levin of Nvidia wants to put these rules into the source tree in an agents/skills directory, as plain-text "skills" for agents. The request will go to Torvalds during the Linux 7.5 merge window at the end of December. For other projects, this suggests keeping process rules next to the code.

AI-processed from Habr AI; edited by Hamidun News
Nvidia Engineer Wants to Add Instructions for AI Agents to Linux 7.5 Kernel
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
First skills"Fixes:" tags, stable tags, commit text, KUnit tests
Key metric #2Levin maintains the kernel's LTS branches and has already used a neural network to search for patches to backport
Key metric #3Torvalds recently criticized the use of AI in an EXT4 pull request

Anyone who has tried to have an AI agent submit a patch to a large open-source project knows the problem: the model writes code but does not know the unwritten rules. Which tag to put in the commit, how to write the message, whether a test is needed. The Linux kernel has a particularly large number of such rules.

That is why Sasha Levin of Nvidia wants to put them directly into the kernel source as plain-text AI agent skills. These are not code that runs in the system. They are instructions that tell an agent how to act within the development process.

If everything goes to plan, they will be proposed for Linux 7.5. The "merge window" is the two weeks after a kernel release when Linus Torvalds accepts new changes.

For 7.5, it will open at the end of December.

Who is doing this and what already exists

Levin is one of the maintainers of the kernel's LTS branches, the versions with long-term support. According to Habr, in recent months he has been gathering resources for AI agents based on his own experience. He previously used neural networks to find fixes worth backporting to stable and LTS versions.

Now he wants to send this work to Torvalds. To do this, Levin asked for his agents Git branch to be removed from the linux-next repository, where changes are collected before the main merge. His explanation: the branch contains a set of agent skills that he plans to send to Linus.

The branch adds a new agents/skills directory to the source tree. The first skills cover practical tasks:

  • identifying "Fixes:" tags in patches, meaning specifying which commit introduced the bug being fixed;
  • selecting tags for stable versions so that a fix lands in the right branches;
  • finding other manifestations of an already fixed bug;
  • automatically drafting commit messages;
  • writing KUnit tests, the kernel's built-in framework for unit testing.

None of these items is about "writing a driver from scratch." This is the routine around a patch: it takes people time, and newcomers make the most mistakes there.

Why 7.5, and why it is not guaranteed

This is not a critical bug fix, and the Linux 7.4 development cycle is already nearing its end. That is why the proposal will most likely go to Torvalds in the 7.5 merge window. If the pull request raises no objections, AI-based tools will soon appear in the mainline kernel.

But the "if" is significant. In parallel, a large pull request for the EXT4 file system, intended for Linux 7.4-rc5, drew Torvalds' displeasure. He responded with a mailing list post criticizing the use of AI. The source material does not detail what exactly he wrote, so it is too early to draw conclusions about his attitude toward Levin's skills. One thing is clear: the kernel community is divided on AI, and the decision will not be a formality.

What this means for developers

First: project rules for an agent are convenient to keep in the repository. If you have complex contribution requirements, it is simpler to describe them in files next to the code than to repeat them in every prompt. Such files are versioned and go through the same review as the source code.

Second: instructions set boundaries. An agent that knows how to set "Fixes:" and stable tags is less likely to produce a patch that maintainers will have to rework. For maintainers, this is a potential reduction in workload, although people will still need to verify the results.

Third: the starting point here is the process, not code generation. Tags, commit texts, and tests can be checked by eye in a minute. For teams rolling out agents, this is a sensible order: first hand them routine work with a clear quality criterion, then move on to harder tasks.

The limitations are also obvious. Documentation does not guarantee that an agent will follow it. There are no public figures on how much the skills reduce revisions or review time. And it is unclear how the community will treat patches written with AI's help, given Torvalds' sharp reaction to the EXT4 pull request.

Two things are worth watching: whether agents/skills lands in Linux 7.5, and how Torvalds responds to the request. If the directory makes it into the kernel, it will be one of the most visible examples of AI agents being built into the processes of the largest open-source project.

Story

Key Questions Answered

Who is doing this and what already exists?

Levin is one of the maintainers of the kernel's LTS branches, the versions with long-term support. According to Habr, in recent months he has been gathering resources for AI agents based on his own experience. He previously used neural networks to find fixes worth backporting to stable and LTS versions. Now he wants to send this work to Torvalds. To do this, Levin asked for his agents Git branch to be removed from the linux-next repository, where changes are collected before the main merge.

Why 7.5, and why it is not guaranteed?

This is not a critical bug fix, and the Linux 7.4 development cycle is already nearing its end. That is why the proposal will most likely go to Torvalds in the 7.5 merge window. If the pull request raises no objections, AI-based tools will soon appear in the mainline kernel. But the "if" is significant. In parallel, a large pull request for the EXT4 file system, intended for Linux 7.4-rc5, drew Torvalds' displeasure. He responded with a mailing list post criticizing the use of AI.

What this means for developers?

First: project rules for an agent are convenient to keep in the repository. If you have complex contribution requirements, it is simpler to describe them in files next to the code than to repeat them in every prompt. Such files are versioned and go through the same review as the source code. Second: instructions set boundaries. An agent that knows how to set "Fixes:" and stable tags is less likely to produce a patch that maintainers will have to rework.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Nvidia Engineer Wants to Add Instructions for AI Agents to Linux 7.5 Kernel https://news.hamidun.com/en/news/18440/nvidia-engineer-wants-to-add-instructions-for-ai-agents-to-l

What do you think?
Loading comments…