gemini-2.5-pro| input-price: 1.25 output-price: 10 max-context-length: 200_000 (cost: $0.03) Β· Anfrage: 2025-10-07T21:21:31.035429
Generated by rs-summarizer Version unbekannt
Abstract:
This document describes the Gemini 2.5 Computer Use model, a tool designed for building browser control agents that can automate tasks by interacting with graphical user interfaces (GUIs). The model operates by analyzing screenshots to "see" the screen and generating specific UI actions, such as mouse clicks and keyboard inputs, which are then executed by a client-side application. The core of its implementation is an "agent loop" where the model receives the current screen state, suggests an action, waits for the client to execute it, and then receives a new screenshot to determine the next step. The documentation details the implementation process, including the required secure execution environment, the list of supported UI actions (e.g., click_at, type_text_at), and the ability to add custom functions for non-browser environments. A significant emphasis is placed on safety and security, detailing a built-in safety system that may require human confirmation for potentially risky actions, and outlining best practices for developers, such as using sandboxed environments and implementing human-in-the-loop (HITL) workflows.
Building Automated Agents with Gemini Computer Use
What is Gemini Computer Use?
gemini-2.5-computer-use-preview-10-2025) and tool that allows developers to build agents that can see a computer screen via screenshots and act upon it using generated UI actions like clicks and keyboard inputs.The Core Agent Loop:
function_call (e.g., "click at coordinate (x,y)").Implementation and Functionality:
open_web_browser, navigate, click_at, type_text_at, scroll_document, and drag_and_drop.open_app for a mobile environment) or excluding predefined actions they don't want the agent to use.Safety and Security:
require_confirmation. This happens for potentially risky actions like interacting with a CAPTCHA.require_confirmation decision is received, the application must prompt the end-user for confirmation before executing the action. Bypassing this is against the terms of service.