EO Erik Onarheim Erik Onarheim Software developer in Minneapolis who created Excalibur, an open source game engine for the web.

“It kind of aligns with the whole premise that I put in No Sloptober, which is, I'm trying to coin my own software engineering law, Onarheim's law, that agents can only increase entropy. Humans are the only things capable of decreasing it. I'm not saying that humans always decrease entropy.”

TypeScript.fm - The Friendly Show for TypeScript Developers · Hands-On Engineering Podcasts · November 2026

“It kind of aligns with the whole premise that I put in No Sloptober, which is, I'm trying to coin my own software engineering law, Onarheim's law, that agents can only increase entropy. Humans are the only things capable of decreasing it. I'm not saying that humans always decrease entropy.” — Erik Onarheim, TypeScript.fm - The Friendly Show for TypeScript Developers

Context

Erik introduces a conference talk by an engineer who let AI agents refactor a codebase for three weeks and then read the result. He says it matches his own experience that agent-driven code turns into a mess.

Transcript

TypeScript.fm - The Friendly Show for TypeScript Developers Around 50:52 into the episode
Erik Onarheim

right. Big friendly giant. Big friendly deal.

Kamran Ayub

Love it.

Erik Onarheim

So there's a really interesting video that I watched that I do agree with. And it kind of aligns with the whole premise that I put in No Sloptober, which is the, I'm trying to coin my own software engineering law, Onerheim's law, that agents can only increase entropy. Humans are the only things capable of decreasing it. I'm not saying that humans always decrease entropy. But I think that's exactly what happened to this fellow in this video by AI Engineer. It's by KG Kanazawa at Microsoft. And they talk about how they went with the vibes and the vibes didn't go so well. And it became a whole giant mess.

Kamran Ayub

Yeah. And to be clear, if your reaction to that is, well, I can prompt the agent to reduce entropy. That's exactly what Eric means.

Erik Onarheim

You need a human

Kamran Ayub

in there because the issue is that if you let the agent left to its own devices, left on its own Ralph loop or whatever you're doing, it will just increase entropy. It will never remove entropy.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

More from TypeScript.fm - The Friendly Show for TypeScript Developers