> ## Content Index
> Fetch the complete content index at: https://orbiorbi.com/news/llms.txt
> Use this file to discover other available public pages before exploring further.

# Vercel agent-desktop clicks in the background. Did it save the file?
- URL: https://orbiorbi.com/news/en/vercel-agent-desktop-background-control/
- Published: 2026-11-09T11:05:38.000Z
- Updated: 2026-11-09T11:05:38.000Z
- Description: Claude Code pressed the buttons on a Mac calculator and added a line in TextEdit without bringing either app forward. The two outcomes show what a desktop agent needs to verify.
- Author: Orbis News
- Tags: Guides, #en, #orbis-auto, #mt-review

Claude Code pressed the digits and multiplication key on a Mac calculator and read 5,888 from its display. Calculator stayed in the background the whole time. The testers then asked Claude to add a line to a note in TextEdit and press the save shortcut. The line appeared, but the title bar still read “Edited.”

The [AI Parabellum editorial team published the test on November 3](https://aiparabellum.com/vercel-agent-desktop-claude-code-tested/?ref=orbiorbi.com). They used agent-desktop 1.0.2\. As of November 9, 2026, the [Vercel Labs open-source repository](https://github.com/vercel-labs/agent-desktop?ref=orbiorbi.com) showed about 19,900 stars. [Version 1.2.0, released November 5](https://github.com/vercel-labs/agent-desktop/releases/tag/v1.2.0?ref=orbiorbi.com), added MCP support. Those two windows show where the tool fits. It can reach controls in the background, and the app’s output tells you how far the task got.

## How Vercel agent-desktop finds a calculator button

An accessibility tree is a structured description of an interface that the operating system provides to assistive software. When the app exposes enough detail, the tool can read a control’s name, role, current value, and sometimes the actions it accepts. Calculator can expose its digits as named buttons and the number on its display as a readable value. The agent can target a named button while someone works in another app in the foreground.

The [project’s quick start](https://github.com/vercel-labs/agent-desktop?ref=orbiorbi.com#quick-start) uses Finder. Install the tool, then grant macOS Accessibility permission to the terminal app that runs it. Open Finder and run `agent-desktop snapshot --app Finder -i` to list interactive controls. Look for a `ref_id` under the target control. It will look something like `@s8f3k2p9:e8`. Pass the full reference from your snapshot to `agent-desktop click`, then read the current window again. The first part of the reference ties it to that snapshot. The sample ID won’t work in your Finder window.

One action can change the target of the next. A click can open a dialog or make the original control disappear. If the tool reports `STALE_REF`, take a fresh snapshot and find the target again. If the interface is updating asynchronously, wait for the expected state. Vercel’s [Ben Sabic](https://vercel.com/i/browser-vs-desktop-automation?ref=orbiorbi.com) gives a small example. If you press 7 again before Calculator updates its display, you could end up with 77\. In Calculator, that’s an extra digit. In a ticketing system, it could be an extra record.

## TextEdit’s title bar still said “Edited”

In the third-party test, the agent used `set-value` to add a line containing “Eggs.” It then tried Command-S. The tool reported sending the keystroke but couldn’t confirm that TextEdit had received it. The window still said “Edited.” The new content appeared in the file a little later. The testers thought TextEdit’s autosave was the likeliest explanation. They also tried the File menu in the background. Both Save and Save As were grayed out at the time.

Calculator’s answer lives on its display. Reading 5,888 gives you the result. For a text edit, the deliverable is the document on disk, so the line in the text field still has to be checked against the file. If you can’t read the file back, report the save as unconfirmed and say whether the path was missing or the read failed. Whether the mouse moved tells you very little about either outcome.

| What you observed                                      | What it confirms                                            |
| ------------------------------------------------------ | ----------------------------------------------------------- |
| The snapshot found a button or text field              | The app exposed a control the agent can locate              |
| The action returned a result and the interface updated | The target state in that window changed                     |
| You read back the target file or business record       | You find the line in the file, or the new record and its ID |

The testers ran macOS 26.5 with Claude Code 2.1.316, Opus 5.5, and agent-desktop 1.0.2.

If you want to try it, Calculator gives you an easy result to check. Then pick a temporary document. Ask the agent which window shows the new content, and have it read the same line back from the specified path. Once both checks work, you can consider adding the workflow to your regular routine. If you can verify only the edit on screen, leave it as a visible draft and let someone save it.

## When to bring an app to the foreground

For a web form, browser automation can locate fields directly, and some pages let the browser tool set a file input. Desktop agents come into play for native buttons, menus, and system dialogs, or when the workflow moves outside the browser. You might download a report from a website and open it in a desktop app. Pass along the file path and the reporting period you’ve verified so the second tool can open the right download.

Some controls are hard to see in the tree. A custom-drawn canvas may appear as a single container. A screenshot can help determine where elements sit, what covers them, and how a button looks. In [a discussion on r/ClaudeAI](https://www.reddit.com/r/ClaudeAI/comments/1xp8xcp/agentdesktop%5Fvercel%5Flabs%5Fcomputer%5Fuse%5Ffor%5Fclaude/?ref=orbiorbi.com), a reader proposed comparing actual misclicks on the same workflow instead of counting successful command responses. For tasks that require physical keyboard or mouse input, the docs offer `--headed` mode. You still need to account for platform support and which window has focus. When an authorized API can return the business record directly, you can skip the interface for that step.

Related reading. [How Pi gives you control over your coding tools](https://orbiorbi.com/news/en/pi-coding-agent-workflow-control/) · [What AI assistant permission rules can leave behind](https://orbiorbi.com/news/en/claude-code-password-leak-permissions/)

## Further reading

- [agent-desktop documentation](https://agent-browser.dev/desktop?ref=orbiorbi.com)
- [Vercel Labs v1.2.0 release notes](https://github.com/vercel-labs/agent-desktop/releases/tag/v1.2.0?ref=orbiorbi.com)
- [AI Parabellum’s Calculator and TextEdit test](https://aiparabellum.com/vercel-agent-desktop-claude-code-tested/?ref=orbiorbi.com)
- [Ben Sabic’s comparison of browser and desktop automation](https://vercel.com/i/browser-vs-desktop-automation?ref=orbiorbi.com)