谷歌工程师发布“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:基于AI的Linux内核代码审查工具 谷歌工程师发布了“Sashiko”,这是一款基于智能体的AI工具,旨在协助审查提交给Linux内核的代码变更。该系统分析补丁并识别潜在的错误,据报道,在最近的一组测试中发现了约53%的问题——这些问题最初被人工审查员遗漏。 讨论的重点在于该工具的潜在优势和劣势。一些人认为它对负担过重的内核维护者来说是一个有价值的帮助,而另一些人则对误报以及可能用无关报告淹没开发人员表示担忧,这与curl等其他开源项目中AI生成的错误报告中出现的问题相呼应。 一个关键的争论点是,该工具是否会受到内核开发人员的欢迎,以及它对风格和结构的关注是否会给开发过程增加不必要的阻力。Sashiko使用Rust构建,并利用Gemini模型,它被呈现为开发人员可以选择使用的工具,而不是强制集成。
相关文章

原文
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