Key Features
- Screenshots - Capture current screen state
- Mouse Control - Move, click, drag operations
- Keyboard Input - Type text, press keys
- Screen Navigation - Scroll, zoom, multi-window
- Real-time Feedback - Visual loop with agent decisions
- State Tracking - Remember screen positions
How to Enable
For Agents Only
- Agents > Select Agent > Settings > Capabilities
- Search for Computer
- Click Attach
- Save
Computer cannot be attached to MCP gateways. It’s agent-exclusive for security reasons.
Usage Examples
Take Screenshot
Click on Element
- Analyzes screenshot
- Identifies button coordinates
- Executes click
- Captures new screenshot
Fill Form
- Screenshots form
- Identifies input fields
- Clicks on username field
- Types username
- Clicks on password field
- Types password
- Clicks submit button
Navigate Multi-step Process
Screen Coordinates
Agent receives screen coordinates for all elements:- Click at coordinates
- Drag between points
- Identify text positions
- Calculate relative positions
Interaction Types
Mouse Actions
- click(x, y) - Single click
- double_click(x, y) - Double click
- right_click(x, y) - Right/context click
- drag(x1, y1, x2, y2) - Drag from point to point
- move(x, y) - Move cursor without clicking
- scroll(direction, amount) - Scroll up/down/left/right
Keyboard Actions
- type(text) - Type text string
- key(name) - Press single key (Enter, Tab, Escape, etc.)
- hotkey(mod, key) - Keyboard shortcut (Ctrl+C, Cmd+V, etc.)
Navigation
- screenshot() - Capture current screen
- wait(seconds) - Wait for page to load
- maximize() - Maximize window
- minimize() - Minimize window
Size Tiers
Each Computer instance is a dedicated virtual machine. Choose a size based on your workload:Supported Operating Systems
- Ubuntu 24.04, Ubuntu 22.04
- Debian 12, Debian 11
Configuration
Optional agent specifications:Browser Subsystem
Computer includes an optional stateful browser that persists sessions, cookies, and navigation state across tool calls. This is disabled by default — setbrowser_enabled: true to activate it.
Browser Tools
When the browser subsystem is enabled, the agent gains these tools:Stateful vs Stateless Browser
Domain Allowlist
Usebrowser_allowed_domains to restrict which sites the browser can visit. An empty list (default) allows all domains. When set, navigation to domains not in the list is blocked.
Resource Limits
Cost
For current pricing details, see Pricing. Monitor in Account > Usage dashboard.Common Use Cases
Web Application Testing
Automation
Data Entry
Visual Inspection
Agent Loop Pattern
Typical agent workflow:- Screenshot - See current state
- Analyze - LLM processes image
- Decide - LLM decides next action
- Execute - Perform mouse/keyboard action
- Repeat - Loop until task complete
Best Practices
Start with Screenshot
Always capture initial state before taking actions.Be Explicit
Use clear instructions for agent:Handle Errors
If action doesn’t work as expected:Use Coordinates When Possible
Provide coordinates directly when known:Wait for State Changes
Allow time for UI updates:Limitations
- Desktop/Web only - Works with rendered interfaces
- Not for APIs - Use HTTP Client for APIs
- Visual interpretation - Relies on screenshot analysis
- Speed - Slower than direct API calls
- Flakiness - UI changes can break workflows
When NOT to Use
Troubleshooting
Screenshot is blank
- Wait for page to load
- Check window is focused
- Verify viewport size is correct
Click doesn’t work
- Coordinates may be off
- Element may not be clickable
- Try right-clicking instead
- Screenshot again to verify state
Text not entered
- Field may not be focused
- Type more slowly
- Use keyboard navigation (Tab)
- Copy-paste if typing fails
Agent stuck in loop
- Break task into smaller steps
- Increase wait times
- Provide more explicit instructions
- Use timeout to stop execution
Privacy & Security
Best practices:- Use dedicated user accounts
- Limit to non-sensitive applications
- Monitor screen capture content
- Disable in production where possible
API Access
Next Steps
- Browser Capability — Stateless browser for quick page rendering
- Web Search - Find Information
- HTTP Client - API Access
- Code Runner - Process Data
- Creating Agents