cua-driver is an open-source macOS driver enabling AI agents to control Mac apps in the background without moving the user's cursor, changing focus, or switching Spaces.
It leverages SkyLight's private API SLEventPostToPid for process-specific event posting and yabai's focus-without-raise pattern. The project stems from reverse-engineering macOS window internals following OpenAI's background computer-use announcement.