Claude Code AI Agent Controls Physical iPhone via Accessibility APIs

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.
Step-by-Step Process
- Called
describe_screento 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
👀 See Also

Debugging a Tiny AI Agent on an Old Nokia Phone: 18 Attempts to Success
A developer documented 18 failed attempts to run Picobot, a ~12 MB AI agent, on an old Nokia phone via Termux, testing free models, OpenRouter, and Groq before settling on Google's Gemini Flash API for a fast, reliable setup.

Building a Technical Book with Claude Code: Process and Pitfalls
A developer created an EPUB book about intermediate Claude Code features by using Claude to collect Anthropic documentation, researching real-world examples in finance, and structuring chapters with technical features followed by practical applications. The process revealed specific workflow constraints when using agents.
OpenClaw Agent Broke at 65% Context: 683k Tokens, Zero Cache Reads on Ollama/GLM
A 23-hour OpenClaw Discord agent run on GLM 5.3 Flash via Ollama Cloud broke at 683k tokens — 65% of the configured 1M window — with no overflow error, no timeout, and cacheRead=0 on every affected turn.

Why AI Won't Speed Up Your Development Processes – Focusing on Bottlenecks
Frederick Vanbrabant argues that AI won't automatically speed up software processes unless you fix upstream bottlenecks like vague requirements, as illustrated with Gantt charts and a deep dive into 'The Goal' and 'The Toyota Way'.