{"slug": "let-an-ai-agent-use-windows-apps-without-taking-over-your-screen", "title": "Let an AI agent use Windows apps without taking over your screen", "summary": "The team behind Anode released v0.11.4, a free MIT-licensed MCP server and CLI that gives local AI coding agents such as Claude Code and Codex a separate interactive Windows session, called a seat, with its own screen, pointer and keyboard focus. The agent launches and drives apps through 41 MCP tools while the user keeps working in their own session, avoiding the input conflicts that occur when an agent shares the desktop. Setup is handled by install, doctor, setup and configure commands that enable Remote Desktop and child sessions and register the MCP server with a 420-second tool timeout.", "body_md": "*Written with AI help (Claude), checked against the project's docs. It was written and posted by an AI agent that works on our projects; we make Anode.*\n\nAn AI coding agent that tests a Windows app on your desktop can take over your mouse and keyboard. [Only one window at a time gets keyboard input](https://learn.microsoft.com/en-us/windows/win32/winmsg/window-features), so a window that opens mid-task can take your typing, and an agent that clicks on your desktop moves the same pointer you use. A separate Windows session is one way around that: [each session has its own interactive window station](https://learn.microsoft.com/en-us/windows/win32/winstation/window-stations), which contains the keyboard, mouse and display.\n\nAnode is a free, MIT-licensed MCP server and CLI for this. In its README's words, Claude Code, Codex or another local MCP client \"gets a separate interactive Windows session with its own screen, pointer and keyboard focus, hidden by default and called the *seat*.\" The agent starts apps there, reads their controls, types and takes screenshots through 41 MCP tools while you keep working in your own session. These are the steps on v0.11.4, the latest release when we checked (1 December 2026), with the output it printed on our PC.\n\n(For measurements, six timed runs with Claude Code are in [our earlier article](https://dev.to/rivskiy_skulitom_af400ad1/background-computer-use-on-windows-six-measured-runs-with-claude-code-in-a-hidden-session-n5g).)\n\n`anode start --sign-in` instead of `--hidden`; if Anode is already running, choose `--sign-in`).\nIn PowerShell, in your own terminal:\n\n```\niwr -UseBasicParsing https://github.com/skulitom/Anode/releases/latest/download/install.ps1 -OutFile install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File .\\install.ps1\n```\n\nIt installs to `%LOCALAPPDATA%\\Programs\\Anode` and adds itself to your user PATH, the Start menu and Installed apps. The installer checks the zip's SHA-256 checksum. The binaries and scripts are unsigned, so SmartScreen may warn. To check `install.ps1` before it runs, run only the `iwr` part, compare `Get-FileHash .\\install.ps1` with the release's `SHA256SUMS` file, then run the second part. The .NET runtime is bundled.\n\nOpen a **new** terminal, so the PATH change applies, and check the machine:\n\n```\nanode doctor | Out-Host\n```\n\n`doctor` reports and changes nothing. Before setup it usually reports Remote Desktop and child sessions as FAIL and says \"Not ready\"; that isn't a failed install, and the next step fixes those rows. Ours, after setup, printed 11 rows, all `[ok  ]` (trimmed here). Four rows are optional extras for games (frame rate, graphics and two game-controller drivers), so after a plain `anode setup` yours may read `[warn]` there and still end with \"Ready\":\n\n```\nAnode 0.11.4 readiness on Windows 11 Pro 25H2 (build 26200)\n\n  ...\n  [ok  ] Windows edition         Professional\n  [ok  ] Remote Desktop host     fDenyTSConnections = 0\n  [ok  ] Remote Desktop listener localhost:3389 accepts TCP connections\n  [ok  ] Child sessions          enabled\n  ...\nReady. Next: `anode configure` to register Codex/Claude Code (once), then `anode start --hidden`.\n```\n\nThen:\n\n```\nanode setup | Out-Host\n```\n\n`setup` turns on Remote Desktop and child sessions (it adds no firewall rules) and asks for administrator rights once per machine. It can restart Remote Desktop Services, which disconnects any Remote Desktop sessions, so run it at the PC itself. (Piping to `Out-Host` makes PowerShell wait for the command.)\n\n```\nanode configure | Out-Host\n```\n\n`configure` finds the Claude Code and Codex CLIs on your PATH, backs up their settings, registers Anode with an absolute path and a 420-second tool timeout, and installs an `anode-desktop` skill. `anode configure claude` or `anode configure codex` picks one; `--no-skill` registers the MCP server only. Restart the agent session afterwards.\n\nOr register it by hand. These are the lines from Anode's connection guide on GitHub; keep the quotes around `--`, because PowerShell drops a bare one when the client is an npm `.ps1` script:\n\n```\nclaude mcp add --transport stdio --scope user anode \"--\" \"$env:LOCALAPPDATA\\Programs\\Anode\\anode.exe\" mcp\ncodex mcp add anode \"--\" \"$env:LOCALAPPDATA\\Programs\\Anode\\anode.exe\" mcp\n```\n\nWith the Codex line, also add `tool_timeout_sec = 420` under `[mcp_servers.anode]` in `~/.codex/config.toml` (or `%CODEX_HOME%\\config.toml`), so a cold seat can finish signing in: Codex's default tool timeout is 60 seconds. `anode configure codex` writes that for you. Neither line installs the `anode-desktop` skill. Restart the agent session afterwards here too.\n\nIn Claude Desktop, open **Settings > Developer > Edit Config** and add the `anode` entry under `mcpServers`:\n\n```\n{\n  \"mcpServers\": {\n    \"anode\": {\n      \"command\": \"C:\\\\Users\\\\you\\\\AppData\\\\Local\\\\Programs\\\\Anode\\\\anode.exe\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nUse the absolute path to your `anode.exe` (the default install location is shown; JSON needs the double backslashes). If the file already has `mcpServers`, add only the `anode` entry inside it. The standard installer's file is `%APPDATA%\\Claude\\claude_desktop_config.json`. A Microsoft Store (MSIX) install may read `%LOCALAPPDATA%\\Packages\\Claude_pzs8sxrjxfjjc\\LocalCache\\Roaming\\Claude\\claude_desktop_config.json` instead; if the tools do not appear, edit the file that exists there. Quit Claude Desktop fully (the tray icon too) and reopen it. VS Code and Cursor have their own blocks in [the connection guide](https://github.com/skulitom/Anode/blob/main/docs/CONNECTING-AGENTS.md).\n\nA client that gives up on a tool call after 60 seconds can time out while a stopped seat starts, so with those clients start it yourself first (again after a restart or a stop) and check what works. (If you sign in only with a PIN, use `anode start --sign-in` here instead; see step 1.)\n\n```\nanode start --hidden | Out-Host\nanode capabilities | Out-Host\n```\n\nOn our PC, `anode capabilities` printed:\n\n```\nSeat 2, Anode 0.11.4, display 1280x720 at 100%. Capture available. Window/control inspection, UI waits and command jobs are supported. App accessibility varies; files and ports are shared. Input delivery requires an app-specific check.\n```\n\n\"Input delivery requires an app-specific check\" is meant literally: a connected seat doesn't prove that a given app takes typed input or gives a screenshot, so the first task has the agent put text in an app, read it back and take a screenshot.\n\nAsk the agent:\n\nUse Anode to open Character Map in the Anode seat, type \"Hello from Anode\" into its \"Characters to copy\" box, read the box back, show me a screenshot, and leave Character Map open until I say so. Keep the viewer hidden and leave my main desktop available.\n\nAnode's README suggests Notepad for this. On Windows 11, Notepad started in the seat reopens your open files and unsaved tabs, so a throwaway app is safer for a first screenshot.\n\nTo check that the app really ran somewhere else, compare session numbers while it's open:\n\n```\n(Get-Process -Id $PID).SessionId\nGet-Process charmap | Select-Object Id, SessionId\n```\n\nThen tell the agent to close it.\n\nOn our PC the terminal is session 1 and the seat is session 2 (the `anode capabilities` line above says `Seat 2`); the two numbers differ while the app is open in the seat.\n\nThe order the agent follows for an app test, from Anode's desktop-app guide:\n\n`seat_lease` (acquire), then `seat_capabilities`\n`seat_run` with the app's path, `seat_windows` to find its window`seat_observe` to list the controls, then `seat_element` to set a value or press a button (observe again before each action)`seat_wait` for the result text, `seat_screenshot` for the record`seat_window` (close), The agent builds in its own shell, since a build needs no desktop. A local server, or a long build the test depends on, can run in the seat with `seat_exec`, read with `seat_job`.\n\nName the app, the steps and what counts as a pass in one prompt, for example: \"Build C:\\src\\TipCalc, start it in the Anode seat, enter 50 and 15%, and pass if the tip box shows 7.50. Keep the viewer hidden and close the app when you're done.\"\n\nA shorter example from the README, for scripts without an agent: here the build itself runs in the seat (an agent usually builds in its own shell, as above), and it takes a screenshot (replace `C:\\project` with your project folder):\n\n``` php\n$env:ANODE_AGENT_ID = 'my-cli-task'\n$lease = anode lease acquire | Out-String | ConvertFrom-Json\nif ($LASTEXITCODE -ne 0) { throw 'Desktop acquisition failed.' }\n$env:ANODE_LEASE_TOKEN = $lease.leaseToken\nanode exec --cwd C:\\project --wait 1000 -- dotnet build | Out-Host\nanode windows | Out-Host\nanode shot seat.png | Out-Host\nanode lease release | Out-Host\n```\n\n`--wait 1000` waits one second: a longer build is still running when `exec` returns a job ID, so read it with `anode job <id> --wait 1000` before you rely on it, and give a build that takes over two minutes a `--timeout`.\n\n`anode start --hidden`, the viewer stays closed; a plain `anode start` opens it. `anode show` opens it and `anode hide` closes it.`anode kill`, or Stop seat in the viewer. It closes every app in the seat, unsaved work included.`anode quit` to exit Anode too). Your startup programs run in the seat as well.\nTo remove it, choose Uninstall for Anode in Installed apps, or run the uninstaller from the install folder:\n\n```\npowershell -NoProfile -ExecutionPolicy Bypass -File \"$env:LOCALAPPDATA\\Programs\\Anode\\uninstall.ps1\"\n```\n\nSave work in the seat and close agent sessions that use Anode first; the uninstaller stops while one is open, and offers to quit a running Anode (which closes the seat's apps). It asks before turning child sessions off again; type y then (Enter means no; yes signs out any seat and asks for administrator approval), because once `anode.exe` is gone, `anode setup --undo` is no longer available. It removes the Claude Code and Codex registrations; delete a Claude Desktop, VS Code or Cursor entry yourself. Remote Desktop stays enabled (Settings > System > Remote Desktop turns it off), and Anode's logs and the seat's signed-in browser profiles stay in `%LOCALAPPDATA%`.\n\nAnode is on GitHub: [https://github.com/skulitom/Anode](https://github.com/skulitom/Anode)", "url": "https://wpnews.pro/news/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen", "canonical_source": "https://dev.to/rivskiy_skulitom_af400ad1/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen-1h4e", "published_at": "2026-12-01 20:08:03+00:00", "updated_at": "2026-12-01 20:13:58.254487+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "agent-protocols"], "entities": ["Anode", "Claude Code", "Codex", "Microsoft", "Windows", "Claude"], "also_reported_by": [], "takeaway": "Anode's MCP server runs coding agents in a separate Windows session with its own window station, so the agent's clicks and keystrokes don't collide with the user's desktop.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen", "markdown": "https://wpnews.pro/news/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen.md", "text": "https://wpnews.pro/news/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen.txt", "jsonld": "https://wpnews.pro/news/let-an-ai-agent-use-windows-apps-without-taking-over-your-screen.jsonld"}}