AIAny
AI Agent2025
Icon for item

Computer Use Preview

Official reference code for building browser-controlling agents on Google's Gemini computer-use models. The model sees a screenshot, proposes a UI action, and the loop executes its clicks, typing and scrolling via local Playwright or cloud Browserbase.

Introduction

Most computer-use demos hide the part that actually matters: the loop that turns a model's "click here" into a real browser action and feeds the result back. This repository is Google's minimal, readable reference for that loop, observe a screenshot, let the model propose a UI action, execute it, then repeat, and it tracks Gemini's current default computer-use model rather than betting on one version.

What Sets It Apart
  • It exposes the agent loop, not a product. Each turn sends the task, the current screenshot, and recent action history to the model; the model replies with a UI action; the code executes it and screenshots again. Reading it teaches the control flow you would otherwise reverse-engineer.
  • Tracks the live model lineup. The default is now gemini-3.5-flash, with gemini-3-flash-preview and the earlier gemini-2.5-computer-use-preview also selectable, so the same loop keeps working as Google folds computer use into newer Gemini models.
  • Two interchangeable browser backends. Playwright drives a local Chrome for full control; Browserbase runs the same agent against a cloud browser. Switching is a config change, so you can move from local debugging to scaled, headless runs without rewriting the agent.
  • Honest about a real failure mode. Playwright cannot capture native <select> dropdowns on some operating systems, so dropdown-heavy forms break locally, and the README points to Browserbase as the workaround instead of hiding the issue.
Who It's For

Great fit if you want to understand or prototype browser automation with Gemini: testing UI flows, scripting multi-step web tasks, or learning how visual computer-use agents are wired before committing to a framework. Look elsewhere if you need a polished, production-ready RPA tool: this is preview-stage reference code, browser-only with no native desktop control, and you supply the safety guardrails, retries, and error handling yourself. For context, Google's dedicated 2.5 computer-use model reported roughly 70% on the Online-Mind2Web benchmark.

Information

  • Websitegithub.com
  • OrganizationsGoogle DeepMind
  • AuthorsGoogle Gemini
  • Published date2025/05/06

More Items

GitHub

Turns natural-language instructions into end-to-end Android automation that drives real devices and captures Logcat and screenshots. Uses a multimodal “Dynamic‑First, Coordinate‑Fallback” locator and a native MCP server for IDE integration, supporting fast Flash (3–5s/step) and verifiable Pro workflows.

GitHub
AI Video2026

Turns Claude Code or Codex into an agent skill that storyboards, animates, and sound-designs cinematic product promos from your real screenshots using Remotion. Packs tuned shot recipe cards, 150+ motion previews, a production-ready template, Remotion components, and audio assets for web/desktop product films.

GitHub
AI Agent2026

Helps produce and revise natural, readable Japanese for work documents by applying a 12-item writing constitution and sudachipy-powered lint to detect and remove “AI-smelling” patterns; includes diagnostic scoring and iterative rewrite loops.