Skip to main content
TapKit integrates with CUA, enabling any model supported by CUA’s ComputerAgent — OpenAI, Anthropic, UI-TARS, and others — to control a real iPhone through TapKit. The integration exposes a single class:
  • TapKitComputerHandler — Implements CUA’s AsyncComputerHandler interface, 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.

Supported Actions

How It Differs from Lux

Both are adapters that translate an agent framework’s actions into TapKit phone calls: