Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.62 KB

File metadata and controls

34 lines (27 loc) · 1.62 KB

Computer Use

← Back to README

What - tools that let the agent inspect and control a desktop: read accessible controls, press them by label, capture screenshots, and drive the mouse and keyboard. Why - some tasks only exist in a GUI, and structured accessibility data is cheaper and more precise than guessing coordinates from a screenshot. How - enable computer_use.yaml, then the agent uses the Computer and GetLatestFrame tools; prefer the accessibility action and fall back to screenshot.

Computer Use is off by default. Turn it on in computer_use.yaml (or with INFER_COMPUTER_USE_ENABLED=true):

# .infer/computer_use.yaml
enabled: true
rate_limit:
  enabled: true
screenshot:
  streaming_enabled: true   # starts the screen frame source GetLatestFrame reads from

The display backend is detected automatically on macOS, Linux and Windows. The accessibility tree is macOS-only for now, and other platforms fall back to screenshots. Actions are governed by computer_use.enabled, rate limits and computer_use.approval. The desktop app visualizes what the agent is doing (monitor, screen overlay, approvals). For a sandboxed desktop to drive, see examples/computer-use.

Related