Scan your whole stack
From OX Research Newsroom
Are you using pi-agent-computer-use?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.3
pi-agent-computer-use was last scanned on 25 Nov 2026 at version 0.2.3. Risk score 40 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.2.3 LATEST | 25 Nov 2026 | 1 rule fired |
| 0.2.2 | 24 Nov 2026 | 1 rule fired |
| 0.2.1 | 24 Nov 2026 | 1 rule fired |
| 0.2.0 | 24 Nov 2026 | Not shown |
| 0.1.5 | 9 Nov 2026 | Not shown |
Findings for v0.2.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The package combines two or more of these: requesting administrator rights while hiding the window, adding Windows Defender exclusions or disabling protection, disabling Smart App Control, and downloading and running a program. Each has narrow legitimate uses; together they suggest an attempt to evade or weaken the machine's protection.
HIGHThe score describes 0.2.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Ask your agent to do something on your computer, for example "open Paint and draw a house", "fill in this form in my browser" or "check what the settings window says". It finds the window, reads its controls and screenshot, acts, and reads it again to see whether it worked.
We give a Pi agent this reference picture and an empty canvas in GIMP on another Windows machine, and ask it to paint a copy. It paints every mark itself with GIMP's tools: filled selections, soft shading inside them, tapered pen strokes for the line art, hatching and hand-drawn lettering. Along the way it compares its canvas with the reference and fixes the biggest differences. The animation above is a 61-minute run of gpt-6.1-sol, sped up about 120 times.
We run it with different models. Click a painting to see it next to the reference and watch the full time-lapse:
The agent follows a painting skill that breaks the work into stages and gives it a tested GIMP toolkit. demo/gimp-painting has the prompt and the script that sets up the machine, records the screen and makes the time-lapse, so you can repeat the run with another model or picture.
Pi Agent Computer Use gives the Pi coding agent one interface for every Windows app, browsers included. The agent finds a window, reads its accessibility tree and screenshot, and then types, clicks, drags or runs a browser action. Input always targets the latest thing the agent saw, and every result says what was delivered and what is still unknown.
| Work | How |
|---|---|
| Find windows, apps and displays | Search or Read computer:machine/local/windows, /apps and /displays |
| See a window | Read computer:window/... for its UI tree, short element hints and a screenshot |
| Act on what it saw | computer_click, computer_type and the other input tools on the window, by ref, locator or point |
| Work in web pages | Playwright snapshots and actions in browsers it opens or attaches to |
| Check the result | computer_wait, change lists and fresh Reads |
| Work away from your desktop | Windows Sandbox, isolated agent sessions and other machines over SSH |
Native capture and input come from our fork of Cua Driver, alexshpunt/cua. It adds the Windows features computer use needs and upstream doesn't have yet: held brush paths, key holds, input timelines with pen pressure, window management, strict UI Automation actions, pausing while you use the mouse and more. FORK.md lists them all. Playwright handles web pages.
Every action has its own tool with typed fields: computer_open, computer_click, computer_type, computer_wait, computer_browser and so on. They stay out of the tool list until the agent looks for them with tool_search, so a session that never touches the computer pays nothing for them.
If you have Pi Agent IDE, looking goes through its read, search and delete tools, so the agent uses the same tools for files and windows, and the results show up in the IDE's tool panels. Without the IDE, computer use adds computer_read, computer_search and computer_delete instead. Both modes take the same addresses and work from Codemode scripts. Pi Agent IDE projects its Read and Search values for scripts; standalone tools return their own values. Each Pi session picks the mode itself, so you don't configure anything. Computer-address help in the shared tools loads on demand too; Computer resources explains discovery.
Computer use is built for an agent you trust with your desktop. In YOLO mode, the default, the agent can read and operate any window you point it at, read whole displays, attach to browsers that are already running and start programs by path. You get the most out of it this way.
YOLO also means the agent can click and type anywhere you could. If a misclick would fuck up something you care about, switch to Safe mode with /computer-mode safe, or give the agent a sandbox. In Safe mode the agent only sees and touches windows it opened itself, and it can't read displays or start arbitrary programs. Safe mode is an ownership policy for this extension, not an OS security boundary. It does not restrict shell tools, files, networking, the clipboard, shared application state or what an authorized app can do.
A window Read returns the app's UI Automation tree: roles, names, values, enabled state and bounds. Each element gets a short hint such as 1:a, and the hints are drawn on the screenshot too, so the agent can point at a button by its hint instead of guessing coordinates.
From there the agent can:
image, only the ui, or both (full);changes;ocr on canvases and games, or regions for icons and text areas found by Cua perception;computer_view: it shows that part at the window's own resolution, follows the window, takes clicks at points of its image and reports what changed only there;computer_record to watch an animation or a progress bar, then pick the frames it needs;state to see whether the app is hung and how much memory it uses.Input goes to a window by its address and targets an element by a ref from the latest read, a Playwright locator, or a point. It can:
Input goes to the agent's window in the background, so your pointer and focus stay put and several agents can work at once. What the agent sees as an element it presses through UI Automation. Points, keys, text and drags go to the window's handle as window messages, with modifiers held only in that window's own key state. An app can ignore such messages; the agent then repeats the action with the focus taken for that one action, and the tool does so by itself where the driver knows the window needs it (WPF and XAML pointer input, Blender). Foreground input brings its window to the front and runs at once, even while you use the computer. On Windows, automatic foreground return requires supported evidence that the receiver read every inserted event. Hover and foreground coordinate scrolling do not automatically restore focus or move the pointer back. Receipts report uncertainty without replaying input. To keep foreground UI work off the human desktop, use a sandbox or an isolated session.
Press Escape three times within a second to stop agents on your desktop that have the shortcut enabled. Their input stops at once, and they refuse to act until you run /computer-mode safe or /computer-mode yolo in their sessions. An agent's own Escape doesn't count. Sandboxes and isolated sessions keep running.
The shortcut is enabled by default. Open /computer-settings to change it globally or for a trusted project. Restart Pi and reconnect remote machines for the change to take effect. The setting applies to local and connected human desktops in this Pi session; disabling it removes their triple-Escape emergency stop.
Several Pi sessions can use the same desktop. Their actions take turns: a string one agent types or a drag it makes finishes before another agent's next action starts.
Every action returns a receipt. delivered means it went through, refused means nothing was sent, and unknown means it may have reached the app, so the agent reads again before doing anything else instead of repeating it. Each action also says what it changed in the window, or that nothing changed, so the agent sees the effect without reading the window again. computer_wait waits for UI conditions or checks them once. In Codemode the receipts are plain objects, so a script chains actions and branches on outcome without parsing text.
Web pages go through Playwright, with aria snapshots, element refs, locator actions and Playwright's waiting. The agent can:
The browser's toolbar, tabs and system dialogs are still ordinary windows, so the agent can use native input there as well.
.pi/computer-use.json sets "sandbox": {"zones": true}. The sandbox stops 10 minutes after its last agent leaves. The extension maps its runtime and control files read-only and a private output folder writable. Requested imports are read-only unless writable is set; export is writable.Each session has its own folder on the controlled machine for files an app opens or saves. In YOLO mode the agent can also read and write the clipboard, record the screen to video, and record what the machine plays, optionally with a transcript.
The agent's cursor carries the Pi session's name, or the project folder's name until the session has one, so you can tell agents apart. A card beside each action names it and shows the text being typed, except into password fields.
Open /computer-settings to change the access mode, Escape stop, screenshot settings and visual preferences. Choose Project or Global first. Global settings apply across projects, while settings in a trusted project override individual global values. Select inherit to clear an override; for numeric values, enter inherit. The selected setting shows its effective value and source. Global preferences are stored in the Pi agent directory as computer-use-settings.json; project preferences are stored in .pi/computer-use-settings.json. A mode selected with /computer-mode remains in effect on its session branch, even when a scoped default differs. Existing session-branch visual preferences remain the fallback where no scoped value is set. An existing .pi/computer-use.json escapeStop remains a project override until changed in the panel. Screenshot changes affect future captures. A preview shows the final operation image; it does not prove delivery to a model.
Computer use works on Windows 11 x64, with Pi running on Windows itself or in WSL, on the same machine or on another one over SSH. Linux and macOS aren't supported: window control there isn't verified, so no runtime ships for them and computer use refuses with a clear message. Some features need more: Windows Sandbox needs a Windows edition that has it, and isolated sessions need Windows 11 24H2 or newer.
The extension uses our Cua Driver fork, whose driver also targets Linux and macOS. Support for those desktops may be possible, but it needs integration and validation, including for features currently specific to Windows. Contributions and testing on other platforms are very welcome. Please open an issue, share your findings, or send a pull request.
This is experimental and changes often, so interfaces and behavior may still move around.
Install Pi on Windows or in WSL, then install the package:
pi install npm:pi-agent-computer-use
Or install it directly from GitHub:
pi install git:github.com/alexshpunt/pi-agent-computer-use
To try it for one session without changing your settings:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.