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

Developer uses Claude Code agents to resolve 635 issues across 42 board games in single session
Use Cases

Developer uses Claude Code agents to resolve 635 issues across 42 board games in single session

A solo developer used Claude Code agents to fix 635 UI/UX issues across 42 multiplayer board games in one session, resulting in 325 commits while maintaining zero build errors. The workflow involved running four agents simultaneously, each handling a single issue from different games to avoid file conflicts.

OpenClawRadar
How One Team Replaced a 6-Figure HubSpot Agency with Claude Code
Use Cases

How One Team Replaced a 6-Figure HubSpot Agency with Claude Code

A mid-sized e-commerce company built their entire HubSpot Enterprise migration using Claude Code, replacing quotes of 20k-80k EUR for partial setups. They built 6 custom objects, 5 n8n integrations, and a KlickTipp migration in 4 months, with Claude Code handling both code and documentation.

OpenClawRadar
Using Open Claw to Transcribe Instagram Reels via Telegram Bot
Use Cases

Using Open Claw to Transcribe Instagram Reels via Telegram Bot

A user configured Open Claw with a Groq API key to transcribe Instagram reel links pasted into a Telegram chat, avoiding a $20/month subscription to TurboScribe.

OpenClawRadar
Validating Product Ideas with Claude Code and Remotion Demos
Use Cases

Validating Product Ideas with Claude Code and Remotion Demos

A developer used Claude Code and Remotion to build a 60-second concept demo for a TypeScript YouTube MCP tool before writing any production code, spending about 2 hours total. The demo validated the idea by showing semantic search across 50 lectures with sqlite-vec and no API key requirement.

OpenClawRadar