opera-browser-cli - Opera Neon's open-source command-line tool
opera-browser-cli is an open-source command-line tool from Opera Neon, built on top of opera-devtools, that supports local AI agents (such as Claude Code) to directly control the browser via the terminal.
What is opera-browser-cli?
opera-browser-cli is an open-source command-line tool from Opera Neon, built on top of opera-devtools. It supports local AI agents (such as Claude Code) to directly control the browser via the terminal. Opera-browser-cli requires no cloud intermediaries or complex authentication; installation can be completed with just two lines of commands. It allows AI to evolve from a "question-answering tool" into a digital assistant capable of running web page tests, scraping data, and generating web applications, marking the browser's official entry into the AI Agent era.
Main functions of opera-browser-cli
-
Terminal-driven browser: Open web pages, capture page snapshots, and perform automated operations via command line.
-
AI Agent CommandsSupports Opera Neon's proprietary AI features such as Do, Make, and Research, and can directly generate web applications.
-
Web testing and data scrapingThe local AI agent can automatically run tests, scrape web page data, and process online forms.
-
Automation IntegrationAutomatically configures skills for Claude Code, ready to use out of the box.
-
Full browser controlIt provides 38 commands, covering scenarios such as navigation, screenshotting, element manipulation, and AI generation.
How to use opera-browser-cli
- Environmental preparationEnsure your system has Node.js version ≥ 20 and npm installed. Windows users need to confirm PowerShell version 7.0 or higher.
- Installation and Configuration: Execute in the terminal
npm install -g opera-browser-cli && opera-browser-cli setupComplete global installation and initialization. - Launch browser:implement
opera-browser-cli open https://operaneon.comThis will drive Opera Neon to open the target webpage. - Execute operation:
- use
opera-browser-cli snapshotCapture a snapshot of the current page for AI to analyze the page content. - pass
opera-browser-cli make "create a web app..."Use AI to directly generate web applications.
- use
The core advantages of opera-browser-cli
-
Local direct connection, zero cloud relayIt runs directly on the local port 9224, without requiring cloud authentication or complex MCP configuration, significantly reducing latency and token consumption.
-
No OAuth authentication requiredUnlike other solutions, it can be used directly by logging into Opera Neon, saving you from the cumbersome authorization process.
-
Tool-independent, platform-independentIt can be invoked by any AI agent or tool that supports CLI, and is not bound to specific platforms such as Claude Code.
-
More comprehensive functionsIt fully covers the chrome-devtools-mcp interface and exclusively supports Opera Neon's three major AI proxy commands: Do, Make, and Research.
-
Open source and lightweight, easy to use with one clickCompletely open source on GitHub, installation can be completed in two lines of commands in a Node.js environment, and the script automatically configures SKILLs.
The project address for opera-browser-cli
- GitHub repository:
- https://github.com/operasoftware/opera-browser-cli
- https://github.com/operasoftware/opera-devtools-mcp
Comparison of opera-browser-cli with similar products
| Comparison Dimensions | opera-browser-cli | Vercel Agent Browser | chrome-devtools-mcp | Playwright / Puppeteer |
|---|---|---|---|---|
| position | Opera Neon Exclusive: AI Agent Directly Controls the Browser | General AI Agent Browser Control CLI | MCP wrapper for Chrome DevTools | Developer automated testing framework |
| Technical Architecture | Based on opera-devtools, direct connection to local port 9224. | Built with Rust, Client-Daemon architecture | Standard MCP based on CDP protocol | Node.js libraries that require scripts to call. |
| AI-specific optimization | Built-in Do/Make/Research AI agent commands | Accessibility ref system, tokens reduced by 82.5% | Standard DevTools interface only | You need to encapsulate the AI calling layer yourself. |
| Installation method | npm install -g opera-browser-cli |
npm install -g agent-browser |
Requires configuration with MCP server. | npm install playwright |
| Certification Requirements | No OAuth required, just log in to Opera Neon. | No authentication required | MCP server authentication configuration required | No authentication required |
| Number of commands | 38 commands (including Neon-specific AI commands) | Core navigation/interaction/snapshot commands | Override standard DevTools interface | The complete browser API requires code calls. |
| Session persistence | support | Daemon automatic management | Depends on MCP server | BrowserContext needs to be managed manually. |
| Open source license | Open source (GitHub) | Apache 2.0 | open source | MIT (Playwright)/Apache (Puppeteer) |
| Applicable Scenarios | Local AI Proxy + Opera Neon Browser Automation | Multilingual AI Agent with Universal Browser Control | Standard MCP-compatible browser tools | Automated testing, web scraping, RPA |
Application scenarios of opera-browser-cli
-
AI Automated TestingAllow local AI agents to automatically run webpage function tests without requiring manual page-by-page operation.
-
Intelligent data captureAI directly controls the browser to capture dynamic web page data and generate structured reports.
-
Rapid prototyping:pass
makeThe command allows AI to directly generate working web applications based on natural language descriptions. -
Online form processingAutomatically fills out and submits complex forms, completing repetitive tasks such as booking tickets and registering.
-
Browser automation workflowCombined with tools such as Claude Code, it enables the construction of end-to-end automated development processes.