explaingit

operasoftware/opera-browser-cli

Analysis updated 2026-05-18

11TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A command line tool that lets AI agents and developers drive the Opera browser with typed commands, built for token-efficient automation.

Mindmap

mindmap
  root((repo))
    What it does
      Browser automation CLI
      Bridge server to DevTools
      Compact TOON output
    Tech stack
      TypeScript
      Node.js
      Opera DevTools Protocol
    Use cases
      AI agent browser control
      Automated testing scripts
      Performance audits
    Audience
      Developers
      AI agent builders
      QA engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let an AI agent navigate and interact with web pages through terminal commands.

USE CASE 2

Automate clicking, filling forms, and taking screenshots from a script.

USE CASE 3

Run performance audits and Lighthouse checks from the command line.

USE CASE 4

Use Opera's built-in AI features like chat and research through CLI commands.

What is it built with?

TypeScriptNode.jsDevTools ProtocolTOON

How does it compare?

operasoftware/opera-browser-clialiyun/openclaw-exporter-to-langfuseanousss007/ng-blatui
Stars111111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 20+ and the Opera browser installed, plus a one-time interactive setup wizard.

In plain English

opera-browser-cli is a command-line tool that lets AI agents and developers control the Opera web browser through typed terminal commands. Instead of clicking around manually, you run short commands to navigate to websites, click buttons, fill in forms, take screenshots, and more. The tool works by sitting between your terminal and the Opera browser. When you type a command, it sends the instruction to a persistent bridge server running in the background, which talks to the browser's built-in developer tools using the DevTools Protocol. The bridge stays alive across commands so the browser does not restart with every invocation. A key design goal is being friendly to AI agents. Output uses TOON encoding, a compact format that cuts token usage roughly 40% compared to raw JSON. Every response also includes contextual next-step hints, so an AI can continue working without guessing what to do next. Beyond navigation, it supports clicking page elements by reference ID, typing into form fields, managing multiple browser tabs, running JavaScript, and capturing performance data including Lighthouse audits. It also exposes Opera's built-in AI through commands like chat, invoke-do, make, and research. The invoke-do and make commands require Opera Neon and let the AI carry out multi-step browsing tasks or generate a webpage on the fly. The tool is written in TypeScript and requires Node.js version 20 or higher, along with the Opera browser. You install it globally via npm and run a one-time setup wizard. It is a fork of chrome-devtools-axi and wraps opera-devtools-mcp with an AXI-compliant interface.

Copy-paste prompts

Prompt 1
Show me how to install opera-browser-cli and open a webpage from the terminal.
Prompt 2
Explain how the persistent bridge server keeps the browser session alive between commands.
Prompt 3
Walk me through using the eval command to run JavaScript on the current page.
Prompt 4
Help me set up a multi-step script using the run command to automate a login flow.

Frequently asked questions

What is opera-browser-cli?

A command line tool that lets AI agents and developers drive the Opera browser with typed commands, built for token-efficient automation.

What language is opera-browser-cli written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, DevTools Protocol.

How hard is opera-browser-cli to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is opera-browser-cli for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.