Home/AI Agents/openbrowser
openbrowser logo

openbrowser

ntegrals/openbrowser

AI-powered autonomous web browsing framework

GraphCanon updated 1mo · GitHub synced 1mo · 26 views this month

9.5k stars863 forksLast push 4mo TypeScript MIT

Decision brief

OpenBrowser is an AI-powered autonomous web browsing framework built on Playwright, designed for data extraction and task completion using models from OpenAI, Anthropic, and Google. It features support for multi-models,沙

Good fit when

  • - When you need to automate web tasks with natural-language inputs without manual scripting. - For environments requiring the ability to quickly switch between different AI models (OpenAI, Anthropic,
  • when_not_to_use_or_limitations_are_best_when_avoided_in_situations_like_this_because_of_x_or_y_reasons_so_it_is_strongly_advised_against_using_this_tool_therefore_the_following_list_should_state_the_c

Avoid when

  • - When the task requires a very specific browser environment or features not supported by Playwright. - If your project cannot accommodate MIT-licensed code, considering OpenBrowser is released under
  • additional_facts_how_to_use_other_than_a_general_summary_below_if_non_existent_then_ignore_this_field_see_other_examples_from_our_KG_database_for_guidance_on_formatting_this_data_properly_and_effec

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (109d since push)
As of 1mo
Provenance
Not a fork · Personal account
As of 1mo
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

npm install openbrowser
npm

How it fits your stack(11)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Alternative

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A toolkit enabling AI agents to autonomously browse the web for data extraction and task completion built on Playwright, supporting models from OpenAI, Anthropic, and Google.

Capability facts

MCP server
No MCP server detected

Source: repo_scan · Jul 20, 2026

Languages
typescript, javascript

Source: github.language+package.json · Jul 20, 2026

Categories

Tags

README

Open Browser

AI-powered autonomous web browsing framework for TypeScript.

License GitHub stars


Give an AI agent a browser. It clicks, types, navigates, and extracts data — autonomously completing tasks on any website. Built on Playwright with first-class support for OpenAI, Anthropic, and Google models.

Production-ready since v1.0. Contributions welcome.

Why Open Browser?

  • Autonomous agents: Describe a task in natural language, and an AI agent navigates the web to complete it — clicking, typing, scrolling, and extracting data without manual scripting
  • Multi-model support: Works with OpenAI, Anthropic, and Google out of the box via the Vercel AI SDK — swap models with a single flag
  • Interactive REPL: Drop into a live browser session and issue commands interactively — great for debugging, prototyping, and exploration
  • Sandboxed execution: Run agents in resource-limited environments with CPU/memory monitoring, timeouts, and domain restrictions
  • Production-ready: Stall detection, cost tracking, session management, replay recording, and comprehensive error handling
  • Open source: MIT licensed, fully extensible, bring your own API keys

Quick Start

# Install dependencies
bun install

# Set up your API keys
cp .env.example .env
# Edit .env with your API keys

# Run an agent
bun run open-browser run "Find the top story on Hacker News and summarize it"

# Or open a browser interactively
bun run open-browser interactive

Architecture

Open Browser is a monorepo with three packages:

PackageDescription
open-browserCore library — agent logic, browser control, DOM analysis, LLM integration
@open-browser/cliCommand-line interface for running agents and browser commands
@open-browser/sandboxSandboxed execution with resource limits and monitoring

CLI Commands

Run an AI Agent

open-browser run <task> [options]

Describe what you want done. The agent figures out the rest.

# Search and extract information
open-browser run "Find the price of the MacBook Pro on apple.com"

# Fill out forms
open-browser run "Sign up for the newsletter on example.com with test@email.com"

# Multi-step workflows
open-browser run "Go to GitHub, find the open-browser repo, and star it"
OptionDescription
-m, --model <model>Model to use (default: gpt-4o)
-p, --provider <provider>Provider: openai, anthropic, google
--headless / --no-headlessShow or hide the browser window
--max-steps <n>Max agent steps (default: 25)
-v, --verboseShow detailed step info
--no-costHide cost tracking

Browser Commands

open-browser open <url>              # Open a URL
open-browser click <selector>        # Click an element
open-browser type <selector> <text>  # Type into an input
open-browser screenshot [output]     # Capture a screenshot
open-browser eval <expression>       # Run JavaScript on the page
open-browser extract <goal>          # Extract content as markdown
open-browser

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.