Gemini
Gemini 2.5 Computer Use is Google's groundbreaking capability that enables AI models to interact with computers the way humans do by looking at screens, moving cursors, clicking buttons, and typing text. This powerful feature allows AI agents to control web browsers, navigate interfaces, and perform complex tasks across applications.
By integrating Gemini 2.5 Computer Use with Kernel, you can run these AI-powered browser automations on cloud-hosted infrastructure, eliminating the need for local browser management and enabling scalable, reliable AI agents.
Quick setup with Computer Use
Get started with Gemini Computer Use and Kernel using our pre-configured app template:
kernel create --name my-computer-use-app --language typescript --template gemini-computer-useThen follow the deploy and invoke guides to deploy and run your Computer Use automation on Kernel's infrastructure.
Build your own agent
For full control over the loop, drive Gemini from TypeScript with @onkernel/cua-agent:
import Kernel from "@onkernel/sdk";
import { CuaAgent } from "@onkernel/cua-agent";
const client = new Kernel({ apiKey: process.env.KERNEL_API_KEY! });
const browser = await client.browsers.create({ stealth: true });
const agent = new CuaAgent({
browser,
client,
initialState: {
model: "google:gemini-3-flash-preview",
systemPrompt: "You are a careful browser automation agent.",
},
});
await agent.prompt("Open news.ycombinator.com and summarize the top story.");Benefits of using Kernel with Computer Use
- No local browser management: Run Computer Use automations without installing or maintaining browsers locally
- Scalability: Launch multiple browser sessions in parallel for concurrent AI agents
- Stealth mode: Built-in anti-detection features for reliable web interactions
- Session state: Maintain browser state across runs via Profiles
- Live view: Debug your Computer Use agents with real-time browser viewing
- Cloud infrastructure: Run computationally intensive AI agents without local resource constraints
Next steps
- Check out live view for debugging your Computer Use automations
- Learn about stealth mode for avoiding detection
- Learn how to properly terminate browser sessions
- Learn how to deploy your Computer Use app to Kernel