Field noteDec 3, 20263 min read1 source

Computer use with Gemini and Cua Driver

In one minute

Google AI Studio published a Cua AI partner guide dated November 2, 2026, showing how to connect Cua Driver to Antigravity as a local MCP server without writing application code. The setup lets the agent send clicks and keystrokes in the background while you retain control of the keyboard, pointer, and focus. (aistudio.google.com)

What changed: Google AI Studio published a guide for connecting Gemini to Cua Driver through Antigravity MCP or the Interactions API, enabling background control of desktop apps.

What happened

Cua Driver reads apps through accessibility trees and screenshots. The guide says this approach works with accessible native, Electron, and browser apps across macOS, Windows, and Linux. (aistudio.google.com) The Antigravity desktop app, IDE, and CLI share one MCP configuration, so the same server setup can serve each. (aistudio.google.com)

For more control, the guide also offers a custom loop built with the Interactions API, the google-genai SDK, and Cua Driver’s typed tools. (aistudio.google.com) The loop returns tool results to Gemini as function results containing text, structured JSON, and image parts. (aistudio.google.com) Its example calls for a fresh window snapshot after changes because earlier element tokens become stale; target apps must already be open unless you add the launch_app tool. (aistudio.google.com)

The walkthrough uses macOS 14 or later and requires Cua Driver 0.35.2 or later; its Antigravity setup requires agy 1.1.16 or later. (aistudio.google.com) The custom-loop examples support Python 3.10+ or TypeScript with Node.js 20+. (aistudio.google.com)

Trend signal

This is a concrete example of MCP acting as a boundary between an agent and desktop tools: Antigravity can use a locally registered server rather than requiring a native integration for each application. The broader pattern is agent protocols becoming an interoperability layer across models, harnesses, and tools.

Why it matters

Allowing mcp(cua-driver/*) trades repeated confirmations for smoother desktop control. It does not approve unlisted shell commands, which Antigravity still prompts before running; in print mode, tools outside the allow list are denied and the reason is reported on stderr.

Limits and uncertainty

The desktop-control and cross-platform compatibility claims come from the partner guide, not independent confirmations. (aistudio.google.com) Its hands-on walkthrough is specifically for macOS 14 or later, even though the guide describes support for accessible apps on Windows and Linux as well. (aistudio.google.com)

Skill to build now

Create a Gemini API key in Google AI Studio and set GEMINI_API_KEY in your terminal session. (aistudio.google.com) Install Cua Driver with /bin/bash -c "$(curl -fsSL https://cua.ai/driver/install.sh)". (aistudio.google.com) On macOS, grant CuaDriver Accessibility and Screen & System Audio Recording permissions; on macOS 26, allow direct screen access if prompted. Check them with cua-driver permissions status. (aistudio.google.com)

Register the server with agy mcp add cua-driver "$(command -v cua-driver)" mcp and verify it using agy mcp list. The guide also identifies ~/.gemini/config/mcp_config.json as the MCP configuration location. (aistudio.google.com) To use a Gemini API key rather than signing in with a Google account, set "modelProvider": "gemini". (aistudio.google.com) For a small first test, run agy --model gemini-4-argon-low -p "Use only the cua-driver tools. List the windows that are open right now.". (aistudio.google.com) To avoid a prompt before every Cua Driver action, add "mcp(cua-driver/*)" to the allow list in ~/.gemini/antigravity-cli/settings.json. (aistudio.google.com)

Reader takeaway

The practical change is a no-application-code path from Antigravity to desktop controls: install Cua Driver, grant OS permissions, register it as an MCP server, then explicitly allow its tools if you want to avoid per-action prompts. Test with a window-listing request before delegating changes.

How this was made

First seen
Dec 3, 2026, 14:00 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Novelty judgement: a new fact, high confidence. Editorial value: high.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1aistudio.google.com/learn/partner-cua-computer-use-gemini
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicGeminiExplore the gemini topic hub.
  2. 02topicGoogleExplore the google topic hub.
  3. 03topicMcpExplore the mcp topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract