The TWIML AI Podcast · AI Builders · December 2026
Charrington asked what it means to tool an agent for kernel optimization. Ho describes the recipe: point it at the repo and the chip documentation, give it a verifiable metric, and let a swarm explore.
…like is you basically point your agent to your repo. You give it access to your repo. Or, you know, let's say you don't have a repo. Let's say you're using someone else's, but let's say you point it to their documentation, to a description of their architectures, instructions. Meaning, in this
case, a description of the ISA or the chip. That's right, the description of the
ISA, description of how the memory is laid out and stuff like that. And you basically, Give it, again, a pointer to your repo of your kernels or your software, and you basically give it a lot of prompting to optimize it, and you give it a good metric. The key thing here, you got to give it a good metric that it can like hill climb against, essentially, right? And so, when you do that and you set off a swarm of agents doing this, they can explore different paths, they can explore different ways to optimize it. Our experience has been that you will get, you will be very surprised by the results because on even very well-optimized kernels, very well-optimized like hardware descriptions, these agents are able to find optimizations that are just like humans have difficulty getting to because of just the raw number of things they have to consider. And, you know, agents are able to explore a lot of things and try different things. And they have a global understanding of both architecture and the software and pull it all together. So we've been really surprised by that in a great way. And now we're kind of really like leaning in heavily to it. And we're trying to…
When you talk about giving the agents a metric to go against, are those metrics kind of the natural language metrics that we talked about before, latency, efficiency, that kind of thing? Or what goes into translating those to the agent?
I mean, at a top level, that's exactly what it is. So you have to, let's say it's like, you know, please optimize my time between tokens for a kernel, right? So that will, you know, obviously reduce the latency for things. As long as you give the agent a good way to measure that, right? So you can…
I would think of all places it would be hard to surprise folks at OpenAI about the capabilities of agents. So to hear you say that you are surprised.