Malhar Ujawane

Quotes

Quote·

John Carmack on building blocks for agents

John Carmack: AI may write big projects from scratch, but that isn't the fastest, most secure or most token efficient way. Good building blocks matter.

AI may well be able to write massive software projects “from scratch”, but that almost certainly isn’t the fastest / highest performance / highest security / most token efficient way to do things. Good building blocks matter.

In addition to RL’ing the agents on final task loss, we should try to get them to regularize the building blocks as well. What would the standard library look like that makes the agents most effective?

It is likely at the limit that it turns out to be some alien organization of code, but given the existing human-bias in training, I bet that in the near term it would be lovely code that old programmers would appreciate.

I suspect the same could be said for mathematics, but that is out of my lane.

John Carmack (@ID_AA_Carmack), October 29, 2026.

“Most token efficient” is the phrase I’d underline. An agent that rebuilds auth or a date parser on every project pays for those tokens every time, and it produces code nobody has tested. Anthropic’s case for agents writing code against tool libraries instead of calling tools one at a time rests on the same idea: the library does the work, and the agent spends its tokens on the glue.

— John Carmack

Get new posts in your inbox

© 2026 Malhar Ujawane. Built with Astro.