Thanks to our sponsor
This post is part of a series called "AI, it’s not that Complicated,” where we cover 1) how AI products are built and 2) what they can help you get done. Thanks to Vercel for sponsoring the series.
For most readers, browsing the internet is something you could do in your sleep. And yet, for AI models, it’s actually a highly complex, nuanced task. Newer GenAI models are getting better and better at “thinking” and complex reasoning, yes; but without the ability to navigate and use websites, they’ll be pretty much useless at automating our work for us. So how does an AI model actually use the internet?
Browserbase builds and maintains software that helps AI models do just that: browse the web. This post is going to walk through how their tech works and why it’s important.
I’ll also cover how Browserbase uses the full Vercel stack – including v0 (which I’ve already written about) and the AI SDK (which I will one day write about) – to build Open Operator, their viral public demo that lets anyone use AI to browse the web.
How we got here: better models and browsing the web#
If you rewind the time machine a few years ago, LLMs from providers like OpenAI and Anthropic were really good at one specific thing: predicting the next word or sentence (token). And thus, people most commonly used them for things like summarizing text, helping you finish paragraphs (or haikus), and other things that required text generation.
Fast forward to today, and thanks mostly to advances in post training, these models have developed sophisticated, sometimes freaky capabilities that go way past word predictions. They can “think” (although not in the biological sense) and do quite complex stuff, like deep research, generating entire codebases, and completing full on workflows for you. Perhaps most importantly, they can use tools.
And it is indeed said tools that are starting to become the problem, or more accurately making AI models and the tools play nicely together. When it comes to things like web search, which most major AI model providers support now, it’s simpler: search is an API. You send it a request, you get a deterministic response, even if it’s not a good one.
🤔 Undefined term
Deterministic just means that there’s no randomness involved. You make a request to the API, you get a response. The responses won’t all be the same, but they’ll all be text. Non-deterministic would mean that sometimes the API returns text, sometimes it returns numbers, and sometimes it returns a birthday cake.
But browsing the web is surprisingly hard!
- Web browsing is non-deterministic. Websites don’t have an API, and they’re all completely different.
- Websites change over time. Sometimes every day. Sometimes every second.
- There are billions of websites out there. Yes, billions!
So for an AI model to really understand and use a website like a human would, it needs a deeper level of understanding, one that we’re only really scratching the surface of right now.
And then there’s the logistical problems: how do you actually run a browser that an AI model can use?
Remember, when you use a model like Claude, the code that…is Claude is running somewhere on a server. So for the model to use a browser, it would need to be on a server too. But you can’t just put a regular browser on a server:
- Astute readers will probably have noticed that your browser on your laptop uses like 1,000GB of memory, which would be waaaaay too resource intensive for a server.
- We need security measures: what’s stopping the model from downloading a virus, or clicking on one of those poorly made Viagra popups?
This, in a nutshell, is what Browserbase does. They develop a browser for AI models that’s fast, secure, and can help models actually do your work for you.