WhoBuilt

fighting slop with slop

Jul 31, 2026· 22 min· 6.8K views·Watch on YouTube

Speaker

Vaibhav Gupta of Boundary, speaking at AI Engineer, explains how his team uses AI agents, internal tooling, and a programming language called BAML to manage code quality without code reviews or standardized AI tools.

Let engineers choose their AI tools

Gupta says the team lets engineers use different AI tools and instead maintains a small architecture.md file with stable compiler layers and guidance to consult another person on deeper changes. This gives engineers a shared reference without prescribing which model or coding assistant to use.

Make design docs worth reading

The team built a versioned design-doc tool with comments and Slack notifications when documents change. Gupta says the notifications drew readers to new proposals, but his own burst of ten documents a day became noise. The team then required people to read a design doc before it could ship, which raised the quality of the documents.

Use tools to track architecture and agent output

A dependency graph helps the team see package boundaries and changes, while CLI checks can enforce architectural rules. Gupta also describes agents generating BAML programs, then having agents and humans inspect their transcripts for errors, wasted tool calls, and issues that need fixes. The team can A/B test language features against tool-call counts and correctness.

Build code tools for agents and people

Gupta demonstrates visualizing code through linked diagrams and execution traces, so engineers can explore a system and inspect specific lines or runtime behavior when needed. He also describes tools that combine source, documentation, and usage information in one query, and expose functions as type-safe CLI commands. These are intended to help engineers and agents understand and run code with fewer steps.

Use BAML to make behavior more predictable

Gupta argues that language design can prevent errors from being obscured by nested try-catch blocks: BAML infers which errors functions can throw and lets the compiler check whether they are handled. He says BAML functions can be called from languages including Python, TypeScript, Rust, Go, Ruby, and Java, with types, async calls, and closures crossing language boundaries. His broader point is that engineering processes and foundational tools need to evolve as teams rely more on agents.

Takeaways

  • Keep shared AI instructions short and focused on architectural facts that change infrequently.
  • Pair design-document notifications with a clear expectation that reviewers read the proposal.
  • Use automated checks to enforce package boundaries and catch architectural drift.
  • Evaluate agent-generated work for correctness and wasted steps, then turn recurring problems into fixes.
  • Make system behavior easier to inspect through traces, code navigation, and typed interfaces.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • uses
    “When Claude builds a new package or adds a leaky dependency”
    YouTube
    Unverified1 source· Talk
  • uses
    “We built a system that has agents constantly running and creating BAML programs.”
    YouTube
    Unverified1 source· Talk
  • feature
    BAML: Infers error types and supports compiler checks for exhaustive error handling.
    “error types now get inferred”
    YouTube
    Unverified1 source· Talk
  • feature
    BAML: Functions can be called from Python with type safety, including async functions.
    “I'm calling the BAML calculate function directly from Python, and it's completely type-safe.”
    YouTube
    Unverified1 source· Talk
  • feature
    BAML: Supports passing lambdas, generics, and closures across language boundaries.
    “you can even pass Python lambdas across the bridge. You can pass generics across the bridge. You can pass closures.”
    YouTube
    Unverified1 source· Talk
  • metric
    Boundary: One engineer built a partial C compiler purely in BAML.
    “one of our engineers built a partial C compiler purely in BAML”
    YouTube
    Unverified1 source· Talk

Related talks