Skip to content
vickey-kapoorPublic

About

Vision-first computer-use agent engine and test bench. Drives browsers and desktop apps from pixels only, with no DOM and no selectors. Built to measure reliability: benchmarks, failure analysis and replay. Powered by Gemini computer use.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Operon

A vision-first computer-use agent for the browser and the desktop.

Operon sees only pixels. It reads the screen, picks a coordinate action, runs it and checks the result. No DOM, no selectors, no accessibility tree.

The focus is reliability you can measure: an agent engine, benchmarks, and a record of every failure and its fix. It is not a consumer product.

CI License: Apache 2.0 Python 3.14+ Evals

Highlights

  • Pixels only. Every action targets screen coordinates, so the same agent drives web pages, native Windows apps and a Linux desktop.
  • Gemini computer use. Runs use Gemini 3.5 Flash by default, which has computer use built in. Claude, OpenAI and open-weight models can be switched on instead (configuration).
  • One thin harness. The model makes every decision and its own "done" ends the run; no rules, guards or retries replace its action (the earlier Full harness was removed, KAN-183).
  • Safety around the loop. A file guard and step budget on every run, and a trust gate (on by default) that blocks or asks a human before risky actions.
  • Measured. A public OSWorld-Verified subset scored by OSWorld's own checkers (below), and Browser, Desktop and Hybrid task sets graded from app and machine state (Season 1), plus safety, grounding and cost tracking on an eval dashboard.

How it works

flowchart LR
    S[Screenshot] --> M[Model picks one action] --> G[Safety gate] --> E[Executor] --> S
    M -- done --> V[Verify against the task] --> R[Result]
Loading

One loop serves both environments. The API drives it one step at a time, so a run can be paused, resumed or handed to a human between steps. See architecture.

Focus: the test bench

Since November 18, 2026, Operon is an agent engine plus a personal test bench for benchmarks and failure analysis. The work follows one loop:

flowchart LR
    F[Find a failure] --> U[Understand it] --> X[Fix it] --> R[Re-run] --> N[Show the numbers] --> F
Loading
  • What exists today. The engine, the benchmark suites with their own pass/fail checks, a per-step record of every run (screenshots before and after, the model's prompt and answer, the action, the verification result, and each step's start and end time; see logging), free replay of a recorded run through the current code with no model calls (evals/replay.py), and the eval dashboard.
  • What is planned. A test bench on top of those: pick benchmark tasks, watch them run, see every miss with its cause, check a fix against the exact failing run, compare runs side by side, and export a write-up with the score, each miss and why, the fix, and cost and time per task.

Try it (5 minutes)

You need Python 3.14+ and a free Gemini API key.

1. Install from source:

git clone https://github.com/vickey-kapoor/Operon.git && cd Operon
python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\Activate.ps1
pip install -e ".[dev]"
playwright install chromium

2. Set your key. On Windows the recommended way keeps it in Credential Manager instead of a plain-text file:

.venv\Scripts\operon keys set GEMINI_API_KEY

(or just operon keys set GEMINI_API_KEY with the virtualenv active). It asks twice and shows nothing while you type or paste. Then operon keys list should show GEMINI_API_KEY: Credential Manager. If you already have a .env, run operon keys import and delete the lines it lists. Or, instead, copy .env.example to .env and put your key in GEMINI_API_KEY.

3. Run a task:

operon run "Find the population of Paris on Wikipedia" --url https://en.wikipedia.org

A browser window opens and Operon works through the task from screenshots alone, printing each step. Before a risky action (placing an order, a payment, deleting an account), it stops and asks: y to approve, n to decline, t to take over. Ctrl+C takes over at any time. It ends with a short report of what it did.

Operon finding the population of Paris on Wikipedia, from screenshots only

That run took 2 model steps and 23 seconds. A task like this costs a few cents of Gemini calls on your key.

Next: operon serve starts the API, which operon run --request and other clients drive. Add --desktop to operon run to drive desktop apps instead of the browser (it moves your real mouse and keyboard); operon envs lists the machines a desktop run can use (environments). More in the API guide.

Or, with operon serve running, give it a task over HTTP:

curl -X POST http://127.0.0.1:8080/run-task \
  -H 'Content-Type: application/json' \
  -H "X-API-Key: $(cat ~/.operon/api-key)"   # .var/api-key in a source checkout \
  -d '{"intent": "Search Wikipedia for Alan Turing and open his article", "start_url": "https://www.wikipedia.org"}'

Warning

Desktop runs control your real mouse and keyboard. Use a machine you can spare, or a VM. The trust gate (OPERON_TRUST_GATE, on by default) pauses for approval before risky actions; set OPERON_TRUST_ALLOW_DOMAINS to pin browser runs to the sites you expect (configuration). The API requires the key it generates in ~/.operon/api-key (.var/api-key in a source checkout), or one from API_KEYS.

OSWorld result

On a fixed 25-task subset of OSWorld-Verified, Operon completed 21 of 25 (84%), scored by OSWorld's own checkers rather than by Operon, for about $3 of model credits.

  • Subset rule. 25 tasks drawn from the OSWorld-Verified task list with seed 20261115, stratified by domain, skipping proxy, Google-account, infeasible and Thunderbird tasks. The list was fixed before any run (evals/osworld_subset.json).

  • Settings. Gemini computer use (gemini-3.5-flash, the default), thin harness, tools off, auto-confirm on, 50-step cap per task, one full run (no best-of-N).

  • Caveats. A single run on a small subset, so treat it as a snapshot rather than a leaderboard entry. In an earlier one-task test run a Chrome task scored 0, most likely because we checked its result before Chrome had saved its settings; we then added OSWorld's own 20-second wait before scoring. The 21 of 25 is from one full run with that wait in place, with no re-scoring. Four tasks failed: one Chrome, one Calc, one Impress and one multi-app task (the last never started because its instruction was over our old task-text limit, since raised).

  • Reproduce. On a Linux machine with Docker (KVM recommended), a Gemini API key in GEMINI_API_KEY, and an OSWorld checkout (setup in docs/osworld-runner.md). With no --limit it runs all 25 tasks of the fixed subset:

    python -m evals.osworld --osworld-repo ~/OSWorld --max-cost-usd 8

    The full run costs about $3. (Our own runs go through a manual GitHub Actions workflow on a private VM, which others can't use; the command above is the way to reproduce it.)

Status

Operon runs browser, desktop and hybrid (desktop plus browser) tasks with Gemini computer use. On the Season 1 core sets Gemini scored 9 or 10 of 10 in most cells (graded in November 2026, before the Full harness was removed, so the grid has Thin and Full columns), and it completed 21 of 25 on the OSWorld-Verified subset above.

What stays: the engine, the environments, the run API and live view, the safety gates (trust gate, approvals, takeover, secrets vault), evals, replay, the dashboard and CI.

Removed on 2026-11-18: parts built for an earlier product direction (the Python SDK, YAML task files, the MCP server, operon setup, the task page, the built-in browser and new PyPI releases). They remain in the git history.

Documentation

Topic
Configuration Model keys, backends, every setting
Environments Where a desktop run happens (your PC, a container, a VM) and operon envs
Secrets Model keys in Credential Manager and the secrets vault
Logging What each run records and where
HTTP API Routes for browser and desktop runs, the live stream, auth
Evaluation Latest results, benchmark suites, /bench grounding and batch commands (paid runs are OSWorld and grounding only), cost caps, dashboard
Architecture The control loop, backends, policy, verification and recovery
Cost What a run costs and how to cut it
Azure desktop runner Running the desktop benchmark on a cloud Windows VM
Cloud computer Operon on its own Azure Linux VM, reached through an SSH tunnel (operon cloud)
OSWorld runner Setting up and running the OSWorld-Verified subset
Reports Benchmark write-ups, including the Season 1 grid
RFCs Design proposals

Development

pip install -e ".[dev]"                                   # editable install with test tools
GEMINI_API_KEY=fake-test-key python -m pytest tests -q   # offline, no browser, under a minute
ruff check src tests evals --select E,F,W,I --ignore E501

See CONTRIBUTING.md for conventions and how to report agent failures.

License

Apache 2.0

About

Vision-first computer-use agent engine and test bench. Drives browsers and desktop apps from pixels only, with no DOM and no selectors. Built to measure reliability: benchmarks, failure analysis and replay. Powered by Gemini computer use.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages