Skip to main content
Computer Use is Alter’s UI automation layer for macOS. Instead of chaining low-level tools yourself, describe what you want in plain language and the Computer Use agent (computer_use_task) reads accessibility trees, clicks, scrolls, opens apps, and returns the result. Since 2.0.0-beta100, Computer Use runs in the background by default: you keep working while the agent operates a target window, with a live preview and Edge Bar session card. See Background Computer Use for the full non-blocking workflow.

The computer_use_task agent

Computer Use is a goal-based subagent. You pass a single goal string; Alter spins up an internal task loop that calls UI tools until the job is done or you stop it.

Parameters

Example goal:
Example with explicit window:

How to invoke it

Ask Anything (default) — Computer Use is enabled by default for new sessions alongside Flow and Ask User. Ask in natural language:
“Use Computer Use to fill the job application form in Safari but don’t click Submit.”
Alter’s parent agent calls computer_use_task with your request as the goal. Tool Manager — Enable Computer Use (computer_use_task) for custom Actions or MCP workflows. The tool is LLM-only: it is meant to be chosen by the model, not run manually with fixed parameters in most cases.

What the agent does

When computer_use_task runs, Alter:
  1. Builds system instructions for the subagent (AX-first workflow, batching rules, safety constraints)
  2. Injects live context — today’s date, your frontmost window ID, agent browser name, and your app profile (preferred Spotify vs YouTube for music, etc.)
  3. Starts a background session (Edge Bar card + optional live preview)
  4. Delegates to the task primitive with a fixed tool set and a 600 second timeout
  5. Returns a final answer — full extracted data for scrape goals, short confirmation for action goals
The subagent self-loops: read screen → act → re-read. It does not have workspace/bash/file tools; non-UI work stays with the parent orchestrator.

Tool set inside the subagent

The Computer Use subagent receives these tools: Full reference with parameters and examples: Computer Use agent tools.

AX-first workflow

The agent is tuned for accessibility text, not pixels:
  1. read_screen_ax with the target windowID
  2. perform or perform_sequence using @elementID values from that read
  3. Re-read after navigation, dialogs, scrolling, or shortcuts
  4. computer_use_screenshot only when the goal explicitly needs images — not for routine inspection
Batching: When several clicks or fills target elements visible in the same read, the agent should use perform_sequence once instead of many perform calls. Re-read before any step that changes layout. App guidance: For apps like Calculator, Discord, Spotify, and X/Twitter, read_screen_ax may include an <appGuidance> block with faster techniques (for example Calculator type instead of clicking digits).

Background vs foreground presentation

All new goals should go through computer_use_task so you get background execution automatically.

Agent browser

If you set Settings → Computer use → Agent browser to a dedicated browser, open_urls inside Computer Use opens pages there — not in your daily browser. This keeps agent logins separate. Clean up when finished closes agent tabs when the last session ends.

Writing effective goals

Name apps and constraints explicitly

Negative constraints

The agent respects instructions not to submit, send, publish, post, buy, or confirm. Say so in the goal:

Extraction vs action goals

Example goals

Multi-app scrape
Form fill without submit
Calculator

Manual tool chain (power users)

Before the task agent, workflows chained primitive tools explicitly:
  1. get_active_app_context (or read_screen_ax)
  2. perform
  3. scroll
  4. wait
That pattern still works in Tool Manager or custom Actions when you need one deterministic step without a subagent. For multi-step UI work, computer_use_task is strongly preferred — it batches actions, tracks windows, runs in the background, and applies app-specific recipes. Primitive references:

Settings and permissions

  • Settings → Computer use — agent browser, preview, blocked apps (guide)
  • Settings → Permissions — Accessibility and Screen Recording required
  • Settings → Doctor — diagnose permission and automation issues

Troubleshooting

See Background Computer Use, Tools Not Working, and Integrations troubleshooting.

Workflows