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
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.
- Nov 27, 2026Karpathy Gave an AI Agent One File and 5 Minutes per Run: It Improves Model Training on Its Own
- Nov 27, 2026Open-weight model Sage-Med reads scans better than GPT-6.2-Sol: 57.7% correct answers vs. 51.2%
- Nov 27, 2026Local AI without the cloud on a PC with 8 GB RAM: a DevOps engineer runs llama3.2 at 4 tokens/s
- Nov 27, 2026Ant Group Releases 6B-Parameter Image Generator: No. 1 Open Model on Elo 1095
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.
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.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
