Manual›Reference›Agents
What can the Computer use agent do, and how does it work?
The Computer use agent works the apps on your computer the way a person would — reading the screen, clicking, typing, using menus — but quietly, in the background, without taking your mouse or keyboard. You keep working while it works. It reads each app's own structure instead of guessing at pixels, stops before anything that sends, buys or deletes, and steps back the moment you touch the mouse.
What makes it different
| what it does | the primitive behind it | what that buys you |
|---|---|---|
| Works without taking your mouse | Quiet mode (the default): it clicks and types through the app's accessibility controls and sends keys to that one app, never through your cursor | You keep using your computer. The app it's driving doesn't even need to be in front |
| Reads the app, not just the picture | Every observation merges the app's accessibility tree with on-device text recognition into one numbered list of controls, sorted into regions (toolbar, sidebar, content…) | It clicks control [12], not a guessed pixel, so a moved window or a new theme doesn't throw it off |
| Refuses rather than guesses | Anything that can't be done quietly (raw clicks, drags, scrolling, shortcuts) is refused in quiet mode, with no silent fallback to your cursor | It never grabs your mouse by surprise |
| Stops before the irreversible | A commit gate pauses before buttons like Send, Pay, Buy, Delete, Publish, Submit or Confirm, before Command+Backspace on a Mac, and before commands typed into a terminal that delete or send | The last click is always yours. The pause card's button is named for what it does ("Send"), so a reflex click can't send by accident |
| Steps back when you touch | In hands-on mode, any click or key from you pauses the run before its next action | You can always take over. Moving the mouse alone doesn't count, so it doesn't pause constantly |
| Stays cheap on long jobs | Only the newest screen observation stays in the conversation; older ones shrink to one line | Measured over 20 observations: 15,983 tokens of input down to 5,435 |
| Turns app routines into programs | Reflexes drive the same tools, find controls by their text (never stored numbers), and keep screenshots out of the conversation | A routine like "play this song in Spotify" becomes one call |
How it works
Quiet mode and hands-on mode
Every run starts quiet.
- Quiet mode: buttons are pressed through the app's accessibility actions. Single-line fields are filled directly and then read back to check. Longer text is typed as keystrokes sent only to that app. Menus and windows are driven by addressing the app by name, and on a Mac so are the Dock and Spaces. Your cursor never moves.
- What quiet mode can't do: raw clicks on things with no accessibility action, double, triple and right clicks, dragging, scrolling, and keyboard shortcuts. Each of these was tested live, and the operating system doesn't deliver them reliably to an app in the background. Rather than secretly falling back to your real mouse, the agent refuses and picks another route.
- Hands-on mode (
app foreground) brings the app to the front and uses the real mouse and keyboard. It's a last resort. When the job is done, the agent hands the mouse back (app background) and returns you to the app you were using. - Waking "cold" apps. Apps built on web technology (Spotify, VS Code, Discord, Slack) hide their controls from accessibility until they get one real interaction in front. The agent spots this: the app shows lots of text but almost no controls. It brings the app forward once, makes one interaction, and hands it back. The controls stay visible after that.
Why quiet by default: an agent that takes your mouse makes your computer unusable while it works. Quiet mode lets it run while you keep going. Refusing instead of falling back means it never grabs your mouse unannounced.
How it sees
- Only the app it's working in. Each observation captures that one app's window, without bringing it forward. It never captures your whole desktop.
- The structure, not just the picture. It reads the app's accessibility tree, up to 6,000 controls. Then on-device text recognition (nothing leaves your computer) fills in the text the tree doesn't cover. Everything becomes one numbered list, each control tagged with a region: top menu, toolbar, sidebar, right panel, content, status bar or modal.
- An annotated screenshot with each control boxed and numbered, for models that can see images. Models that can't see images get the same list as structured rows, so any model works.
- Context around it: apps that just opened, apps that just moved to the front, the app's other windows, and other open apps.
- Zoom:
observe(mode="region")enlarges one panel and renumbers just its controls, for dense apps. - Numbers go stale after any action, so it looks again before each step: observe → act → observe → confirm.
Its tools
| tool | does |
|---|---|
observe |
look at the app: the full window or one region; accurate for hard-to-read text |
wait |
wait until some text appears (up to 15 s), or pause briefly |
click |
press control [N]: single, double, triple, right, hover, or one of its named actions (e.g. increment) |
text |
type into a field, read a field's value back (to confirm typing), read or write the clipboard, paste |
key |
a key or shortcut (shortcuts only in hands-on mode) |
scroll · drag |
hands-on mode only |
app |
launch (quietly, without bringing it forward), switch window, take or hand back the mouse, use the app's menus; on a Mac only, switch Space and click a Dock item |
window |
list, focus, move or resize the app's windows; the result is read back to confirm |
It also carries discovery, recipe, skill, reflex, delegate, equip, chronicle, todo and ask_user_question. → Main agent for what these do.
Deliberately not carried: plugin (added only when needed, since its description costs about 620 tokens every turn). It also doesn't have the main agent's general delegation instructions: its prompt has its own, sized for a desktop agent.
Why no approval card on each click: the approval card appears in Irene's window. Showing it would bring Irene to the front, and the agent would lose sight of the app it's driving. Its safety comes from the commit gate, the touch pause and the terminal gate instead.
How it's told to behave
- One step at a time: look, act, look again, confirm. Ground every step in what the screen actually shows.
- Check typing by reading the field back, not by looking at the whole screen again.
- The same key means different things in different apps. On a Mac, Return renames a file in the file manager. When a key could change meaning, use the menu.
- Say one line before typing in an app you might have in front ("I'll type in Notes now — go ahead and let me").
- If a request could mean two things but both start the same way, pick the likelier one and say so. If they split before something destructive, or touch the wrong account, ask.
- If something isn't there, say so and stop.
- Narrate plainly: one short sentence per step, with no control numbers or tool names.
- Drive the real interface first. Connect an app or add a tool only when the interface can't do it.
- Multi-step jobs get a visible plan with one item in progress, so you can tell a long step from a stuck one.
Safety
The commit gate
Before pressing a button or menu item whose whole label is, or starts with, Send, Pay, Buy, Place order, Checkout, Post, Publish, Submit, Delete, Remove, Move to Trash, Empty Trash, Discard, Don't Save, Confirm, I agree, Accept terms or Comment, the agent pauses and shows Ready to "Send". The approve button carries the action's own name.
The ask-first buttons it watches for are matched in English for now.
- It matches whole labels, not fragments: "Resend code" and "Send me updates" don't trigger it.
- Command+Backspace on a Mac always pauses. So does Return while a commit button is enabled on screen.
- Why: this is the one moment you can't take back, so it's always yours. Matching only whole labels keeps the pause rare enough that you'll actually read it.
Terminals
In Terminal, iTerm, Warp, Ghostty, Alacritty and kitty, every line the agent types or pastes is checked as a shell command before Return. Commands that delete or send pause with Run this command?
Why: without this, an agent could type rm -rf into a terminal and press Return, and no button label would ever show it.
When you touch
- In hands-on mode, any click, key or scroll from you pauses the run before its next action, with You took the mouse · Resume / Stop. There's no time limit.
- Moving the mouse alone doesn't count. It paused nearly every step when it did.
- Hands-on mode needs permission to notice your input (Input Monitoring on macOS). Without it the agent won't take the mouse at all, and stays quiet.
One driver at a time
Only one run drives your desktop at a time. Another waits, showing Waiting for the current computer task. Every new run starts quiet, even if the last one took the mouse. Stop releases any held keys or buttons immediately.
Auto mode and unattended runs
- Looking and scrolling count as reads, and clicking and typing as local changes, so these run. Commit buttons go to the auto-mode judge, and payment buttons are always held.
- In an unattended run, if someone touches the mouse during hands-on mode, the agent stops touching the screen for the rest of that run and lists what it couldn't do.
Permissions
Irene asks for what your operating system needs to let an app read and control other apps. On macOS:
| permission | needed for |
|---|---|
| Accessibility | reading and pressing controls (required) |
| Screen Recording | capturing the app's window (required) |
| Input Monitoring | hands-on mode and the touch pause |
| Automation | asked per app the first time the agent scripts it |
If one is missing, the agent says which and stops. After granting Input Monitoring, restart Irene. Windows and Linux ask for their own equivalents.
Working in parallel
There's one desktop, so only one Computer use run at a time. For parallel work, split it: websites to the Browser Use agent (many windows at once), documents to Documents / Slides / Spreadsheets.
Where you see it
- The status strip: "Working in Notes · typing the title" (quiet), "Driving Spotify in front — click or press a key to take over" (hands-on), Stopped, or Failed. Stop is always there.
- Screen view: the latest annotated screenshot in a window frame (click to enlarge), the last action, and the plan.
- The overlay panel and voice. Computer use runs right in the floating panel, and you can drive it by voice. A pause opens the panel so you see it.
- The orb shows when it's driving.
- On a Mac, no Dock icon bounces while it works.
How it gets better
- Look first. Before multi-step work it searches your saved reflexes, recipes and skills.
- Save by shape: mechanical steps → a reflex · steps that need eyes → a recipe (promoted to a reflex once proven) · an app's quirks → a skill.
- Reflexes find controls by their text in a fresh observation, never by stored numbers, because the numbers change every time. Inside a reflex there are no screenshots: a program reads the structured list.
- Why reflexes matter here most: every observation's screenshot is re-sent on every later turn, so a 12-step routine done by hand piles up. As a reflex, only the final result comes back.
- Built-in skills: reading the desktop well, working in the background, driving menus and dialogs, filling fields in an app, checking whether an app is scriptable first. On a Mac only: driving apps with AppleScript (including a library of ready recipes), and the Mac's own file manager and settings app.
- Built-in reflexes:
- play-a-song-on-spotify opens Spotify quietly. It wakes the app once only if needed and hands it straight back, presses Play on the right result, and only counts it done when it sees "Now playing" and a Pause control. Before that check, it once reported success because the song's name was sitting in the search box.
- prepare-a-message writes a Mail draft and never clicks Send, so your approval comes on the real Send button.
- toggle-system-appearance switches light/dark mode with no model calls.
What it costs
- Model usage at what we pay + 20%, on the model set for Computer use (by default a fast model that can see images). Any model can be picked; ones that can't see images use the structured list.
- Screenshots are the expensive part. Only the newest observation stays in the conversation, older runs fold away, and reflexes keep screenshots out entirely.
- No plan gate: Computer use is on every plan.
Limits
- One run at a time on your desktop.
- Quiet mode can't scroll, drag, double-click, right-click (without a menu action) or use shortcuts. Those need hands-on mode.
- Pixel-only surfaces (games, canvases) need hands-on mode.
- An app needs a window to be driven.
- It doesn't keep a list of apps it won't touch. Commit-type buttons always pause, but what it opens is up to what you ask.
- Screenshots are kept on your computer, newest 120 (about 60 observations), in
~/.irene/computer_use/out/, readable only by you.
Related
- Main agent · Browser Use: websites, many at once
- Make a reflex · Approvals & auto mode
- Skill: working-in-the-background (Capabilities → Skills)
[Ask Irene about this]
Updated