# AutoHotkey vs Cua Driver

> Cua Driver scores 75.8 (BB) to AutoHotkey's 56.2 (C) for desktop app control. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver
- Markdown: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver.md (~3,900 tokens)
- Slim: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver.min.md (~880 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- AutoHotkey: grade C, 56.2/100, rank #1013 of 1654. Markdown https://www.anchorterminal.com/tools/autohotkey.md · JSON https://www.anchorterminal.com/api/v1/tools/autohotkey.json
- Cua Driver: grade BB, 75.8/100, rank #117 of 1654. Markdown https://www.anchorterminal.com/tools/cua-driver.md · JSON https://www.anchorterminal.com/api/v1/tools/cua-driver.json
- Best desktop and mobile app automation for AI agents: https://www.anchorterminal.com/best/desktop-automation/index.md
- All 76 desktop comparisons: https://www.anchorterminal.com/compare/desktop-automation/index.md

## Which one, for what

### AutoHotkey (C)

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

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

### Cua Driver (BB)

Good 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

### 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

| Category | Weight | AutoHotkey | Cua Driver | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 61 | 59 | AutoHotkey +2 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 54 | 92 | Cua Driver +38 |
| Agent ergonomics | 13% | 46 | 74 | Cua Driver +28 |
| Security & auth | 14% | 20 | 70 | Cua Driver +50 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 72 | 72 | even |
| Transparency & trust | 7% | 76 | 82 | Cua Driver +6 |
| Negative events | ≤15 | 0 | 0 | |
| **Total** | | **56.2 · C** | **75.8 · BB** | |

## Facts side by side

| Fact | AutoHotkey | Cua Driver |
| --- | --- | --- |
| Kind | SDK + MCP | MCP server |
| Vendor | AutoHotkey Foundation | Cua |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  | stdio |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | GPL-2.0 | MIT |
| Tools exposed | none | 67 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-25 | 2026-11-23 |
| Terms last updated | no document linked | 2026-10-15 |
| Privacy policy last updated | no document linked | 2026-11-16 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 13k stars | 33k stars |

## How the scores have moved

### AutoHotkey

- +3.8 on 13 November 2026 (D to C): checklist
- -0.7 on 4 November 2026: correction
- +0.2 on 28 October 2026: new evidence

### Cua Driver

No score change since it was listed.

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver.json, and with the fewest tokens: https://www.anchorterminal.com/compare/autohotkey-vs-cua-driver.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "autohotkey", "b": "cua-driver"}`. From a terminal: `anchor compare autohotkey cua-driver`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/autohotkey.json and https://www.anchorterminal.com/api/v1/tools/cua-driver.json

## Other comparisons with AutoHotkey or Cua Driver

- [AutoCua vs Cua Driver](https://www.anchorterminal.com/compare/autocua-vs-cua-driver.md)
- [Aura Autopilot vs AutoHotkey](https://www.anchorterminal.com/compare/aura-autopilot-vs-autohotkey.md)
- [Aura Autopilot vs Cua Driver](https://www.anchorterminal.com/compare/aura-autopilot-vs-cua-driver.md)
- [AutoHotkey vs AutoIt](https://www.anchorterminal.com/compare/autohotkey-vs-autoit.md)
- [AutoHotkey vs Automation Anywhere](https://www.anchorterminal.com/compare/autohotkey-vs-automation-anywhere.md)
- [AutoHotkey vs Beam (beam.win)](https://www.anchorterminal.com/compare/autohotkey-vs-beam-win.md)
- [AutoHotkey vs Glasshand](https://www.anchorterminal.com/compare/autohotkey-vs-glasshand.md)
- [AutoHotkey vs Robocorp](https://www.anchorterminal.com/compare/autohotkey-vs-robocorp.md)
- [AutoHotkey vs UiPath](https://www.anchorterminal.com/compare/autohotkey-vs-uipath.md)
- [AutoIt vs Cua Driver](https://www.anchorterminal.com/compare/autoit-vs-cua-driver.md)
- [Automation Anywhere vs Cua Driver](https://www.anchorterminal.com/compare/automation-anywhere-vs-cua-driver.md)
- [Beam (beam.win) vs Cua Driver](https://www.anchorterminal.com/compare/beam-win-vs-cua-driver.md)
- [Cua Driver vs Glasshand](https://www.anchorterminal.com/compare/cua-driver-vs-glasshand.md)
- [Cua Driver vs Robocorp](https://www.anchorterminal.com/compare/cua-driver-vs-robocorp.md)
- [Cua Driver vs UiPath](https://www.anchorterminal.com/compare/cua-driver-vs-uipath.md)
- [AutoHotkey vs Robot Framework](https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.md)
- [Cua Driver vs Robot Framework](https://www.anchorterminal.com/compare/cua-driver-vs-robot-framework.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
