How Braintrust uses AI agents, evals, and CI to ship better software | Ankur Goyal
- Host
- Claire Vo
- Guest
- Ankur Goyal, Founder and CEO of Braintrust
- Date
TLDR
Anur Goyal, CEO of Braintrust, argues that AI agents have eliminated the excuse for avoiding rigorous benchmarking and hard infrastructure work. He explains how his team uses fleets of foreground agents to exhaustively test database optimizations and encode expert taste into automated evals, shifting the engineer's role from manual implementation to defining precise success criteria. The conversation reframes evals as the modern PRD and warns that teams must become deletion-first, investing in CI and feedback loops to handle the velocity of agent-driven development.
Key takeaways
The "agent line" is rising, and many of the decisions engineers currently make now fall below it. Anur Goyal argues that engineers should reevaluate how they spend their time because many interactions and decisions they make can be delegated to agents. He personally runs 4 to 6 foreground agents in TMUX sessions and no longer takes meetings after noon to protect maker time. The best people actively push this line up by building skills and integrations for agents.
Coding agents outperform staff engineers on rigorous benchmarking and long-tail experimentation. Goyal, a 20-year database veteran, states that no human staff engineer runs as many rigorous benchmarks or tries as many algorithms manually as an agent can. Braintrust used agents to exhaustively test open-source column store formats and execution engines for query optimization, a task that would be impossible to justify sequestering senior engineers for. The practical quality goes up because agents do not lose context or suffer attention decay over days.
Evals are the modern replacement for PRDs. Machine learning shifts programming from how to what, and evals encode success criteria quantifiably. Goyal describes them as PRDs supplemented with examples and scoring functions that let models figure out the implementation. For example, Braintrust uses evals to test prompt quality for their documentation Q&A agent, generating scores for conciseness and code snippet accuracy rather than relying on manual spot checks.
Turning taste into evals amplifies human judgment rather than replacing it. Goyal describes the process of capturing their designer David's qualitative feedback into scoring functions, a practice he refers to as attempting to quantify David. This lets David's palette scale to more projects and raises the overall quality bar. The fear that systematizing expertise builds your own replacement is inverted: it makes the expert more valuable by applying their standard at scale.
There is no excuse for performance regressions or backlog when agents can enforce rigor. Braintrust operates with a near-zero backlog because agents allow them to systematically address paper cuts and performance issues. Goyal emphasizes that if someone complains about a problem, there is no reason not to fix it immediately. This changes the economics of infrastructure work from risky, 1-year staff-engineer projects to continuous background optimization.
Product building in the AI age is carving, not constructing. Velocity is so high that teams naturally overbuild; the discipline is removing complexity rather than adding it. When Braintrust's trace search confused users, they did not improve the powerful ranking algorithm but simplified the feature entirely. This requires investing heavily in CI to earn the right to move fast without shipping cruft.
Foreground agents with production-like data solve infrastructure problems humans cannot practically tackle. Goyal runs remote agents against near-real data sets to test latency between EC2 and S3 with thousands of concurrent reads. These experiments run for days and explore long-tail edge cases that human engineers would miss due to context decay. This approach makes high-risk core platform shifts safer than human testing because no person is directly touching production.
Engineering teams building AI products should prioritize creating a feedback pipeline from real-world data to evals above all else. Goyal states that an engineering team's number one job is not prompt engineering or picking frameworks but building a pipeline that summons real-world data and turns it into evals. He applies the same logic to traditional software engineering, where investing in CI is the equivalent feedback loop. This reframes infrastructure work as building platforms for agents rather than manually shipping features.
Insights and implications
The staff engineer's role is shifting from hands-on builder to rigorous problem definer and taste arbiter. As agents take over benchmarking and long-tail experimentation, the highest-leverage human work becomes crafting precise success criteria and encoding expert judgment into scalable scoring systems. This moves the organizational bottleneck from execution capacity to the ability to articulate and quantify quality.
The economics of core infrastructure work are inverting from high-risk, headcount-intensive projects to continuous background experiments. Because agents can test platform changes against production-like data for days without fatigue, companies will face pressure to adopt zero-backlog operations where performance debt is extinguished rather than triaged. Teams that treat agents as merely coding copilots will underperform those that treat them as always-on infrastructure researchers.
Agent velocity forces product teams to become deletion-first organizations where editorial judgment is scarcer than engineering throughput. Since agents generate features faster than humans can integrate them, the competitive advantage shifts to the sophistication of evals, CI discipline, and the willingness to remove complexity. Future high-performing teams will be distinguished by their removal loops and feedback pipelines, not their shipping cadence.