Let an AI model use a real iPhone with a $7 ESP32: AirPlay eyes, USB HID hands, any OpenAI-compatible vision model. No Mac, no developer account, no jailbreak.
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "hidagent"
version = "0.1.0"
description = "Let an AI model use a real iPhone through an ESP32 USB HID bridge and AirPlay mirroring"
requires-python = ">=3.10"
license = "MIT"
dependencies = ["fastapi>=0.110", "uvicorn>=0.29", "httpx>=0.27", "pillow>=10"]
[project.optional-dependencies]
dev = ["pytest>=8", "ruff>=0.6"]
[project.urls]
Homepage = "https://github.com/onehumanbeing/esp32-iphone-agent"
[tool.setuptools]
packages = ["hidagent"]
[tool.setuptools.package-data]
hidagent = ["static/*"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
ignore = ["E701"] # one-line `case` arms keep the action dispatch compact
[tool.pytest.ini_options]
testpaths = ["tests"]