How this startup uses AI agents to eliminate bugs and optimize infrastructure
Ankur Goyal, CEO of BrainTrust, joins Claire Vo to explain how AI coding agents can solve complex infrastructure problems that engineers usually avoid because they are too costly or risky.
The gist
-
Let AI agents run exhaustive benchmarks against production-like data to find solutions, like Bloom filters, that no single engineer has time to test manually.
-
Treat evals like a product requirements doc: encode success criteria with test cases so agents can work autonomously and you can catch mistakes before shipping.
-
Goyal blocks all meetings after noon to get uninterrupted coding time, running 4 to 6 foreground agents in separate tmux sessions alongside remote agents for heavy compute.
-
Invest in fast, reliable CI so agents can move quickly and ship quality code, because slow CI tempts teams to ship broken work.
"We recently added this fancy index thing into Braintrust that uses Bloom filters. Bloom filters kind of have a bad reputation, but they worked out to be very effective in this case. We discovered that that would be a practical solution to the problem after running like a week ..."
▶ Play at 9:46"I think it's currently the only model that will disagree with you regularly. And I think if you're working on hard problems, it's very important."
▶ Play at 17:25100 creators recommend it, including Riley Brown, Dan Shipper, and John Coogan.
See all on the Codex page"Let's use Claude and give it a shot. This one is a little bit cleaner and it actually wrote a prompt. Let's use a smarter model."
▶ Play at 29:41256 creators recommend it, including Riley Brown, Chris Koerner, and Jason Calacanis.
See all on the Claude page"I have usually five or six foreground agents running on my computer. Each one is a tmux session. Right now I have four things I'm working on. So each one is a tmux session. They're named Braintrust One through Braintrust 4."
▶ Play at 15:42"We spend a lot more time working on CI than we used to. A lot of platform effort has shifted so that if we are really good at CI then we're able to move faster. If we feel like we're constrained, instead of shipping a bunch of crappy stuff we're like, okay, let's pause and imp..."
▶ Play at 35:44What they recommend · 9 picks
AI tools
4 picks · Ankur Goyal and Claire Vo
“I think it's currently the only model that will disagree with you regularly. And I think if you're working on hard problems, it's very important.”
“Codex for hard problems, people. I'm telling you.”
“We were also playing around with Context7 which indexes docs for you.”
Productivity
2 picks · Ankur Goyal ·Ankur's productivity →
“We spend a lot more time working on CI than we used to. A lot of platform effort has shifted so that if we are really good at CI then we're able to move faster.”
“We recently added this fancy index thing into Braintrust that uses Bloom filters. Bloom filters kind of have a bad reputation, but they worked out to be very effective in this case.”
Software & apps
2 picks · Ankur Goyal ·Ankur's software & apps →
“We use an index underneath the scenes called Tantivy which has a built-in column store, but it's not that great. The thing overall is great but their column store is not that great.”
Other picks
1 pick · Ankur Goyal
“In the Paul Graham framework of maker versus manager schedule, every day I'm able to enter the level of focus that's required to be in the maker schedule. I don't take any meetings after 12.”
Ankur Goyal
8 picks · guest
“I think it's currently the only model that will disagree with you regularly. And I think if you're working on hard problems, it's very important.”
“We spend a lot more time working on CI than we used to. A lot of platform effort has shifted so that if we are really good at CI then we're able to move faster.”
“We recently added this fancy index thing into Braintrust that uses Bloom filters. Bloom filters kind of have a bad reputation, but they worked out to be very effective in this case.”
Claire Vo
1 pick
“Codex for hard problems, people. I'm telling you.”
Also mentioned
Ads in this episode
Guru, Persona. They're paid, so we keep them out of the picks above.
See what How I AI recommends without being paid →Related episodes
Episodes covering similar topics