Latest / AI Fire Daily / #87 Robin: How AI Browser Agents are Doing the Clicking, Scrolling, and Downloading For You 🖱️
Transcript
- 0:00Imagine an AI running 85 unique quality assurance
- 0:04checks on a web app. Beat. Then downloading monthly
- 0:09bank statements from a secure portal that has
- 0:11absolutely no API. Right, just visually navigating
- 0:15it. Exactly. And finally turning a raw YouTube
- 0:18video into a perfectly formatted X article draft
- 0:21with screenshots placed exactly where they belong.
- 0:24All of this happening from one single setup.
- 0:27It really completely shifts our mental model
- 0:29of how we interact with software. It's a genuine
- 0:32leap forward. Welcome to the Deep Dive. Today
- 0:35we're figuring out how this is actually happening.
- 0:38We're looking at AI browser agents, specifically
- 0:41the Codex desktop setup. Yeah, the one's been
- 0:44making waves recently. Right. And we're exploring
- 0:46how they finally learn to see and click the web
- 0:48exactly the way you and I do. For years, the
- 0:51boundary of automation just stopped at the API.
- 0:53If an app didn't have a back door for code to
- 0:55talk to code, you were kind of out of luck. You
- 0:57really were. But now that boundary is entirely
- 0:59gone. Yeah, and it's a fundamental shift in capability.
- 1:03I mean, we're moving from systems that read underlying
- 1:06code to systems that visually reason with rendered
- 1:09pixels. We have a really clear roadmap for this
- 1:12deep dive. We're going to unpack three very different
- 1:16real -world workflows to understand the mechanics
- 1:19here. Got to keep it practical. Always. We'll
- 1:22start with automated QA testing, move into the
- 1:24strict security of banking, and then tackle the
- 1:27inherently messy world of content publishing.
- 1:29And then... will break down a core decision framework
- 1:32so you know exactly when to unleash an agent
- 1:35versus relying on a standard script. because
- 1:38it's all about practical application. We want
- 1:40to keep your AI automation pipelines actually
- 1:43useful instead of letting them turn into a chaotic
- 1:46map. Exactly. Nobody wants the AI just wildly
- 1:49clicking around their computer. No, definitely
- 1:51not. So let's start with the mechanics of the
- 1:53setup itself. We're talking about the Codex desktop
- 1:55application. When you open it, you get this split
- 1:59screen. You have your chat interface on one side
- 2:01and an in -app browser on the other. And that
- 2:03side -by -side view is critical for building
- 2:06trust. Both you and the agent are looking at
- 2:08the exact same rendered page at the exact same
- 2:11time. Right, you type your plain English instruction
- 2:13on the left and just watch Codex physically control
- 2:16the browser on the right. Yeah, you're actually
- 2:18watching every single click, scroll, and form
- 2:21fill happen in real time. It's wild to see. It
- 2:24really is. But before we get into unleashing
- 2:26this thing on actual workflows, we need to establish
- 2:29a mental model for automation. Yes, because having
- 2:33a powerful tool is useless if you deploy it wrong,
- 2:36you know? The golden rule here is incredibly
- 2:38simple. API first, browser use second. Let's
- 2:42unpack that a bit. An API is a direct code connection
- 2:45for apps to talk. It's like a secret backstage
- 2:48door. Perfect analogy, yeah. It's incredibly
- 2:51fast and it's perfectly stable. But browser use,
- 2:54that's like standing in line at the front door
- 2:56using human eyes to navigate the lobby. That's
- 2:58exactly it. I mean, most established tools already
- 3:01have APIs. Codex actually has hundreds of built
- 3:04-in plugins for them. So you always try the API
- 3:06first. Because it's cheaper and faster. Right.
- 3:09Browser use is your fallback power move. You
- 3:11deploy it when a platform has no API or when
- 3:14the API is heavily restricted. Or when an API
- 3:17makes simple user interface work incredibly painful.
- 3:21which happens a lot with formatting text or images.
- 3:24Oh, constant. So there are two modes of operation
- 3:26we need to clearly define here. Headed mode and
- 3:29headless mode. Right. Headed mode means you watch
- 3:32codecs work visually in real time. This is your
- 3:35training phase. And headless mode means running
- 3:37silently in the background without a visual interface.
- 3:40Exactly. That's the handoff phase, where the
- 3:42computer just does the work silently. I have
- 3:45to admit, I still wrestle with prompt drift myself
- 3:47when giving these vision agents instructions.
- 3:49Oh, we all do. You think you're being crystal
- 3:51clear. You say, ah, summarize this page. But
- 3:55the AI interprets it entirely differently and
- 3:57starts clicking into menus you never intended
- 3:59or writing a 10 page essay. Yeah. Which is why
- 4:02you really need that visual confirmation at first.
- 4:05To ensure it graphs the context. You absolutely
- 4:09do. You watch every move in headed mode. You
- 4:11fix the instructions when it inevitably misunderstands
- 4:14a layout. You're essentially making sure the
- 4:16agent truly understands the visual hierarchy
- 4:18of the page. Only when the workflow is perfectly
- 4:21stable do you tell it to run headless. And what's
- 4:24brilliant is that Codex even shows its own little
- 4:26ghost cursor when it takes control of the screen.
- 4:29That's a highly reassuring touch. You always
- 4:31know exactly who is driving the machine. Yeah.
- 4:33beat. So how do you ensure the agent actually
- 4:36understands the page before you trust it to do
- 4:39real work? Well, you basically observe its cursor
- 4:42movements during those initial headed runs to
- 4:45verify its visual logic and decision making.
- 4:48So headed mode first to watch it learn, then
- 4:50let it fly headless? Precisely. It builds the
- 4:53necessary trust before you step away. Okay, if
- 4:55we understand how the agent sees a page, let's
- 4:58look at what happens when we unleash it. Let's
- 5:00do it. We want to see how it finds both visual
- 5:02and functional flaws in a piece of software.
- 5:05This brings us to our first major workflow. Automated
- 5:08QA testing. Essentially letting Codex try to
- 5:11completely break your app. Right. Think about
- 5:14a typical development environment. You spin up
- 5:17a form submission app on your local network.
- 5:19On your local host, yeah. In this scenario, Codex
- 5:22ran 85 highly -focused QHX, mimicking a real
- 5:26user flow. Now, a standard automation tool looks
- 5:30at the DOM, which is the underlying code structure
- 5:33of a web page. But Codex uses Vision. Which is
- 5:36completely different. Entirely. At first, this
- 5:39test page had some very obvious UI problems,
- 5:42like the spacing looked entirely wrong. A phone
- 5:45number field was visually out of bounds, physically
- 5:48covering the company text field. These are exactly
- 5:51those annoying layout bugs you spot by eye. The
- 5:53ones you usually try to explain terribly in a
- 5:55Slack message to a frustrated developer. Yeah,
- 5:58the box is weirdly over the other box. But Codex
- 6:01has a specific feature called annotate to solve
- 6:03this. How does that work? You open the app in
- 6:06the in -app browser, you click the annotate button,
- 6:09you visually click the broken element on the
- 6:11screen. Like pointing a finger. Exactly. Then
- 6:13you just describe the issue in plain language.
- 6:15You type, this phone number box is out of bounds
- 6:17and covered in the company box. Fix the spacing.
- 6:20And you can add multiple annotations across the
- 6:22screen, right? One for bad spacing, one for poor
- 6:24alignment, one for broken input field. Right.
- 6:27And then you send all of those notes into the
- 6:29chat. Codex processes the visual context, dives
- 6:32into your files, and turns those visual notes
- 6:35directly into coding tasks. It literally writes
- 6:39the fix. It does. But that's just the superficial
- 6:42visual pass. The real test starts when you ask
- 6:44it to behave like a user. Oh yeah. You give it
- 6:46a beautifully chaotic prompt. You say, use your
- 6:49browser and test the heck out of this app. Try
- 6:51your best to break it. Report every bug you find
- 6:54and what needs fixing. Let me push back slightly
- 6:56on this though, because we already have entire
- 6:59teams dedicated to human QA testing. True. And
- 7:03humans inherently know what a functional app
- 7:05is supposed to feel like. Isn't AI simulating
- 7:08chaos actually better than a trained human eye?
- 7:10It often is, primarily because of fatigue. Yeah.
- 7:13I mean, human QA is incredibly important, but
- 7:16humans usually test the happy path. Right, the
- 7:18way it's supposed to work. Exactly. We maybe
- 7:20check five or six edge cases before we get tired
- 7:23or bored. Real users do incredibly strange things.
- 7:27They skip fields, they navigate backward, they
- 7:30hit submit way too early. They mash the keyboard
- 7:33instead of clicking buttons. All of that. And
- 7:35an AI told to break the app doesn't get tired.
- 7:37It simulates that human chaos perfectly and relentlessly.
- 7:41The results from this specific chaos testing
- 7:43are actually fascinating. Yeah. It found that
- 7:46invalid contact data successfully passed validation.
- 7:50Bad user data could corrupt the backend system.
- 7:53Wow. It also found that the UK country code silently
- 7:57reset back to the US after a user edited their
- 8:00profile. It also dynamically found mobile responsiveness
- 8:03issues, which is wild. Yeah, it resized the browser
- 8:05and switched to mobile view entirely on its own.
- 8:08Nobody specifically asked it to check that layout.
- 8:11The app looked completely fine on a desktop monitor,
- 8:13but the navigation broke entirely on phones and
- 8:16the vision model recognized the overlap. It's
- 8:19just seeing the screen. And there's a scaling
- 8:21prompt mentioned in the setup that feels particularly
- 8:23powerful. It's called the goal prompt. Right.
- 8:25You literally type slash goal into the chat.
- 8:28Goal. Don't stop until you have tested 100 unique
- 8:32edge case scenarios. You tell the agent to try
- 8:34invalid data. empty fields, strange keyboard
- 8:37submission methods, restart behavior. And the
- 8:40LLM reasons through every permutation. It returns
- 8:43every single bug with precise steps to reproduce
- 8:46it and suggested code fixes. And you just send
- 8:49the aggregated list back into the chat and tell
- 8:51it to fix the code base. Pete, what makes this
- 8:54better than a standard automated testing script?
- 8:57Well, standard scripts break the moment a developer
- 8:59moves a button. Agents adapt visually to page
- 9:03changes dynamically. Got it. Real users do weird
- 9:06stuff, and agents simulate that human chaos perfectly.
- 9:10Exactly. It tests the application visually, exactly
- 9:13as a human would. So breaking a local development
- 9:15app is relatively low stakes, but how does this
- 9:17agent handle high security environments? That's
- 9:20the real test. We need to talk about downloading
- 9:22monthly statements from a bank. This is a massive
- 9:24recurring pain point for operators. We're looking
- 9:27at the Relay Bank dashboard use case. Logging
- 9:30in securely, navigating to accounts, clicking
- 9:33into statements, and downloading specific CSV
- 9:36files. And all of this happening without an API?
- 9:39There's no custom code integration. It's just
- 9:41a plain English instruction. Right. The prompt
- 9:44is simply, open Relay. Go to the dashboard, Accounts,
- 9:47Statements. Download the latest statements for
- 9:50these two specific accounts as CSV files, then
- 9:53save them securely into this local folder. A
- 9:55normal macro, which is a script automating a
- 9:58fixed sequence of clicks, needs the buttons in
- 10:00the exact same pixel location every single time.
- 10:03Exactly. If the bank shows a pop -up ad... the
- 10:05macro clicks the ad and crashes. Right. But Codex
- 10:08handles the real dynamic interface. It reads
- 10:11the rendered page as it moves through the workflow.
- 10:13However, banking platforms introduce a very specific
- 10:16intentional hurdle, the login problem. Banks
- 10:19forcefully log you out. It's a strict security
- 10:21measure. So if Relay opens up the login screen
- 10:24again, Codex needs a safe way to sign back in.
- 10:26And you absolutely do not want to paste your
- 10:28raw banking password into an AI chat history.
- 10:31No, never. Codex solves this with a built -in
- 10:34password manager. You import a secure CSV file.
- 10:37It has clean columns for name, URL, username,
- 10:41and password. So it pulls the credentials securely
- 10:44and needily. But what about two -factor authentication,
- 10:48the dreaded SMS text code? Yeah, the 2FA limit
- 10:51is incredibly real. And frankly, it still needs
- 10:54you in the loop. If the bank sends a code to
- 10:56your phone, you must enter it manually while
- 10:58the agent waits. Wait, you could technically
- 11:00write an automation to read text messages off
- 11:02a Mac and paste them in, couldn't you? People
- 11:04certainly try that. But you shouldn't. Banking
- 11:08workflow should always favor absolute control
- 11:10over pure convenience. You need strict stop rules
- 11:13in your prompts to prevent catastrophic errors.
- 11:15Something like only download statements. Do not
- 11:18click transfer. Do not move money. Stop immediately
- 11:21if the page layout looks different. Stop if a
- 11:23new 2FA prompt appears or if the account balance
- 11:26is entirely unclear. That is the only safe way
- 11:29to use an AI browser agent in finance. You do
- 11:32not want it hallucinating a wire transfer. You
- 11:34really need to watch it run 10 times in headed
- 11:36mode before trusting it with sensitive financial
- 11:39data. So why can't we just automate the 2FA text
- 11:43messages via a Mac to save time? Financial environments
- 11:46demand hard security breaks, really, to prevent
- 11:49catastrophic automated errors from occurring
- 11:52silently in the background. Right. Financial
- 11:54tasks need guardrails. Safety always beats total
- 11:57convenience. Completely. You cannot risk automated,
- 12:00unverified funds transfers. Speaking of seamless
- 12:04workflows and eliminating friction, we want to
- 12:06take a quick second to thank the sponsors of
- 12:08today's deep dive. Yes, absolutely. To sex silence.
- 12:13Our friends providing the workspace infrastructure
- 12:15that makes organizing all this data possible
- 12:17are truly essential. We appreciate their support
- 12:20in helping us navigate the future of work. OK,
- 12:24let's get back to these workflows. We've thoroughly
- 12:26covered extracting data from secure systems.
- 12:28Now we need to look at content creation. We've
- 12:31seen how strict the agent has to be in rigid,
- 12:33secure environments like a bank. But what happens
- 12:36when you point it at an inherently messy creative
- 12:38interface? We're talking about formatting a draft
- 12:41for social media. Specifically. the YouTube to
- 12:44X article workflow, turning a long -form video
- 12:48into a highly polished Twitter draft. Why does
- 12:50browser use WinHere over an API? I mean, X definitely
- 12:54has a developer API available. It does have one.
- 12:57But formatting rich text through the X API is
- 13:00notoriously messy. It strips out paragraph breaks.
- 13:04Media uploads can fail silently. Plus, API usage
- 13:08costs actual money. Right. Browser use runs right
- 13:11inside your local codec setup. It formats the
- 13:14text inside the ReelX Editor interface. It clicks
- 13:17and uploads to the actual browser window. The
- 13:19prompt you use here is very straightforward,
- 13:21but it's powerful. Turn this YouTube video into
- 13:24an X article. Add screenshots where they fit
- 13:26contextually, do not publish. That last part
- 13:28is absolutely crucial. You paste the YouTube
- 13:30link, Codex natively opens the video. It visually
- 13:33scans the frames. It captures highly useful screenshots.
- 13:36It generates a compelling thumbnail image. Then
- 13:38it physically opens X using your saved session
- 13:40state. It navigates to drafts, it clicks compose,
- 13:44paste the generated title, paste the full article
- 13:46body, and uploads the thumbnail. And it carefully
- 13:49moves images into the correct places within the
- 13:52text flow. A normal AI writing tool just spits
- 13:55out a massive wall of text that you have to copy.
- 13:58An AI browser agent puts that text into the actual
- 14:02publishing interface for you. It handles all
- 14:04the tedious visual steps around it. And the actual
- 14:07writing is only half the job anyway. The tedious
- 14:09formatting, the image resizing, the copy pasting,
- 14:12that's where your creative productivity actually
- 14:14dies. That's precisely why the key rule here
- 14:17is so important. Always force the AI to stop.
- 14:20before publishing. Yeah, let the agent handle
- 14:22the boring browser labor. You step in at the
- 14:24very end for human review. You check the images.
- 14:26You fix anything that sounds weird or robotic.
- 14:29Then you hit publish yourself. This brings up
- 14:31another incredibly powerful concept. Session
- 14:34persistence, what are commonly known as cookies.
- 14:37All right. In a fresh Codex chat window, X can
- 14:40still open already logged in because the agent
- 14:42remembers your session state. So you bypass the
- 14:45login wall entirely and you can just ask it to
- 14:48scan your feed. Yeah. You say, Open X, scroll
- 14:52my main feed and tell me what is new in the world
- 14:54of AI. Codex literally browses as you. It visually
- 14:57scans the feed. It summarizes useful trending
- 15:00updates. In one example, it noticed granular
- 15:03updates around Grokbot and Grok 4 .6. Exactly.
- 15:06And that easily becomes a scheduled daily routine.
- 15:09Every morning at 8 a .m., check my X feed for
- 15:12AI updates, summarize the best posts, and suggest
- 15:15three new article ideas. The pipeline gets incredibly
- 15:18powerful. It finds the core idea, turns a reference
- 15:21video into a draft, places the media perfectly,
- 15:24and prepares the post for your final review.
- 15:27Beat. How much human editing is typically needed
- 15:30after the agent formats a draft? Usually it's
- 15:33just a quick review, really, to ensure the tone
- 15:35and visual alignment are perfectly suited to
- 15:37your brand. Makes sense. Let the AI do the heavy
- 15:39lifting. You just add taste. Exactly. Curating
- 15:41taste remains a strictly human element. We've
- 15:44been entirely inside the web browser so far.
- 15:46But what happens when the workflow needs to step
- 15:48outside the browser and interact with your actual
- 15:50machine's operating system? This is the critical
- 15:53distinction between browser use and computer
- 15:55use. They work the exact same way at their core.
- 15:58It utilizes vision, AI reasoning, and direct
- 16:01control of the screen coordinates. The difference
- 16:04is simply where Codex is allowed to work. Right.
- 16:07Browser use is sandboxed for websites and web
- 16:09apps. Dashboards, portals, forms. Computer use
- 16:12is for your actual local machine. Desktop applications,
- 16:16local system files, in -app settings. You just
- 16:18go to the plugins menu, search for computer use,
- 16:21and install it. We have the Glido desktop application
- 16:23example to illustrate this. U .S. Codex. Open
- 16:26the Glido desktop app, go into settings, and
- 16:28turn on Bluetooth device support. It opens the
- 16:31local app. It visually scans the UI to find the
- 16:34settings gear. It switches the Bluetooth toggle
- 16:37on. It's interacting with your operating system.
- 16:39Whoa. Imagine scaling to a hundred unique edge
- 16:42case scenarios or having it actually tweak your
- 16:45computer's hidden network settings while you
- 16:46watch. That feels like a massive leap in how
- 16:48we command computers. It is a massive leap. Okay.
- 16:52And because it operates at the OS level, it requires
- 16:54explicit safety signals. When Codex has control
- 16:57of your actual computer, a thick blue border
- 17:00appears around your entire screen. So you always
- 17:03know exactly when the agent is driving the mouse.
- 17:06Right. It also halts automatically for admin
- 17:08passwords or sensitive system permissions. That
- 17:11visual safety signal is deeply reassuring when
- 17:13an AI has access to your files. We really need
- 17:16to recap the big idea here. the overarching decision
- 17:19framework for any AI agent automation workflow.
- 17:23Priority 1 is always the API or a direct plugin.
- 17:26It's structured data. It's the fastest, cheapest,
- 17:28and most stable path imaginable. Priority 2 is
- 17:31a macro script. This is best when every click
- 17:34is always the exact same. Same screen size, same
- 17:36buttons, same chronological order. Priority 3
- 17:39is browser or computer use. You use this when
- 17:41the task actually requires human -like vision
- 17:44and reasoning. When the interface is messy, updates
- 17:47frequently, or is highly unpredictable, do not
- 17:49deploy an AI vision agent just because it looks
- 17:51cool clicking around. Use it when the next logical
- 17:54step depends on what currently appears rendered
- 17:56on the screen. API for clean systems, macro for
- 18:00fixed, rigid steps, browser use for messy human
- 18:04interfaces. What's the ultimate payoff of this
- 18:08framework, actually, if an agent only saves you
- 18:11maybe 5 or 10 minutes a task? It eliminates the
- 18:13constant draining mental friction of switching
- 18:16your focus between entirely different operational
- 18:19contexts. Exactly. It is not about the minutes
- 18:21saved. It is about eliminating context switching.
- 18:24Context switching completely destroys deep creative
- 18:27focus. It takes 20 minutes to regain your flow
- 18:29state after doing a trivial admin task. An AI
- 18:32browser agent can open the banking portal, click
- 18:34through the dashboard, test the QA form, download
- 18:37the CSV file, and format the social media draft.
- 18:40It moves the tedious visual friction forward.
- 18:43And you stay entirely focused on solving the
- 18:45hard creative problems. One single codex task
- 18:48might only save a few physical minutes, but a
- 18:50scheduled library of these skills changes everything.
- 18:53You start with one annoying repetitive task you
- 18:55hate doing every Friday. Ideally one with no
- 18:58clean API. Yes. You describe it clearly in plain
- 19:01English. You watch codecs run it a few times
- 19:03in headed mode. You tighten the text instructions.
- 19:07You save it as a repeatable skill. Then you schedule
- 19:09it to run headless. That becomes your very first
- 19:12autonomous AI agent automation pipeline. It fundamentally
- 19:16changes how a modern workday runs. You move from
- 19:19physically doing the tedious work to managing
- 19:21the intelligent systems that do the work for
- 19:23you. Look at your daily routine tomorrow morning.
- 19:26How many clicks are you doing that rely purely
- 19:28on visual reasoning rather than actual human
- 19:30ingenuity? Which repetitive, messy UI task is
- 19:34going to be your first AI agent pipeline? Thank
- 19:37you for joining us on this deep dive. We'll catch
- 19:39you next time.