谷歌工程师发布“Sashiko”,用于代理AI代码审查Linux内核。
Google Engineers Launch "Sashiko" for Agentic AI Code Review of the Linux Kernel

原始链接: https://www.phoronix.com/news/Sashiko-Linux-AI-Code-Review

谷歌已开源**Sashiko**,这是一款基于人工智能的代码审查系统,专为Linux内核设计。Sashiko 使用谷歌的 Gemini 3.1 Pro 开发(但兼容 Claude 等其他 LLM),此前已在内部使用,现在正在审查发送到 Linux 内核邮件列表的*所有*提交。 初步测试表明,Sashiko 识别了最近内核问题中带有“Fixes:”标签的约 **53% 的错误**——重要的是,这些错误是**人工审查员遗漏的**。虽然并非完美,但这表明了显著提高代码质量的潜力。 谷歌正在资助 Sashiko 的运营和基础设施,项目托管正在过渡到 Linux 基金会。代码可在 GitHub 上找到,补丁审查的网页界面位于 [Sashiko.dev](https://sashiko.dev)。这标志着人工智能代理集成到开源内核开发的关键流程中的一步。

谷歌工程师发布了“Sashiko”,一个旨在审查Linux内核代码的智能体AI系统。该项目在Hacker News上讨论,旨在利用AI进行代码分析和潜在改进。 最初的反应不一。许多人认为AI辅助代码审查具有潜力,尤其是在错误检测方面,但也有人担心将其应用于像Linux内核这样庞大且成熟的项目。一位评论员担心Sashiko过于关注风格上的更改,这可能会阻碍开发,并提倡使用AI通过有针对性的测试来*发现*错误。 还有人质疑AI在编码方面的可靠性,指出即使对于简单的任务,它也往往需要大量的人工监督。然而,反方观点认为,即使发现一个被遗漏的错误也证明了努力的价值,因为误报只会浪费时间,而引入错误则不然。
相关文章

原文
Google engineers have been spending the past number of months developing Sashiko as an agentic AI code review system for the Linux kernel. It's now open-source and publicly available and will continue to do upstream Linux kernel code review thanks to funding from Google.

Roman Gushchin of Google's Linux kernel team announced yesterday as this new agentic AI code review system. They have been using it internally at Google for some time to uncover issues and it's now publicly available and covering all submissions to the Linux kernel mailing list. Roman reports that Sashiko was able to find around 53% of bugs based on an unfiltered set of 1,000 recent upstream Linux kernel issues with "Fixes: " tag.

"In my measurement, Sashiko was able to find 53% of bugs based on a completely unfiltered set of 1000 recent upstream issues based on "Fixes:" tags (using Gemini 3.1 Pro). Some might say that 53% is not that impressive, but 100% of these issues were missed by human reviewers."

Roman's announcement can be read on LinkedIn. Sashiko was designed for Google Gemini Pro 3.1 but should work work with Claude and likely other LLMs too.

Sashiko AI code review


Google is funding the Sashiko token budget and infrastructure while the project hosting is being moved to the Linux Foundation. The code itself is open-source on GitHub.

Sashiko.dev


Those wanting to check out the web interface to Sashiko for this upstream agentic code review of Linux kernel patches can find it at Sashiko.dev.
联系我们 contact @ memedata.com