# AutoHotkey vs Robot Framework > Robot Framework scores 76.4 (BB) to AutoHotkey's 52.8 (D) for desktop scripting. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework - Markdown: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.md (~1,900 tokens) - Slim: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.min.md (~530 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-14 Robot Framework scores 76.4 (BB) on agent readiness against AutoHotkey's 52.8 (D), and leads in 6 of 7 scored categories. Both do desktop scripting. - AutoHotkey: grade D, 52.8/100, rank #771 of 1076. Markdown https://www.anchorterminal.com/tools/autohotkey.md · JSON https://www.anchorterminal.com/api/v1/tools/autohotkey.json - Robot Framework: grade BB, 76.4/100, rank #35 of 1076. Markdown https://www.anchorterminal.com/tools/robot-framework.md · JSON https://www.anchorterminal.com/api/v1/tools/robot-framework.json - Best desktop and mobile app automation for AI agents: https://www.anchorterminal.com/best/desktop-automation/index.md - All 15 desktop comparisons: https://www.anchorterminal.com/compare/desktop-automation/index.md ## Which one, for what ### AutoHotkey (D) 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 ### Robot Framework (BB) Good for: Agents that write or run keyword-driven test and RPA suites across web, desktop and mobile through libraries. Ahead on: - Reliability, 95 against 61 - Schema & documentation, 86 against 54 - Agent ergonomics, 78 against 46 - Security & auth, 50 against 24 - Maintenance & community, 90 against 72 Also in its favour: - Agent-ready, a grade of BB or better - Free to start without a card Watch for: Desktop and mobile control depend on separate libraries, such as AppiumLibrary and AutoItLibrary, maintained outside the core project ## Score by category | Category | Weight | AutoHotkey | Robot Framework | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 61 | 95 | Robot Framework +34 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 54 | 86 | Robot Framework +32 | | Agent ergonomics | 13% (16.2 this run) | 46 | 78 | Robot Framework +32 | | Security & auth | 14% (17.5 this run) | 24 | 50 | Robot Framework +26 | | Payments & pricing | 10% (12.5 this run) | 60 | 60 | even | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 72 | 90 | Robot Framework +18 | | Transparency & trust | 7% (8.8 this run) | 73 | 76 | Robot Framework +3 | | Negative events | ≤15 | 0 | 0 | | | **Total** | | **52.8 · D** | **76.4 · BB** | | ## Facts side by side | Fact | AutoHotkey | Robot Framework | | --- | --- | --- | | Kind | SDK + MCP | Agent framework | | Vendor | AutoHotkey Foundation | Robot Framework Foundation | | Hosted endpoint | no (local only) | no (local only) | | Transports | | | | Auth | None | None | | Pricing | Free | Free | | x402 | no | no | | Licence | GPL-2.0 | Apache-2.0 | | Read-only variant documented | no | no | | llms.txt | no | yes | | Last release | 2026-10-09 | 2026-09-14 | | Terms last updated | no document linked | no document linked | | Privacy policy last updated | no document linked | no date given | | Customer content may train models | | | | Terms restrict automated access | | | | Terms restrict benchmarking | | | | Terms or service can change without notice | | | | Arbitration or class-action waiver | | | | Popularity | 13k stars | 12k stars, 776k PyPI/wk | ## 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. **Robot Framework.** A stable 7.5 release, passing unit and acceptance tests, JSON schemas for results and library docs, and an llms.txt make it a dependable base for agent-written automation. Desktop and mobile control come from separate community libraries, there is no official MCP server, and no security policy or security.txt was found. ## 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 dialog open in an unattended run 4. Target v2 syntax. v1 is unmaintained and its scripts do not run on v2 ### Robot Framework 1. Install with `pip install robotframework` and check with `robot --version`. Add the library for the target app, such as AppiumLibrary, separately 2. Read the exit code. It is the number of failed tests or tasks up to 250, and 252, 253 or 255 mean bad input, a user stop or an internal error 3. Use `--dryrun` to validate a suite without running keywords, and `--rerunfailed output.xml` to repeat only failures 4. Convert results with `rebot --output output.json output.xml` for JSON that matches doc/schema/result.json 5. Keep secrets out of keyword arguments, because log.html records arguments unless keywords are removed with `--removekeywords` ## Questions ### Which is better for AI agents, AutoHotkey or Robot Framework? Robot Framework scores 76.4 (BB) on agent readiness against AutoHotkey's 52.8 (D), and leads in 6 of 7 scored categories. ### Are AutoHotkey and Robot Framework open source? Yes. AutoHotkey is open source (GPL-2.0). Robot Framework is open source (Apache-2.0). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.json, and with the fewest tokens: https://www.anchorterminal.com/compare/autohotkey-vs-robot-framework.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "autohotkey", "b": "robot-framework"}`. From a terminal: `anchor compare autohotkey robot-framework` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/autohotkey.json and https://www.anchorterminal.com/api/v1/tools/robot-framework.json ## Other comparisons with AutoHotkey or Robot Framework - [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 Robocorp](https://www.anchorterminal.com/compare/autohotkey-vs-robocorp.md) - [AutoHotkey vs UiPath](https://www.anchorterminal.com/compare/autohotkey-vs-uipath.md) - [Automation Anywhere vs Robot Framework](https://www.anchorterminal.com/compare/automation-anywhere-vs-robot-framework.md) - [Robocorp vs Robot Framework](https://www.anchorterminal.com/compare/robocorp-vs-robot-framework.md) - [Robot Framework vs UiPath](https://www.anchorterminal.com/compare/robot-framework-vs-uipath.md) - [AutoIt vs Robot Framework](https://www.anchorterminal.com/compare/autoit-vs-robot-framework.md)