ComputerAgent — OpenAI, Anthropic, UI-TARS, and others — to control a real iPhone through TapKit.
The integration exposes a single class:
- TapKitComputerHandler — Implements CUA’s
AsyncComputerHandlerinterface, handling screenshot capture, resolution scaling for vision models, and mapping desktop actions to phone equivalents
Installation
Quick Start
Constructor
Screenshots are automatically scaled down to this resolution before being sent to the model. Coordinates returned by the model are scaled back up to actual phone pixels before executing touch actions.