{"slug": "how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal", "title": "How Braintrust uses AI agents, evals, and CI to ship better software | Ankur Goyal", "summary": "Ankur Goyal, founder and CEO of Braintrust, explained how AI agents can run exhaustive benchmarks and perform deep technical work like database optimization, and argued that evals are essential for shipping better software. He demonstrated using Codex to run week-long experiments and shared frameworks like the 'agent line' for deciding when to delegate to agents.", "body_md": "In this episode, I sit down with **Ankur Goyal**, founder and CEO of Braintrust, the AI evals and observability platform used by teams like Notion, Stripe, Vercel, and Zapier. This one is for the senior engineers, staff engineers, VPs of engineering, and CTOs in my audience. We get into how coding agents can take on deeply technical architecture and infrastructure work that no single human engineer could tackle before, and then we demystify evals so you can use them to make your AI products better without touching the implementation.\n\n**Listen or watch on YouTube, Spotify, or Apple Podcasts**\n\n### What you’ll learn:\n\nHow Ankur uses Codex to run week-long benchmark experiments across database indexes, column store formats, and execution engines to speed up slow queries\n\nWhy he argues there’s no excuse to skip rigorous benchmarking now that agents can run them tirelessly\n\nThe “agent line” framework: how to decide which decisions, directions, and interactions you can hand off to an agent\n\nHow I think about the practical vs. theoretical quality of AI on hard technical problems, and why human attention decays on tedious work\n\nWhy evals are the modern version of a PRD, and how to encode “what good looks like” so a model can figure out the “how”\n\nHow to build a scoring function live and let an agent improve your prompt inside a safe playground\n\nHow Ankur turned his designer David’s taste into a repeatable eval so quality scales beyond one person\n\nWhy fixing your CI is the highest-leverage way to speed up engineering velocity\n\n### Brought to you by:\n\n** Guru**—The AI layer of truth\n\n** Persona**—Trusted identity verification for any use case\n\n### In this episode, we cover:\n\n([00:00](https://www.youtube.com/watch?v=QE_1hRLsehM)) Introduction to Ankur Goyal\n\n([03:00](https://www.youtube.com/watch?v=QE_1hRLsehM&t=180s)) Using AI agents for database optimization\n\n([06:10](https://www.youtube.com/watch?v=QE_1hRLsehM&t=370s)) Running exhaustive benchmarks with coding agents\n\n([09:03](https://www.youtube.com/watch?v=QE_1hRLsehM&t=543s)) Why staff engineers are wrong about AI limitations\n\n([11:30](https://www.youtube.com/watch?v=QE_1hRLsehM&t=690s)) The “agent line” framework for delegation\n\n([14:00](https://www.youtube.com/watch?v=QE_1hRLsehM&t=840s)) Ankur’s workflow: running 4 to 6 concurrent agents\n\n([17:16](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1036s)) Technical setup: foreground agents, background agents, and cloud environments\n\n([20:32](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1232s)) Spending time with AI tools\n\n([23:06](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1386s)) Demystifying evals\n\n([26:02](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1562s)) Live demo: Building an eval for documentation answers\n\n([30:20](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1820s)) The alternative to evals: vibe checks and whack-a-mole\n\n([32:09](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1929s)) Capturing designer taste in scoring functions\n\n([33:13](https://www.youtube.com/watch?v=QE_1hRLsehM&t=1993s)) Quick recap\n\n([33:44](https://www.youtube.com/watch?v=QE_1hRLsehM&t=2024s)) Managing velocity and throughput\n\n([35:40](https://www.youtube.com/watch?v=QE_1hRLsehM&t=2140s)) Why CI/CD investment is critical for AI-accelerated teams\n\n([37:30](https://www.youtube.com/watch?v=QE_1hRLsehM&t=2250s)) Ankur’s prompting strategy when agents fail\n\n([39:10](https://www.youtube.com/watch?v=QE_1hRLsehM&t=2350s)) Closing thoughts and how to connect\n\n### Tools referenced:\n\n• Braintrust: [https://www.braintrust.dev/](https://www.braintrust.dev/)\n\n• Codex: [https://openai.com/codex/](https://openai.com/codex/)\n\n• GPT 5.4: [https://developers.openai.com/api/docs/models/gpt-5.4](https://developers.openai.com/api/docs/models/gpt-5.4)\n\n• Claude: [https://claude.ai/](https://claude.ai/)\n\n### Other references:\n\n• GPT 5.5 just did what no other model could: [https://www.lennysnewsletter.com/p/gpt-55-just-did-what-no-other-model](https://www.lennysnewsletter.com/p/gpt-55-just-did-what-no-other-model)\n\n• Paul Graham’s Maker vs. Manager Schedule: [http://www.paulgraham.com/makersschedule.html](http://www.paulgraham.com/makersschedule.html)\n\n• tmux: [https://github.com/tmux/tmux](https://github.com/tmux/tmux)\n\n• Chris Tate at Vercel: [https://www.linkedin.com/in/ctatedev/](https://www.linkedin.com/in/ctatedev/)\n\n### Where to find Ankur Goyal:\n\nLinkedIn: [https://www.linkedin.com/in/ankrgyl/](https://www.linkedin.com/in/ankrgyl/)\n\n### Where to find Claire Vo:\n\nChatPRD: [https://www.chatprd.ai/](https://www.chatprd.ai/)\n\nWebsite: [https://clairevo.com/](https://clairevo.com/)\n\nLinkedIn: [https://www.linkedin.com/in/clairevo/](https://www.linkedin.com/in/clairevo/)\n\nProduction and marketing by [https://penname.co/](https://penname.co/). For inquiries about sponsoring the podcast, email [[email protected]](/cdn-cgi/l/email-protection).", "url": "https://wpnews.pro/news/how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal", "canonical_source": "https://www.lennysnewsletter.com/p/how-braintrust-uses-ai-agents-evals", "published_at": "2026-06-15 12:04:03+00:00", "updated_at": "2026-06-15 12:39:13.546985+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-products", "developer-tools", "large-language-models"], "entities": ["Braintrust", "Ankur Goyal", "Notion", "Stripe", "Vercel", "Zapier", "Codex", "OpenAI"], "alternates": {"html": "https://wpnews.pro/news/how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal", "markdown": "https://wpnews.pro/news/how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal.md", "text": "https://wpnews.pro/news/how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal.txt", "jsonld": "https://wpnews.pro/news/how-braintrust-uses-ai-agents-evals-and-ci-to-ship-better-software-ankur-goyal.jsonld"}}