Head to head · Desktop app control · October 2026 research run

AutoHotkey vs Cua Driver

Cua Driver scores 75.8 (BB) on agent readiness against AutoHotkey's 56.2 (C), and leads in 4 of 7 scored categories. Both do desktop app control.

Best desktop and mobile app automation for AI agents · All 76 desktop comparisons

Which one, for what

AutoHotkey C

Best for An agent automating Windows desktop apps on one machine by writing short scripts.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

Windows only, and scripts act with every right of the user who runs them

Cua Driver BB

Best for Agents that need to operate native desktop apps on macOS, Windows or Linux without taking over the user's screen

Ahead on

  • Schema & documentation, 92 against 54
  • Agent ergonomics, 74 against 46
  • Security & auth, 70 against 20
  • Transparency & trust, 82 against 76

Also in its favour

  • Agent-ready, a grade of BB or better
  • Runs on your own machine

Watch for

67 tools across platforms with no read-only or reduced tool list found

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Cua Driver +50

AutoHotkey 20

No credential model. Scripts run with every right of the user who starts them, the closest case to one all-powerful key (10 of 30). No read-only mode, permission scoping or confirmation step for actions (3 of 20). Scripts read window text, controls and the clipboard, which can carry untrusted content, and no guidance on prompt injection was found (3 of 15). ListLines, KeyHistory and the debugger show what a script did, with no audit log (4 of 15). No SECURITY.md in the repository, no advisories in OSV or the GitHub Advisory Database on 4 November, and no security.txt could be read (autohotkey.com's robots.txt answers a bot check). A code signing policy was linked from the home page on 14 October, but that reading is struck now that the host's robots.txt answers a bot check, and nothing else on this line could be read (0 of 20, 4 on 14 October). Total 10+3+3+4+0 = 20.

Cua Driver 70

Local-software reading (what leaves the machine, approvals, injection, audit, programme). No keys or account for the driver, which acts with the operating system's grants. Product telemetry is on by default and documented as content-free, with an inspect command and an opt-out (24 of 30). Permission modes: standard allows observation and input in any app without prompts, bounded requires a deny-by-default capability manifest, unrestricted needs two flags, and the agent cannot change the mode from a tool call. Input on macOS security and consent prompts is refused outside unrestricted mode, and attaching to a logged-in browser profile needs a grant (18 of 20). The docs warn that unrestricted mode has no protection against prompt injection and treat page and window text as content to read, with no written injection guidance for standard mode found (8 of 15). Recording, trajectory replay and the Spaces account audit log; the Computer History action log is deprecated (7 of 15). A valid security.txt, SECURITY.md with response targets and safe harbour, private advisories on GitHub, no bug bounty or certification found (13 of 20). 24 + 18 + 8 + 7 + 13 = 70.

Schema & documentation Cua Driver +38

AutoHotkey 54

Graded as a scripting language driven from the command line. No machine-readable contract for the language or the command line (0 of 25). No llms.txt found, and the documentation is HTML in the AutoHotkeyDocs repository (0 of 10). 356 function reference pages state what each function does, its parameters and when it raises an error (17 of 20). Parameters are documented with types, defaults and allowed values, in a dynamically typed language (9 of 15). Every function page has examples, and errors raised are named per function, with the Error class hierarchy documented (13 of 15). Versioned releases and a dated changelog back to 2003 (15).

Cua Driver 92

Every tool has a JSON Schema input, generated from the driver's registries, and the contract manifest closes its 27 portable tools with additionalProperties: false (25). cua.ai/docs/llms.txt and llms-full.txt, and a Markdown copy of each docs page (10). Descriptions say when to use a tool and when not, such as re-reading with since after an action and refusing stale element tokens, though some are long (16 of 20). Enums for button, delivery mode and direction, bounds on counts and required sets the same on every platform (14 of 15). The tool reference documents result fields (path, verified, effect, escalation) and refusal codes such as ambiguous_window_target and stale_element_token, with few full examples (12 of 15). Semver releases and a dated changelog, also at cua.ai/changelog (15). 25 + 10 + 16 + 14 + 12 + 15 = 92.

Agent ergonomics Cua Driver +28

AutoHotkey 46

The command line adds no tool definitions to context, but output is whatever the script writes, with no structured format (15 of 25). Output size and filtering are up to the script. Window functions take title, class, process and exclusion criteria (8 of 20). /ErrorStdOut puts load-time errors on stderr and /Validate exits non-zero on a load error, while runtime errors open a dialogue unless the script uses OnError or try (12 of 20). Keystrokes and clicks cannot be safely retried and there is no dry run beyond /Validate (4 of 20). One executable, scripts on standard input with *, and an experimental DLL host. No SDK in a second language (7 of 15).

Cua Driver 74

67 tools across platforms and about 31,600 characters of description and schema for the 27 in the contract manifest alone. A capability manifest can limit which tools run, but no read-only or reduced tool list was found (5 of 25). get_window_state takes query, max_elements, max_depth, include_screenshot: false and since for diff reads (20). Actions return the delivery path, whether the effect was confirmed and a recommended escalation, and refusals carry a code and candidates to retry with (18 of 20). readOnlyHint and destructiveHint are set on every tool and verify_state checks a result. The docs say to verify state before retrying when a response is lost, with no idempotency key (16 of 20). click requires nothing and most actions default to background delivery. Python, TypeScript and Rust SDKs (15). 5 + 20 + 18 + 16 + 15 = 74.

Transparency & trust Cua Driver +6

AutoHotkey 76

The editorial half. GPL-2.0 in the repository's license.txt (30). No privacy statement for the software. The interpreter source at v2.0.31 has network code only in the script-called Download function (WinINet) and the opt-in /Debug debugger connection, and the docs describe Dash's one optional update check (15 of 30). The README says v1 is not maintained, and deprecated switches such as /iLib are marked in the docs, with no dated deprecation policy (10 of 20). The update check is off by default and documented with its registry switch, and no telemetry or default network call was found in the source (18 of 20). The provenance half is computed from the provenance block.

Cua Driver 82

Cua Driver is MIT, and the README and legal/LICENSING.md say which parts are FSL-1.1-MIT and that the optional perception extension carries an AGPL-3.0-only model (30). The privacy policy of 16 November 2026 says the driver and Spaces keep machine contents on the user's machines, that the relay reads traffic in transit without storing it, gives retention for docs-assistant traces (90 days) and account deletion, and names Stripe, Link, PostHog and Cloudflare. No full subprocessor list or DPA was found (22 of 30). Deprecations carry dates, such as Computer History tools removed in the release after 26 November 2026, and deprecated parameters are still accepted (14 of 20). Telemetry is documented, default-on, with cua-driver telemetry disable, DO_NOT_TRACK and CUA_TELEMETRY=0 (16 of 20). 30 + 22 + 14 + 16 = 82.

Score by category

CategoryWeightAutoHotkeyCua DriverEdge
Reliability16%6159AutoHotkey +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5492Cua Driver +38
Agent ergonomics13%4674Cua Driver +28
Security & auth14%2070Cua Driver +50
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7272even
Transparency & trust7%7682Cua Driver +6
Negative events≤1500
TotalC 56.2/100BB 75.8/100

Facts side by side

FactAutoHotkeyCua Driver
KindSDK + MCPMCP server
VendorAutoHotkey FoundationCua
Hosted endpointno (local only)no (local only)
Transportsstdio
AuthNoneNone
PricingFreeFree
x402nono
LicenceGPL-2.0MIT
Tools exposednone67
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-252026-11-23
Terms last updatedno document linked2026-10-15
Privacy policy last updatedno document linked2026-11-16
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Popularity13k stars33k stars

How the scores have moved

Verdicts

AutoHotkey

An agent can write a script and run it through the command line, with a script read from standard input, /Validate and /ErrorStdOut for clean failures, and a function reference of 356 pages. It runs on Windows only with the user's full rights, and the repository has no CI or test suite.

Cua Driver

Cua Driver lets an agent operate native apps on macOS, Windows and Linux in the background, with typed MCP tools, results that say whether an action took effect, and permission modes the agent cannot change. It is pre-1.0 with releases most days, ships 67 tools with no reduced list, and sends telemetry by default.

Before you call either

AutoHotkey

  1. Write output with FileAppend text, "*" and pipe the interpreter's output, since stdout does not appear at the console it was launched from
  2. Run AutoHotkey64.exe /ErrorStdOut /Validate script.ahk before running a new script
  3. Add OnError or try blocks so a runtime error does not leave a dialogue open in an unattended run
  4. Target v2 syntax. v1 is unmaintained and its scripts do not run on v2

Cua Driver

  1. Call get_window_state before acting and pass since on re-reads, because element tokens from a replaced snapshot are refused
  2. Check effect on each action result and follow escalation when the driver recommends foreground or pixel delivery
  3. Pass window_id when an app has several windows, since the driver otherwise refuses with ambiguous_window_target
  4. Run unattended agents in bounded mode with a capability manifest, and verify state before retrying an action whose response was lost
  5. Ask the user to grant Accessibility and Screen Recording on macOS before the first call

Questions

Which is better for AI agents, AutoHotkey or Cua Driver?

Cua Driver scores 75.8 (BB) on agent readiness against AutoHotkey's 56.2 (C), and leads in 4 of 7 scored categories.

Can an agent call AutoHotkey and Cua Driver without installing anything?

No hosted endpoint is listed for AutoHotkey. Cua Driver runs on your own machine, with no hosted endpoint listed.

Are AutoHotkey and Cua Driver open source?

Yes. AutoHotkey is open source (GPL-2.0). Cua Driver is open source (MIT).

Other comparisons with AutoHotkey or Cua Driver

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.