The alpha, twice a week
That was 5 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
The TWIML AI Podcast · 5 min · Dec 1, 2026
Agents can optimize kernels when given a measurable target
Richard Ho describes giving agents architecture details, kernel code and a measurable objective, then letting them search for optimizations.
The episode’s best minutes
Full analysis- 1:45One flexible chip can avoid stranded inference capacity4 min
- 18:25Agents can optimize kernels when given a measurable target5 min
- 32:56Realized performance can matter more than peak specifications4 min
- 5 more moments in the full episode
“The key thing here, you got to give it a good metric that it can like hill climb against, essentially, right?”
Takeaways
- Agents can explore many kernel optimizations in parallel.
- A verifiable metric lets agents measure progress accurately.
- Engineers still steer the search and check that results make sense.
About this segment
Richard Ho describes giving agents architecture details, kernel code and a measurable objective, then letting them search for optimizations. Reliable metrics and expert steering help turn that search into useful performance gains.
Richard Ho is VP of Hardware at OpenAI.

Sam Charrington, Host · Host, The TWIML AI Podcast
From “Why OpenAI’s Jalapeño Bets on Flexibility to Cut Inference Costs”, Dec 1, 2026. Watch the full episode
Answers “Are AI agents ready for real work?” See all 247 answers
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 18:31
Like, you know, there's some translation from the representation of the architecture to language, you know, maybe those are tools or something else. Like, what does that look like? Well, what it looks 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, you know, instructions set.
- 19:00
In this case, a description of the ISA or the chip architecture. That's right, a description of the ISA, a description of, you know, 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?
- 19:25
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 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.
- 20:03
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 make this available to our customers, our partners. You know, we have a program that we're running here where we are kind of working with a lot of our partners in order to kind of share this knowledge and experience with them. because I think that if we can get better infrastructure all around, that's good for us, that's good for everybody.
- 20:31
And so we're trying to do that very actively right now. 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, please optimize my time between tokens for a kernel.
- 21:01
So that will obviously reduce the latency for things. As long as you give the agent a good way to measure that. So you can give them a simulator or you can give them the real hardware. And the agent has a good way to measure that and know how it's doing accurately. It will optimize really well. It will do a really good job of finding that. So that's part of the key things to get is that kind of what we call a verifiable kind of metric path.
- 21:28
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. Well, I come from, you know, I come from hardware engineering, right? So I think we believe that we will get there. And sometimes how fast we get there is the surprise to me and my team a little bit, right? Me, maybe. Maybe just personally. Within the space of maybe three or four months, the agents became so much better at this.
- 22:00
When we started here, like, you know, three years ago, when we started looking at this seriously, maybe like, you know, two and a half years ago, you know, roughly that, the models did not have a lot of knowledge about hardware, to be honest, right? So there was very little in the training data. There were, you know, some open source repos and stuff like that. there was not a lot of really quality data there.
- 22:22
And so they were kind of like simplistic. Would you pass a coding interview for a hardware engineer? Maybe at the entry level, but not at the senior engineer level. Now, oh my God, they would come in as the most senior hardware engineer we could find with the level of understanding and capability. And I think the capabilities are actually even beyond that. They can do a lot of analysis now. and I think part of that is that we've been able to get more data we have our own internal knowledge and we're using our own kind of internal expertise to be able to excel, expedite that kind of knowledge training there as well within our own OpenAI models What are the implications of that on what the engineers who use Jalapeno need to know