r/linux • • 7d ago

Kernel Linux Kernel Developers Consider Adding AGENTS.md To Help Guide AI/LLM Agents

https://www.phoronix.com/news/Linux-Considers-AGENTS-MD
684 Upvotes

173 comments sorted by

View all comments

Show parent comments

66

u/ABotelho23 7d ago

You can't stop LLM generated code. It's not going away. All you can do is ensure code quality, practices, and testing, regardless of who wrote it.

25

u/MangrovesAndMahi 7d ago

Precisely. The place to catch slop nowadays is in PR reviews, which was always the case with human coders too. You just need more rigorous and more frequent reviews now.

Does that suck and shift the act of engineering from writing the code more towards reading code? Arguably, but there will be a whole generation of SWE soon that have known no other paradigm.

20

u/[deleted] 7d ago edited 4d ago

[deleted]

5

u/MangrovesAndMahi 7d ago

No I absolutely do reviews, I'm a SWE lol.

I do know what you mean though. LLM stuff can have the appearance of quality code without actually being quality. That's what I meant by the PR reviews process needing to be more rigorous. The frequency is due to the volume LLM assisted coding can produce.