Skip to content
Agents tracked: 442 Downloads (7d): 202M down 19.3% GitHub stars: 10.4M Releases (7d): 693 Agent status: 1 with issuesSince last limit reset: Claude 28d · Codex 1d Updated Oct 21, 2026

PyAutoGUI

Python library to control mouse and keyboard, automate GUI interactions across Windows, macOS and Linux.

Utilities PyPI BSD

Used in agent projects
17
1.0% of 1,622 Python repos built with AI coding agents; 100 counting our dependency samples
Gid Score
52 /100
#1309 of 3,794 tools, #162 in utilities · ranking
Rank in utilities
#84 of 361
by use in those projects
Downloads
588K
PyPI, last 7 days, pyautogui
GitHub stars
12.7K
1,435 forks · last push Aug 20, 2024

How PyAutoGUI is used

PyAutoGUI is a dependency in 17 of the 6,211 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,980); counting those, it appears in 100 projects, and what it is used with below comes from all of them. Projects that use it most often also use Pillow (79.0%), python-dotenv (66.0%), Requests (66.0%).

PyAutoGUI popularity over time

Top tools by Gid Score

PyAutoGUI: downloads per weekPyPI, pyautogui 586,591
PyAutoGUI: GitHub starsasweigart/pyautogui 12,735

Gid Score 52: downloads 59, use in agent projects 51, GitHub stars 54, downloads trend 36 (each 0-100). How it is calculated.

Often used with PyAutoGUI

Pillow79.0% of PyAutoGUI projects · 20.6× more than average
python-dotenv66.0% of PyAutoGUI projects · 7.2× more than average
Requests66.0% of PyAutoGUI projects · 9.7× more than average
psutil63.0% of PyAutoGUI projects · 33.4× more than average
NumPy60.0% of PyAutoGUI projects · 10.3× more than average
FastAPI53.0% of PyAutoGUI projects · 7.1× more than average
Pydantic52.0% of PyAutoGUI projects · 6.0× more than average
OpenAI Python Library51.0% of PyAutoGUI projects · 12.9× more than average

From all 100 projects in our scan that use PyAutoGUI, including the dependency samples.

By coding agent

Claude Code0.3% of projects set up for it
GitHub Copilot0.3% of projects set up for it
Cursor0.2% of projects set up for it

Share of public repos configured for each agent that list PyAutoGUI as a dependency.

Install

Packagepip install pyautogui
Main stacksPython (100)
Example projectscamel-ai/seta, SALT-NLP/collaborative-gym, pipixia-labs/openteamwork, lijiaxing1997/xinghe-AI, jolie-z/Auto-JobHunter

Alternatives to PyAutoGUI

All utilities

In our scan, none of the most used tools in Utilities does the same job as PyAutoGUI: they are add-ons, companions or tools for a different task.

More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash

Is PyAutoGUI right for your project? Ask AgentGid →