fighting slop with slop — Vaibhav Gupta, Boundary
Talk by Vaibhav Gupta (Boundary) on managing AI-generated "slop" code. He describes using cheap, always-running agents over other agents' transcripts to flag hallucinations, errored tool calls, and worse-performing approaches, layered on top of stable invariants like design docs, rules, and CLI checks that pinpoint where a codebase stops converging. Underneath, he argues for attacking the foundational layer from first principles: type systems (including inferred types and build-time guarantees like handled division by zero) that make whole error classes impossible, giving agents fast movement within unbreakable boundaries. This is the basis of BAML, which works across Python, TypeScript, and Rust. He closes by challenging viewers to build these detection tools themselves while constraining the systems beneath them.
# Video Identity Observations — "fighting slop with slop — Vaibhav Gupta, Boundary"
## Explicit Self-Description
- **Speaker identity**: "My name is Vaibhav" — later closes with "I'm Vaibhav, and I work on Bemo" (transcript also references "BAML"/"ML", possibly transcription artifacts of the product name).
- **Company affiliation**: Title credits "Vaibhav Gupta, Boundary"; transcript refers to "our team's engineering practices" and "our company."
- **Team size and history**: "It wouldn't have taken eight people... less than two years" — implies a small (~8 person) team building the language for ~3 years.
## Claimed Scope
- Building a **programming language** ("about 3 years ago we decided to build a programming language").
- Development of **agent-first tooling**: visualization, execution tracing, language-server-like introspection ("describe calculate for me"), universal CLI generation, and cross-language interop from "Python to TypeScript to Rust to Go to Ruby to Java."
- Advocacy for unconventional engineering practices: **no code reviews, parallel work, no AI standardization**, compensated by architecture.md invariants, design-doc tooling, and dependency-graph CI.
## Intended Audience
- **Engineers and engineering leaders** using or evaluating AI coding agents — talk is delivered to a live audience ("I know immediately what almost all of you are thinking", "How many of you have used TypeScript?").
- A **developer-conference / AI-tooling context** is demonstrated by mentions of Claude, Codex, Hacker News, and a call to action: "I want each of you to go home today and build these sloppy tools."
## Observable Presentation Patterns
- **Narrative/engaging talk style**: martial metaphor framing ("onslaught of war against slop", "Slop Sue", "skirmish of standards", "battle of design") and self-deprecating humor ("I'm clearly a millennial", "I cannot escape Vim").
- **Product-demo heavy**: extensive live demonstrations claimed (code visualization, tracing, error-type inference, cross-language lambda passing), though demos are only described in transcript, not shown verbatim.
- **Opinionated stance on AI-assisted development**: central thesis "slop is just any code you don't read" and "code can be slop, writing cannot."
- **Provocative contrarian claims**: no code reviews; "we can start building data-driven systems without ever writing a single line of code"; "I think we do need a new Git. I think we do need a new database."
## Claims vs. Demonstrated Evidence (Caution)
- All technical capabilities (zero-cost tracing, compiler-proven error handling, cross-language generics) are **creator claims within the talk**; the transcript contains descriptions of demos, not independent verification.
- The "partial C compiler built purely in BAML" by an engineer "just yesterday" is an anecdotal claim attributed to the speaker.
# Delivery Observations — "fighting slop with slop" (Vaibhav Gupta, Boundary)
## Overall Tone & Register
- **Casual, playful, and provocative.** Opens by calling his topic "a little silly at first" and immediately lists eyebrow-raising practices: *"We do no code reviews. We require every engineer to work on things in parallel."*
- **Self-deprecating humor** recurs: *"I can guarantee you I'm clearly a millennial"* and *"who does not know how to escape Vim to this day."*
- **Conspiratorial audience address:** *"And I know immediately what almost all of you are thinking."*
## Recurring Vocabulary & Catchphrases
- **"Slop" is the central repeated motif**, used dozens of times and deliberately redefined: *"Slop is just any code you don't read."* It frames the entire talk ("fighting slop with slop," "slop baked into the language").
- **War/battle metaphors throughout:** *"onslaught of war against slop," "skirmish of standards," "battle of design," "battle of architecture," "win this battle," "lose the war."* This is a stable structural pattern — each section is framed as a battle.
- **Punchy aphoristic rules**, stated as maxims:
- *"Code can be slop, writing cannot."*
- *"The code is always the source of truth."*
- *"The type system never lies."*
- *"Code is a matter of trust."*
- **Repeated temporal callback:** *"this is the least amount of slop that your code base will ever have. Cherish it."* — repeated nearly verbatim at the close: *"this is the least amount of slop your codebase will ever have to this day."*
## Teaching Habits & Rhetorical Moves
- **Rhetorical questions as pivots:** *"What is slop?"*, *"Would you genuinely ship code without reading it?"*, *"What if...?"* (the "what if" construction appears frequently in the demo section).
- **Deliberate contradiction/subversion:** he repeatedly sets up an expectation then flips it — *"And obviously, we do this, people use this. Well, sadly not."* This happens at least twice in the design-doc section.
- **Narrative framing device:** the "mentor" bit — *"I went to my great mentor. Slop Sue. And he taught me something. To to defeat the slop, we must become the slop."*
- **Numbered escalation of practices:** he introduces practices sequentially (standards → design docs → architecture → testing → tooling → language), a consistent progressive structure.
## Live-Demo Communication Patterns
- **Talks over running demos:** *"I'm going to let this run really quickly, but while it runs, I'll show you a different pipeline."*
- **Audience-guessing prompts during demos:** *"I'm going to write something and try and guess what this code does. Pretty safe. What about this one?"*
- **Playful labeling in demos:** *"Divide is dangerous. It's spooky."*
- **Spontaneous recovery from an error** (uncertain whether intentional): *"whoops"* and *"Oh, I'm sorry, wrong talk."*
## Filler & Disfluency
- Repeated stumbles and self-corrections: *"To to defeat the slop"*, *"some of them want want to use"*, *"which one took uh which one made less errors"*, *"We we What we started to do"*. This suggests an improvised, unscripted delivery style.
## Personal Aside at Close
- Shifts to earnest first-person biography: *"I fell in love with software about 15 years ago, and it was the first thing that truly changed the way I perceive the world."* This is an isolated tonal shift, not a recurring pattern.
## Uncertainty Notes
- Delivery pace, gestures, and visual emphasis cannot be assessed from the transcript alone.
- Whether moments like *"whoops"* and *"1 second"* were planned bits or genuine stumbles is not determinable from text.
# Position Record: "Fighting Slop with Slop" — Vaibhav Gupta (Boundary)
## Speaker
**Vaibhav Gupta**, engineer at Boundary, working on **BAML** (referred to near the end as "Bemo" in the transcript; earlier described as "ML"/"BAML").
## Core Thesis
- **"Slop is just any code you don't read"** — and current codebases contain the *least* slop they will ever have.
- To defeat slop, teams should **"become the slop"**: accept unread code but build tooling and invariants that make systems trustworthy anyway.
- Broader claim: foundational layers (TypeScript, JavaScript, Git, databases, languages) embed slop and may need rebuilding from first principles.
## Team Engineering Practices (stated)
- **No code reviews**
- **Every engineer works in parallel**
- **No standardization on how people use AI** (Claude, Codex, whatever's on Hacker News)
- Justification context: building a programming language, which "has absolutely no room for slop" and must remain correct for years.
## Specific Practices and Tools
### Standards
- **architecture.md** instead of Claude.md — a small, tool-agnostic file containing only invariants stable for months/years (e.g., compiler layers). Deeper compiler changes require the agent's author to "talk to at least one other person."
### Design Docs
- Rule: **"Code can be slop, writing cannot."**
- Built a design-doc tool (replacing Notion/GitHub; versioning, commenting) backed by Markdown + CLI scripts so agents can use it.
- Added a **Slack integration** notifying on doc updates; the channel became the most popular in the company.
- Admitted failure: he himself "hit a little bit of AI psychosis" and shipped 10 design docs a day, so the team "was fighting my slop."
- Fix: shipping a design doc **requires people to read it**, after which doc quality rose sharply.
### Architecture
- Tool visualizing the **dependency graph** with semantic boundaries and packages.
- **CLI tools guarantee invariants can't be broken** — when Claude adds a leaky dependency, CI/CD or git history pinpoints the break. Architecture unchanged for 3–4 months.
### Agent-Driven Testing / Improvement
- System where agents constantly generate **BAML programs from scratch**; full Claude transcripts are inspected by humans *and* agents.
- Agents detect not just errors but inefficiencies ("what took three tool calls when it should have only taken one").
- Humans collaborate to classify issues as real, hallucinations, or lacking "taste"; agents then write fixes.
- **A/B testing language features** deterministically (fewer tool calls, fewer errors, correct outcomes).
- Claim: this enables **data-driven systems "without ever writing a single line of code."**
## Central Argument on Scale
- Building a programming language previously would have taken "hundreds and thousands and tens of thousands of man-hours" and 8+ people over 2+ years; now achievable by "spending millions of tokens."
## The "Losing the War" Claim (key qualification)
- Despite winning battles against slop, he believes **"we're still going to lose the war"** because foundational tools are themselves broken.
- Examples: TypeScript's design goal balances correctness against *human* productivity, not agent productivity; implicit string coercion in sorting; JavaScript layered over (CoffeeScript → TypeScript) when "the thing underneath is already broken."
## BAML Feature Claims
- **Code visualization / navigation**: interactive, zoomable views linking to exact lines, letting humans "opt into" which code to read.
- **Execution traces**: near-zero-cost tracing showing time spent per program part; "in a world where we don't read all the code, the only way to understand the code is actually by the execution trace." Every file has a traceable system Claude can navigate to find bugs and inefficiencies.
- **Agent-first tooling**: semantic code queries ("describe calculate") returning docstrings, source, and usages in one tool call instead of many; external library introspection without web search.
- **Functions as CLI commands**: every function runnable standalone; functions bundlable into standalone CLI binaries; cross-platform builds including WASM.
- **Inferred error types**: functions provably know what they throw (e.g., division by zero propagates to callers); compiler gives **exhaustive guarantees** that errors are handled — "It's no more guessing."
- **Interoperability without rewrites**: BAML functions callable type-safely from Python, TypeScript, Rust, Go, Ruby, Java; lambdas, generics, and closures can pass across language boundaries; `with_timeout` guarantees work stops after a deadline. Explicitly framed as avoiding the "rewrite all your code" trap he acknowledges a new language normally implies.
- **No function coloring**, though async variants (e.g., `calculate_async`) are available.
## Trust Argument
- "Code is a matter of trust" — ML/AI code isn't used blindly because underlying systems lack **rigidity**; the type system should be "the absolute center of truth that prevents invariants from entering your codebase."
## Preserved Qualifications and Contradictions
- He repeatedly admits his tools alone failed to change behavior ("Well, sadly not") — people only engaged after Slack notifications and mandatory reading.
- He caused his own slop problem (10 docs/day) and had to be constrained by his own rule.
- "This isn't to say we all have to go do this right away" — on the new way of viewing code.
- Acknowledges a new language "is just going to come with a whole slew of new problems."
- Framing tension: wins battles against slop, yet predicts losing the war.
- "Code is always the source of truth… Except if you're working on some weird architectures."
## Closing Call to Action
- Build internal "sloppy tools"; make systems and processes more robust.
- For the "bravest": rethink foundational layers — **"I think we do need a new Git. I think we do need a new database, and yes, I think we need a new programming language."**
- Analogy: companies that resisted CI/CD slowed for ~3 months then moved faster; "Our processes have to evolve if we're going to ship at agent speed."
- Personal motivation: fell in love with software ~15 years ago and "genuinely don't want slop to win."
# Video Attribution & Provenance Record
## Video
- **ID:** 01a15ca8-2e85-7c73-b84f-2f91a1f14301
- **Title:** "fighting slop with slop — Vaibhav Gupta, Boundary"
## Speakers
| Speaker | Role | Evidence |
|---|---|---|
| Vaibhav Gupta | **Creator / presenter** | Self-introduced: "My name is Vaibhav and I'm going to talk about…" and closes "I'm Vaibhav, and I work on Bemo." Identified in title as affiliated with **Boundary**. |
No guests, narrators, or other speakers appear in the transcript.
## Speaker's Affiliation & Product Claims
- Speaker describes himself as part of a team that built a programming language ~3 years ago; the language is referred to as **BAML** (and "Bemo" in the closing line — noted verbatim; transcript shows both names).
- Speaker identifies himself as a millennial speaking to a startup-conference-style audience ("Zoomer YC startup" remark).
## Referenced / Quoted Third-Party Sources
- **"Slop Sue"** — cited by speaker as his "great mentor" who taught him "To defeat the slop, we must become the slop."
- **Hacker News** — mentioned as a place engineers find new AI tools.
- **TypeScript / JavaScript / CoffeeScript** — referenced as examples of layered/broken foundations; speaker quotes TypeScript's design goal as balancing "correctness and productivity" (with an asterisk for "human productivity").
- **Python** — claim: "Python has bugs 25 years later."
- **Tools named:** Claude, Codex, Notion, GitHub, Slack, VS Code, Vim, grep, Ripgrep, Rust, Go, Ruby, Java, WASM.
## Internal Claims (Unverified, Attributed to Speaker)
- Team practices: no code reviews, parallel work, no AI standardization.
- Built: `architecture.md` invariant file, a design-doc tool with Slack integration, a dependency-graph visualizer, agent-driven BAML program testing/AB-testing pipeline, cross-language FFI bridging with type-safe lambdas/closures.
- Claim: an engineer "built a partial C compiler purely in BAML" "just yesterday."
## Promotional Segments
- **Flagged:** The latter portion of the talk functions as a product demonstration for the speaker's own language (BAML/Bemo) — demos of tracing, error inference, CLI generation, cross-language calls — presented by an affiliated party (Boundary). No explicit sponsor or paid promotion is stated.
## Availability & Uncertainty
- **Curated metadata:** None supplied beyond the title.
- **Comment availability:** Not stated in source.
- **Timestamps:** None present in transcript.
- **Uncertainty:** Language name appears inconsistently ("BAML" vs "Bemo"); role title "Boundary" from video title only; no external verification of any claim.
\>\> Fighting slop with slop. My name is Vaibhav and I'm going to talk about something that is a little I would say maybe a little silly at first. I'm going to show you our team's engineering practices really quickly. We do no code reviews. We require every engineer to work on things in parallel. And we have no standardization on how people do AI.
And I know immediately what almost all of you are thinking. We're probably a Zoomer YC startup. And I can guarantee you I'm clearly a millennial. So what do we actually do at our company
without code reviews? Well, we built about 3 years ago we decided to build a programming language. That's something that has absolutely no room for slop. It's something that has to work every single time exactly the same way. It's something that you can't just change a year later or a month later because you made a bad design decision. You have to be correct. And for last 3 years we've been in an onslaught of war against slop. And when I first met this enemy, I went to my great mentor. Slop Sue. And he taught me something. To to defeat the slop, we must become the slop. So we began and we prepared and then we started winning. So when we think about it, what is slop? Slop is just any code you don't read. And whether any of you admit it or not, this is the least amount of slop that your code base will ever have. Cherish it. So we started fighting back against the slop and we started fighting back with slop. So how do we go ship a stable programming language with these engineering practices? Well, the first skirmish we ever had was a skirmish of standards. The hard part about hiring great engineers is you sadly can't tell them what to do. Some of them want to use Claude, some of them want to use Codex, some of them want want to use the latest thing that they just found on Hacker News. So, instead of trying to hold standards in our codebase, we did something that is an invariant. We built an architecture.md file. Instead of using Claude.md, just pick
something that every model can just understand. This file has to be incredibly small, and it can only have things that will not change for months or for years. In our case, it's the
layers of the compiler. You go deeper into the compiler, tell the agent to just talk to at least one other person. That slows it down a little bit. So, now we have standards, so anyone can use whatever they want. But, the real foe we faced was actually the battle of design. Everyone here knows that you have to write perfect design docs. And we have a very simple rule in our team. Code can be slop, writing cannot. And of course, if I tell every engineer this, they write beautiful writing, and they handwrite everything, they don't use AI. Well, sadly not. So, we built a design tool design doc tool. What this design doc tool does, it's a replacement for both Notion and GitHub effectively for design docs. It will have versioning, commenting, all the stuff you want. And obviously, we do this, people use this. Well, sadly not. We built another tool on top of that.
And this tool was a Slack integration for that tool. Every time a design doc got updated, this channel got notifications. And what ended up happening is this channel became the most popular channel in our company really fast. At 2:00 a.m., someone shipped a new design doc,
three people started reading it right away cuz it's just interesting. Then, most interesting stuff is design docs that are not going to change. But, this wasn't enough. All of this is actually backed by Markdown files and simple CLI scripts that make it treat like GitHub without being GitHub itself. So, now agents can go do this. But, the real problem with all this is I built this, and I hit a little bit of AI psychosis, and I started shipping 10 design docs a day, and soon the team was fighting my slop. So, we had to go and back at the last rule. This last rule was, if you're going to ship a design doc, you require people to actually go read it. And with this last standard, we suddenly had design docs that were incredibly high quality. But what about the battle of architecture? You how do you have your code base converge? We built another tool. This
tool basically visualizes our dependency graph internally with some external dependencies as well, and allows us to watch the code base change. It has semantic boundaries, individual packages, but what's more interesting is
we can go build CLI tools that guarantee that certain invariants can't be broken. And what this does is when Claude builds a new package or adds a dependency that's leaky, we now have CI/CD changing or a simple Git commit history that tells us exactly where things break. And by this, we're actually able to make our architecture change. We haven't changed our architecture in the last three or four months. But as much as we might do design docs, and as much as we might have stable code, would you genuinely ship code without reading it? Would you trust your team to go do that? And think about a programming language. A programming language just so many invariants. You have generics, you have closures, you have memory allocation, you have FFI boundaries. Could you trust that system? Python has bugs 25 years later. Well, here's where we did something slightly different. What we did was we built a system that actually has agents constantly running and creating BAML programs.
We take these BAML programs. 1 second. And we have agents try and spin something up from scratch. We then look at the entire Claude transcript, see what tools it used, see what happened,
and obviously we as humans can inspect them. But more importantly, we can have agents go inspect them. And agents find what was good, what was bad. And not just what was bad in terms of what was incorrect in the language, but what took three tool calls when it should have only taken one. And then we can go ahead and find issues, and we can have humans collaborate with these issues to figure out which ones are real, which ones are hallucinations, which ones aren't don't have taste, as much as I hate to use that word. And then we can have agents go ahead and create fixes to these problems and go to address them. And most importantly, instead of trying to just detect these issues, we can go one step further. What if you could find language features and instead of guessing what was good, guessing what skill was good, you could go and AB test it. You could figure out
which ones took less tool calls, which one took uh which one made less errors, which one produced the correct outcome and deterministically know what's going on.
The point is you can start building data-driven systems without ever writing a single line of code. And the thing that really I care about the most over here is not that any one of these tools is specifically what you should go build. But the fact of the matter is in order to build a programming language, it wouldn't have taken eight people. It wouldn't have taken less than two years. It would have taken hundreds and thousands and tens of thousands of man-hours and then you would still have a broken system. And today we can just spend millions of tokens and make it work. And we can make it stable. And you could you two can go home and build these internal tools and these sloppy tools to make sure that your code bases can ship without really having to read necessarily every single line of code. Cuz your engineers aren't going to. And I think we can start winning this battle against slop. And as we win this battle, slop can be defeated. But sadly, I have a sad thing to say. I think we're still going to lose the war. I think the reason that we're going to lose this war is because some of the foundational stuff that we try and go use itself is broken. How many of you have used TypeScript? Probably most of you hopefully at this point or at least your agents have, so something around there. Um did you know that TypeScript's main design goal is to strike a balance between correctness and productivity? And there's an asterisk here because what they really mean is human productivity. And if you think about it, there are things you would never do in a programming language at the very core layer if you were designing for in a world where humans never wrote a single line of code. Let me show you what that really means. I'm going to write something and try and guess what this code does. Pretty safe. What about this one? Or even more so, this one. Why do we turn things to strings when we sort them? This is just slop baked into the language, whether you like it or not. What about this? I love this part of TypeScript. And you know what my agent loves? This part of TypeScript. This is slop baked into the language. And whether you like it or not, the systems will have slop if you build using these tools. Oh, I'm sorry, wrong talk. But, if you think about what JavaScript does, JavaScript exists, and then after JavaScript existed, we started building systems to layer it on. We built CoffeeScript, then TypeScript, and now we're trying to build a fact. But thing is, the thing underneath is already broken. And more so, the way we write code is also different now. So, why are we trying to patch something like this? Why don't we just try and do something a little different? And I think what we might need if we try and go do that is basically going to be a made-up language. So, let me show you what BAML really can do. And when you start thinking from first principles, how you can try and combat slop from the very foundational
layer itself. I keep talking about not reading code. Does it even matter? Well, let me show you a new way to think about code. And this isn't to say we all have to go do this right away.
But, what if every single time I look at code, whoops. What if every single time I look at code, what I really saw was not the code itself, but a quick little thing that could actually visualize all the code for me. As I clicked around, it took me to exact lines of code that was linked to. If I wanted to have a slightly broader view, I could zoom in and click around and have it expand. I could navigate my code bases more interestingly. I'm going to let this run really quickly, but while it runs, I'll show you a different pipeline. Without any of you ever reading the code, you know I'm setting up stuff and I have an agent loop because the semantic boundaries in there. I can expand this. I can keep expanding this and I can say, "Nope, that's too much slop. Let's let that be slop." And walk away. So, instead of having to understand all the code, I can opt into what parts of the code I want to read and understand and go to the exact lines when I really care about them. But, if we go back to the previous pipeline that was running, what if while it's running, I can actually get a full execution trace? In a world where we don't read all the code, the only way to understand the code is actually by the execution trace. And actually by seeing exactly how much time was spent on what parts of my program at any given time. If you want to go and actually track your program through, think about how slow your program would be if you have to go trace everything in Python or TypeScript. It's untenable. And the best part here is if you start from first principles, you can make this effectively zero performance cost.
Not only can we make it great for humans, but because it's all built for agents anyway, you can go ahead and make it so that every single file has a tracing system that Claude can navigate through. So, Claude can
find what were bugs, what were errors, and what were inefficiencies and start optimizing your code without you having to do it yourself. And I think if we go start thinking about it from this way, it's not so much about reading all all code, but it's more so about us human understanding the system that you're working with. And the tools that you can build can give you information about the system that you're working with. But, I think there's another layer to it. We've spent decades building IDE tooling. And that Think about how long it took before someone like me who does not know how to escape Vim to this day can finally start using VS Code. It was a beautiful day when that happened. I became a real programmer. Well, according to some people, I'm still not cuz I can't write Vim code. But, what does agent-first tooling look like? I think we're all familiar with grep, so I'm not going to go and talk about it. But, I will talk about Ripgrep cuz grep should not be used anywhere. If I want to grep through my code base and understand what it was, I would Ripgrep say something like calculate, and it'd give me a bunch of code where everything was being used. And maybe it'd be somewhat useful. But, what if you could instead start describing code and say, "Can you describe calculate for me?" What if it came with all the docstrings? What if it came with the actual source code? And what if it also told you everywhere it was actually used under the hood? We can make something that used to be multiple tool calls a single tool call all of a sudden. What if the way you want to learn about libraries that you're using, instead of having to go to a web search, you just said you did you could just ask for any external library as well. And it would just give it to you. Because when I first started learning how to code, one valuable lesson I had was the code is always the source of truth. Don't read anything but the code itself. The docs may lie, the um the actual description or architecture file or readme file will definitely lie, but the code cannot lie. Except if you're working on some weird architectures. And then when you go down this road, you go from not reading the code to understand the architecture. You go from not searching the code to understanding exactly what you're getting in every one tool call. But, what's the next thing you do? Well, the last thing I do to truly understand code is I run the code. So, what if every single thing you ran, every single function you ever wrote was immediately available And I'll pull this code over here. Was immediately available as a simple CLI command. So, if I run add, add becomes a CLI command that has A and B parameters attached to it. And I can just run it really quickly and see what happens. What if every single CLI tool I had could be packed into a live into CLI that's completely standalone. Multiply. That I can just run without ever having to actually execute any of the code. And it's now a total CLI binary that has functions just bundled in. Suddenly, we can build really quick tooling where agents don't have to go grep through what's happening. Everything is type safe, everything is deterministic, and everything is
actually guessable. And the best part is imagine you could build on any system, and your agents don't have to worry about deployments across Windows, Mac, and Linux. And you can just
target any layer you want, and it builds for any architecture, including WASM systems. All of a sudden, as an engineer, you're super charged. You're no longer bottlenecked by what you can do in the systems underneath you are preventing. You can just move very fast. You can move at agent speed. But, a lot of the stuff that I've been talking about to this date has been about tooling. What if we try to fix some of the real sins of JavaScript? Some of the stuff that is deep in the language. Not the sort stuff, but I mean more important stuff, like errors. Have you seen error handling be beautiful ever, other than Rust? Um what I see agents do over here is you do try catch, and then they keep nesting try catch after try catch after try catch. And eventually they give up and say console.log some error happened and deal with it. What if we could do error handling from very first principles? What happens in that world? Well, I showed you add, multiply, subtract. I didn't show you divide. Divide is dangerous. It's spooky. So, let's go look at divide. You can see over here, divide throws a
division by zero error. But, what else happens? The function actually knows that it throws division by zero error. Without you having to write any any
code. If I go up to the calculate function, which at some point calls divide, this function also knows it throws division by zero error. So, error types now get inferred without you ever having to do any guesswork. That means if you catch or handle errors, we can do exhaustive guarantees, and the compiler can prove that you have handled the error or not handled the error. It's no more guessing. There's no unknowns. It's guaranteed to be proven. So, if you wanted to ship an API where it guarantees that it never throws, well, this system is broken because it doesn't meet the constraints. It has two errors that you're not throwing. If you wanted to go catch that, well, I can write the code for that in a second. But, you can start catching certain errors. Uh I mean, I'm just going to return a sentinel value for now. And now this parse thing, which previously threw division by zero error, is now guaranteed to no longer throw the division by zero error because if I catch any exceptions in here, I return a zero value every single time. The compiler and the tooling can do a lot of work for us. And we're already used to this in our codebases. We many of us probably don't know how compilers work under the hood, and we trust them. Code is a matter of trust. The reason that we don't use ML code blindly is because we don't trust it yet, cuz the systems underneath them don't have enough rigidity. One more thing. But before I tell you all to go write a bunch of ML code, cuz I've been there and I can tell you what someone tell me if I said, "Hey, use this new programming language. It's going to solve all your problems." It's just going to become come with a whole slew of new problems. So, we said, "I think we'll lose the war on slop if we try to ask everyone to rewrite all their code in the world into this new system." So, what does a solution like that look like where you don't have to rewrite all your code? Well, we What we started to do was we started to think about that about 2
years ago. And we said, "What if you could use ML not just stand-alone like I showed today, but from within any existing language of your choice? From Python to TypeScript
to Rust to Go to Ruby to Java to anything new that comes up even after it." What if every function in ML is immediately accessible in the language of your choice? So, in this case, I'm calling the ML calculate function directly from Python, and it's completely type safe. Not only do we get calculate, we get calculate async in case some of us want to write async code. So, ML while it has no function coloring, it does give you the benefit of having to do whatever you want across your code. But what if you went a little bit sillier? What if you started passing around lambdas across language boundaries? I have a function here called with timeout. This function times out after a certain number of milliseconds, and if this work doesn't complete. And it's guaranteed to no matter how long it takes. Well, in that world, you can even pass Python lambdas across the bridge. You can pass generics across the bridge. You can pass closures. It should just work, so engineers don't have to go fuss with it. And more importantly, so when the agent does something, the type system never lies. The type system becomes the absolute center of truth that prevents invariants from entering your codebase. And what I really wanted to talk about today was not any one specific thing. But it's this general concept. You can build incredibly complex systems without traditional systems like code reviews. You don't You can work in things in parallel, and you can use AI however you want without requiring any sort of standardization. But the most important part is you have to be incredibly thoughtful about how your engineering team actually uses the systems under the hood. When we started building BAML, I didn't think it would be possible to build some of the software we did. And just yesterday one of our engineers built a partial C compiler purely in BAML. So, when I start pushing the boundaries of these systems and you stop reading the code, in some ways in my mind, it releases the floodgates for your engineering team to actually cover the gaps of what existed in your old process. Have you ever worked at a company that had no CI/CD? They said adding CI/CD would slow us down. They They do slow down for 3 months while they add it, but after that, they move a lot faster. Our processes have to evolve if we're going to ship at agent speed. And remember, this is the least amount of slop your codebase will ever have to this day. So, just embrace it and start fighting it back. I fell in love with software about 15 years ago, and it was the first thing that truly changed the way I perceive the world. And I really genuinely don't want slop to win. And I think we can all build a
world of beautiful software. And I think what it takes is I want each of you to go home today and build these sloppy tools. Make your systems more robust. Make your processes more robust.
And then for the bravest of you, I want you to go back and think about these core foundation layer systems. Think about how they're broken and see if you can imagine a way to fix them. I think we do need a new Git. I think we do need a new database, and yes, I think we need a new programming language. I'm Vaibhav, and I work on Bemo. Thank you.
