openbrowser-ai
OpenBrowser is a framework for intelligent browser automation. It combines direct CDP communication with a CodeAgent architecture, where the LLM writes Python c
What is openbrowser-ai?
OpenBrowser is a framework for intelligent browser automation. It combines direct CDP communication with a CodeAgent architecture, where the LLM writes Python code executed in a persistent namespace, to navigate, interact with, and extract information from web pages autonomously.
Overview of openbrowser-ai
What it is
OpenBrowser is a framework for intelligent browser automation. It combines direct CDP (Chrome DevTools Protocol) communication with a CodeAgent architecture, where the LLM writes Python code executed in a persistent namespace, to navigate, interact with, and extract information from web pages autonomously.
Key features
- CodeAgent Architecture – LLM writes Python code in a persistent Jupyter-like namespace for browser automation - Raw CDP Communication – Direct Chrome DevTools Protocol for maximum control and speed - Vision Support – Screenshot analysis for visual understanding of pages - 15 LLM Providers – OpenAI, Anthropic, Google, Groq, AWS Bedrock, Azure, Ollama, DeepSeek, Cerebras, OpenRouter, OCI, and more - MCP Server – Model Context Protocol for Claude Desktop, Claude Code, Codex, OpenCode, and other AI assistants, with reusable saved login sessions - CLI Daemon – Persistent browser daemon with
-cflag for direct code execution from Bash, saved login state, and 10-minute auto-shutdown - Workflow Recording – Record, replay, and export browser sessions to Jupyter notebooks or API crawler code - Video Recording – Record browser sessions as video files with ffmpeg - Cloud Platform – Full-stack web UI with real-time VNC streaming, saved logins (KMS-encrypted), scheduled workflows (EventBridge + SQS), and email notifications (SES) - Plugin System – Claude Code plugin with 7 guided skills (deep research, web scraping, form filling, e2e testing, page analysis, accessibility audit, file download)
Use cases
- Automating product scraping on e-commerce sites (e.g., Walmart)
- Automatic flight booking - Automatic form filling - Deep research, web scraping, end-to-end testing, page analysis, accessibility audit, and file download via the Claude Code plugin
Getting started
bash # Quick install (macOS / Linux) curl -fsSL https://raw.githubusercontent.com/billy-enrizky/openbrowser-ai/main/install.sh | sh # Quick install (Windows PowerShell) irm https://raw.githubusercontent.com/billy-enrizky/openbrowser-ai/main/install.ps1 | iex # pip install pip install openbrowser-ai # uv (recommended) uv pip install openbrowser-ai # uvx (zero install) uvx openbrowser-ai --mcp uvx openbrowser-ai -c 'await navigate(https://example.com)' python # Basic usage import asyncio from openbrowser import CodeAgent, ChatGoogle async def main(): agent = CodeAgent( task='Go to google.com and search for Python tutorials', llm=ChatGoogle(model='gemini-3-flash'), ) result = await agent.run() print(f'Result: {result}') asyncio.run(main())
License and pricing
MIT license, open source.
Based on the project's public README and repository metadata.