Replit Agent can already build and ship an app from a single prompt. Giving it browsers at scale extends what it can do beyond the code, and how much it can do in parallel. Like people, agents need to act on the web: logging into dashboards, filling out forms, checking out on a merchant's site. A person does it one tab at a time. An agent can run tasks in a thousand browsers at once.
In November alone, Replit Agent ran almost 300,000 browser sessions.
Agentic Commerce
Most online stores don’t expose an API an agent can buy through, so completing a purchase means opening a browser. Replit’s Agentic Commerce is built on that idea. Replit Agent can now buy supplies for a business: Browserbase provides the browser, and Link (by Stripe) and Visa handle payment.
Say a small candle shop is getting ready for the holiday rush. The owner asks Replit Agent to “find 200 gift boxes that fit our 8 oz candles, under $300, delivered within a week”. Agent delegates the task to a browser subagent running in an isolated Browserbase session. The subagent searches merchant sites, compares sizes and delivery dates, fills the cart, and goes to checkout. Since it uses each merchant’s own site, Replit doesn’t need to build or maintain a separate integration for each store.
When a merchant requires sign-in or verification, a human-in-the-loop (HITL) handoff lets the owner take over the live browser for that step. Similarly, when Agent is ready to check out, it shows the purchase details for the owner to approve, and nothing is charged until they do.
Letting an agent spend money only works if you can trust it, so Replit built guardrails into the flow:
- Approval is per purchase. Agent never gets open-ended permission to spend. The owner approves each purchase in Link (Stripe's wallet), and Visa provides the payment infrastructure for agent-initiated transactions. If the terms change, Replit asks for a new approval.
- Access is locked down during payment. Shell access and general browsing are disabled.
- Checks live in code. Approval checks are enforced in code, not left to the model.

Other browser use cases
App Testing. Code can pass every static check and still break at runtime. With App Testing on, Replit Agent tests apps as it builds them. Agent runs each test in its own Browserbase session and uses Stagehand to click through the UI and check API calls, database interactions and third-party services. It then reports what it found and fixes what broke. Every Browserbase session includes a live view and a recording, so users can see exactly what Agent tested without retesting the app themselves.
Cloud Agents. Replit Cloud Agents work in a company's existing GitHub or GitLab repos. Before a PR goes to review, the agent spins up the app in an isolated cloud sandbox and tests the change against the running preview in a browser. If a test fails, it fixes the code and reruns it. It then attaches screenshots and video to the PR, so reviewers can see the change working in the app alongside the diff.
Each of these is work a person would do by hand, one step at a time. With Browserbase and Stagehand, Replit Agent can do it all in parallel, across as many browsers as it needs.
Have a cool use case? Start building for free today or talk to our team about a Scale plan.
Start building with Browserbase
Run headless browsers for your agents and automations at scale. Get started for free in minutes.




