openbrowser
Give an AI agent a browser to click, type, navigate, and extract data autonomously.
Overview
openbrowser is an AI-powered autonomous web browsing framework for TypeScript that gives an agent a browser to click, type, navigate, and extract data on websites. It is built on Playwright and supports OpenAI, Anthropic, and Google models through the Vercel AI SDK.
The framework is organized as a monorepo with a core library, a command-line interface, and a sandboxed execution package. Developers can describe a task in natural language and let the agent work through it, or they can use the interactive REPL and browser commands for debugging and prototyping.
What sets openbrowser apart is its production-oriented feature set: stall detection, cost tracking, session management, replay recording, and sandboxed execution with CPU and memory monitoring, timeouts, and domain restrictions. It is open source under the MIT license and works with your own API keys.
Best for
- TypeScript developers
- AI engineers
- Test automation engineers
- Web scraping developers
- QA engineers
- Automation specialists
How to use
- Install dependencies with bun install.
- Copy the example environment file and add your API keys.
- Run an agent with a natural language task using the run command.
- Optionally choose the model and provider, headless mode, and maximum steps.
- Open an interactive session with the interactive command for debugging or exploration.
What it can do
How it works
Agents run on Playwright with a model from OpenAI, Anthropic, or Google selected through the Vercel AI SDK. Setup involves installing dependencies, adding at least one provider API key to the environment file, and running the CLI or constructing an agent in code with a viewport, model, task, and settings.
Browser control flows through the core library and CLI, with an optional sandbox that enforces timeouts, memory limits, domain restrictions, and step limits. Humans decide the task and settings, review agent output and metrics, and approve how agents are configured and where they are allowed to navigate.
The framework is documented as autonomously completing tasks on websites by clicking, typing, navigating, and extracting data after a natural language task is described.
Where it fits
- Search a site and extract information such as a product price.
- Fill out a form such as a newsletter signup with provided details.
- Complete a multi-step workflow such as finding a repository and starring it.
- Extract page content as markdown for later use.
How to evaluate
- Confirm you have an API key for at least one supported provider, since at least one is required in the environment variables
- Check whether the model provider you plan to use is among those listed as supported out of the box
- Review the sandbox limits (timeout, memory, domain restrictions) to confirm they match your execution environment
- Verify the default agent settings such as step limit, failure threshold, and context window suit your workloads
- Decide whether you need the library, the CLI, or the sandbox package, as these are separate parts of the monorepo
Our take
Open Browser is an MIT-licensed framework that gives an agent control of a Playwright browser so it can complete web tasks from a natural-language description. It offers several provider options through the Vercel AI SDK, and you supply your own API keys. Beyond the core agent, the project includes a CLI, an interactive REPL, and a sandbox with resource limits and monitoring. Its production features, such as stall detection, cost tracking, session management, and replay recording, are relevant if you plan to run agents beyond experimentation.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| hermes-agent | — | Supervised | AI researchers, Developers, System administrators, DevOps engineers, Technical founders |
| deer-flow | — | Supervised | Software developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders |
| OpenMausBot | — | Supervised | Developers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools |
| Toonflow-app | — | Supervised | Short drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators |
| rowboat | — | Supervised | Software engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers |
| artemis | — | Supervised | Mobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers |
FAQ
- What does Open Browser actually do?
- It lets an AI agent operate a browser to carry out tasks described in natural language, including clicking, typing, navigating, and extracting data.
- Which AI providers can I use?
- The documentation lists OpenAI, Anthropic, and Google as supported providers and says these work out of the box through the Vercel AI SDK.
- Do I need my own API keys?
- Yes. The setup instructions tell you to create an environment file with your provider keys, and at least one key is required.
- Can I try it in a live browser session?
- Yes. The interactive REPL drops you into a live browser prompt where you can issue commands such as opening a page, extracting content, clicking, and taking screenshots.
- How can I limit what an agent does?
- Agent settings include a step limit, a failure threshold, and allowed or blocked URL lists, while the sandbox adds timeouts, memory limits, and domain restrictions.
- What is in the repository besides the core library?
- The project is a monorepo with the core library, a command-line interface, and a sandbox package for resource-limited execution. It is MIT licensed and extensible.
- How do I get started?
- Install dependencies with bun, copy the example environment file and add your API keys, then run an agent task or start the interactive session from the command line.
- Is there a cost to using it?
- The software itself is open source under the MIT license, and usage costs depend on the model provider you choose. The agent includes cost tracking, which you can hide with a command-line option.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/openbrowser"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.