Claude Code AI Agent Controls Physical iPhone via Accessibility APIs

✍️ OpenClawRadar📅 Published: February 26, 2026🔗 Source
Claude Code AI Agent Controls Physical iPhone via Accessibility APIs
Ad

An AI agent is controlling a physical iPhone to write and post content to Reddit without human typing. The demonstration uses Claude Code (Anthropic's AI agent) running inside Blitz, a Mac app that connects AI agents to physical iPhones.

Technical Implementation

Blitz provides access to a real iPhone via WebDriverAgent, with navigation handled entirely through accessibility APIs. The developer encountered a specific technical limitation: normal tap commands don't work on physical devices, returning a 404 "unknown command" error.

The workaround discovered: a zero-distance swipe (same start AND end coordinates) registers as a tap. Every button press in the demonstration uses this hack.

Ad

Step-by-Step Process

  • Called describe_screen to find Reddit's icon coordinates on the home screen (scan_ui is simulator-only, so the accessibility tree was used instead)
  • Zero-distance-swiped the icon to open Reddit
  • Tapped the search button, saw r/ClaudeAI in recent searches, tapped it
  • Hit Create, tapped the title field, typed the title
  • Tapped the post body field and started writing

Every action follows the pattern: describe_screen → parse coordinates → swipe(x, y, x, y). The agent operates the phone "blind," reading the world through an accessibility JSON tree.

The developer notes they also posted to r/vibecoding about the same session, where they got feedback about their initial title choice.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

OpenClaw hands-on experience: setup, skills, and cost realities
Use Cases

OpenClaw hands-on experience: setup, skills, and cost realities

A developer tested OpenClaw for building a family assistant, finding it can create folder structures, modify configs, write Python scripts, and organize files directly. The experience required WSL on Windows, OpenAI API keys with credits, additional tooling for web browsing, and careful management of different communication channels.

OpenClawRadar
Mise's AI Executive System: Governance Framework and Agent Scoring Results
Use Cases

Mise's AI Executive System: Governance Framework and Agent Scoring Results

A restaurant owner built an AI executive system using Claude Code for payroll automation, featuring 8 AI executives with personnel records, strike logs, and a three-strike termination policy. The system scored 91.5/105 in Agent Madness 2026, the only entry above 90.

OpenClawRadar
Non-developer finds managed OpenClaw setup via MaxClaw on MiniMax Agent platform
Use Cases

Non-developer finds managed OpenClaw setup via MaxClaw on MiniMax Agent platform

A freelance marketing consultant with no coding background successfully deployed an AI agent using MaxClaw on the MiniMax Agent platform, avoiding Docker and API key management. The agent handles daily competitor monitoring, drafts social copy, and summarizes articles.

OpenClawRadar
Testing OpenClaw for Multi-Country Trip Planning with MoLOS Integration
Use Cases

Testing OpenClaw for Multi-Country Trip Planning with MoLOS Integration

A developer tested OpenClaw with MoLOS to plan a China-Japan trip, generating day-by-day itineraries, flight/hotel suggestions, and 50+ automated tasks while identifying limitations in transport times and attraction validation.

OpenClawRadar