Skip to main content
Glama
AgentMouse
by Mint-hfut

AgentMouse

Code signing policy · Privacy policy. The SignPath Foundation application was submitted on November 16, 2026 and is awaiting review. Current binaries are unsigned.

0.7.0-beta.19 passed a local Codex end-to-end run on November 16, 2026. The installed Full plugin restored WeChat in the background, opened its associated mailbox, and read the first inbox message. Restore and three click receipts preserved foreground and keyboard focus. The Agent pointer stayed invisible, and the user subsequently confirmed normal physical clicks in both applications. Private mail contents are excluded. Codex acceptance

The current build is 0.7.0-beta.19. A mini status window sits at the primary display's bottom-right corner, with an invisible Agent pointer. Its Stop button cancels input, releases held buttons, and closes the controller. Authorized tasks enable input through MCP.

Codex also exercised the installed beta.17 plugin against a disposable Qt window. A real button callback and scrollbar change passed with fresh images and unchanged foreground, keyboard focus and physical pointer receipts. beta.17 Codex test

Separate WinForms and Qt fixtures cover actual button events, scrolling, lifecycle restoration, and input protection. Compatibility follows tested capabilities. Historical incidents and accessibility-provider containment remain documented. Compatibility

Background computer use for AI agents on Windows, with a pointer independent of your real mouse.

中文 · Compatibility and evidence · Releases

Keep working while your agent observes and operates another app. AgentMouse combines a Windows controller, MCP server, reusable Agent Skills and installers for Claude Code, Codex, ZCode, WorkBuddy and DSH. No virtual machine or split screen.

For web tasks, Browser Bridge reads real tab images and sends coordinate-based mouse input through Chrome's debugger API. It uses your existing browser/profile and does not rely on DOM selectors, injected clicks or per-site scripts. Native Windows capture/messages remain available for desktop apps.

Beta: the fusion server passed native Windows control-label-to-background-input integration and ten covered-Chrome desktop checks. Fusion desktop evidence. This does not guarantee every app or real CAPTCHA accepts automation.

Two independent editions

Older downloads are not recommended during the WeChat incident; see the notice above.

Edition

Contents

Python / Windows-MCP

MCP

AgentMouse Core

Our independent pointer, capture, target guards, MCP/plugins/skills

Neither included nor required

11 tools

AgentMouse Full

Core + Windows-MCP system/control services + fusion adapter

Bundled Python and dependencies; no separate install

26 tool names

Core builds and runs independently. Full calls Core through an adapter. Module boundaries and contributions. Independent keyboard/batch-input compatibility interfaces still return explicit unsupported errors.

Related MCP server: Desktop Controller

Windows-MCP fusion

Fusion combines Windows-MCP system tools/target-scoped controls with AgentMouse background capture/input in one 26-tool MCP server. Native Windows label-to-input integration and ten covered-Chrome desktop cases passed. Fusion setup, capabilities and limits.

Install

Requires Windows x64, Node.js 18+ x64 with npm and .NET Framework. Neither release requires a separate Python/uv installation: Core uses no Python, and Full bundles an isolated runtime. Developers building Full from source need uv. Native covered-window capture requires Windows 10 1903+.

Extract the Windows release ZIP, double-click install.cmd, and select your agents; each package defaults to its own Core/Full engine. From source:

git clone https://github.com/Mint-hfut/AgentMouse.git
cd AgentMouse
.\install.cmd

Source builds use locked dependencies without lifecycle scripts. The C# controller uses Windows' .NET Framework compiler. The native guard requires an x64 MinGW toolchain, which the verified download script below prepares. Complete ZIP packages include compiled binaries. Codex native installation needs its CLI; ZCode uses its bundled plugin CLI in standard install locations or PATH.

.\install.cmd --engine fusion --agent codex,zcode
.\install.cmd --agent all
.\install.cmd --agent dsh --profile web
.\install.cmd --agent codex --mode mcp
.\install.cmd --agent codex --browser none

Codex/ZCode default to native plugin installation, verified through their installed-plugin lists. Claude Code, WorkBuddy and DSH currently receive MCP + skills, which does not create a plugin card. --mode mcp selects that mode explicitly. --browser none skips browser-file preparation.

Refresh/restart the selected agents after installation. The native plugin is agentmouse@agentmouse.

Connect your existing Chrome once

The installer prepares a paired extension directory and prints its path, normally ~/.agentmouse/browser/extension. It does not change Chrome settings, profiles or enterprise policies.

  1. In Chrome, open chrome://extensions, enable Developer mode and choose Load unpacked yourself.

  2. Select the generated directory printed by the installer, not the unpaired source folder.

  3. Review the debugger permission. It provides page images and mouse input. No remote debugging port, new browser profile or disabled GPU is needed for normal use.

  4. Authorize the current input task; the agent can call Full pointer_open(allow_input=true) or Core pointer_open(allowInput=true) without repeating that confirmation. Select a browser: entry from the window list for web work.

If enterprise policy blocks this, stop and consult your administrator. The installer does not bypass it. Browser preparation can also be run separately:

node agentmouse.mjs browser-setup
node agentmouse.mjs browser-status
node agentmouse.mjs browser-stop

The controller UI is currently Chinese. Chrome may display its standard debugging indicator. Use one paired browser profile and one controlling agent at a time.

Native-only mouse and capture capabilities

The following 11-tool reference is for native-only mode. Fusion tool names and target/token arguments are documented in fusion.md.

Tool

Behavior

pointer_open

Start paused, or enable with allowInput=true for an explicitly authorized task

pointer_status

Controller/capture capabilities and browser pairing status

pointer_list_windows

Native window identity, visibility, bounds, foreground, layers and connected browser tabs

pointer_list_apps

Running processes by app name, including tray/hidden apps

pointer_inspect_window

Read-only accessibility control names, roles and bounds for one HWND

pointer_observe

Desktop image, native window surface, or real browser viewport image

pointer_move

Logical coordinates only by default; with a browser observation, move/hover its virtual pointer

pointer_click

Left/right click; clickCount=2 double click or holdMs long press

pointer_drag

Press/move/release with optional intermediate path and bounded duration

pointer_scroll

Browser wheel; native covered-window wheels are rejected, use scrollbar clicks

pointer_pause

Pause input and release held buttons/captures

There is no permanent target binding. Every click/drag/scroll explicitly supplies the intended windowId and its fresh observation token; mismatches are rejected. Supplying a window ID defaults to real window capture, never a crop of the covering foreground app. A desktop overview has no fixed target; any input still needs an explicit intended window ID. Reobserve another target to switch apps/tabs.

Query pointer_list_apps before launching an app: missing visible windows can mean a running tray/minimized app. Hidden/minimized windows are discoverable but cannot be captured or clicked; AgentMouse does not automatically restore them. pointer_inspect_window adds Windows-MCP-style semantic context using built-in .NET UIAutomation, without a Python runtime or foreground input tools. Some custom apps expose only window chrome.

Native capture uses one isolated helper per screenshot and closes capture resources before returning pixels. Timeout or pause can stop that helper directly. After native input, unchanged pixels or an unchanged/older timestamp returns inputAllowed=false; stop rather than repeating clicks. A changed image still does not prove a business outcome.

Follow the returned coordinate space: native captures use physical desktop pixels; browser images use viewport CSS pixels. Both return image origin and scaling metadata:

x = screenshot.x + imageX * screenshot.scaleX
y = screenshot.y + imageY * screenshot.scaleY

Observations expire after 15 seconds and are consumed by input. Verify the actual image/state afterward; inputDelivered is not business success. Cancellation/failure releases buttons where the channel remains available; an unconfirmed release blocks more input. Forced termination cannot guarantee all cleanup.

Chrome can activate itself during mouse presses. Browser Bridge is the preferred webpage route. The native route protects the target UI thread's activation and virtual pointer queries, with compatibility checked from fresh images and receipts. The tested embedded mailbox used that native route. Restore requires a verified application-owned tray entry. Independent keyboard input, cloaked windows and cross-app system drag-and-drop remain outside the verified scope.

Tested scope

The real extension path has passed local HTML checks for left/right clicks, wheel, native range slider, curved puzzle-style drag, long press, double click, ordered point selection, HTML5 drag/drop, and release after mid-drag pause. Assertions check page state and captured pixels. These are local interaction checks, not third-party CAPTCHA acceptance; server risk checks can still require a person.

Desktop non-interference, actual-client native loading and component tests are separate evidence categories. The validation record preserves failures and pending checks.

Configuration and removal

Runtime files reside under %LOCALAPPDATA%\AgentMouse, with a -fusion suffix for Full. Native plugin upgrades reuse the registered managed marketplace while the host caches each plugin version separately. Paths resolve to physical locations for packaged Windows hosts. Browser pairing uses ~/.agentmouse/browser, with a per-user token and authenticated loopback-only service. Existing settings have backups under the runtime's backups/.

MCP-only paths are Claude ~/.claude.json, Codex ~/.codex/config.toml, ZCode ~/.zcode/cli/config.json, WorkBuddy ~/.workbuddy/mcp.json, and DSH ~/.dsh/profiles/<profile>/cordis.patch.yml. Native installer failures report possible partial completion. MCP-only settings writes support rollback.

Use --dry-run to preview after npm ci --ignore-scripts. --home isolates a home for testing; --install-dir selects the runtime. Do not retain a standalone MCP registration alongside the native plugin's same server. Remove native plugins in the host plugin manager; stop the browser bridge and remove its extension before deleting runtime/pairing files. Restoring whole backups also reverts later unrelated edits.

Build and validation

npm ci --ignore-scripts
$env:AGENTMOUSE_GCC = ./scripts/get-guard-compiler.ps1
npm run build
npm test
npm run test:state
node scripts/test-clients.mjs

Build and noninteractive checks do not perform desktop input. test-clients reads installed Codex/ZCode payloads and checks their declared server/SDK path; it is not a GUI plugin-browser test. CI runs Node 18/24, isolated installer checks and a real extension/component test with pinned Chrome for Testing. The latter is headless and does not claim desktop non-interference.

scripts/build-release.ps1 builds a complete ZIP and SHA-256 file; scripts/test-release.ps1 verifies its extracted MCP installation. See adapter references and interactive test instructions.

Apache-2.0. Not affiliated with the supported agent/browser products.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables LLM agents to capture screenshots, control mouse/keyboard, and manage windows on desktop platforms, primarily Windows, via an MCP server.
      16
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to capture multi-monitor screenshots with coordinate grids and perform mouse, keyboard, scrolling, dragging, and window-management actions on Windows via MCP tools or CLI. It provides pixel-accurate desktop automation for computer-use agents.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to see and operate Windows applications through MCP, including windows, screenshots, mouse, keyboard, scrolling, UI Automation, clipboard, and freehand or geometric drawing. Supports supervised creative workflows with native Win32 input, screenshots, allow-listed apps, and an idle safety guard.
      2
      MIT