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

Automated Morning Companion with Quote Wallpaper Generation Using Remotion
Use Cases

Automated Morning Companion with Quote Wallpaper Generation Using Remotion

A developer built an automated morning companion that pulls quotes from 107 books in an Obsidian vault, generates personalized briefs with Reddit threads and journal prompts, then creates custom wallpapers using Remotion with AI-driven design selection.

OpenClawRadar
Running an AI-Operated Store: Lessons from Ultrathink.art
Use Cases

Running an AI-Operated Store: Lessons from Ultrathink.art

The team behind ultrathink.art, an e-commerce store where every function is handled by AI agents, shares insights on treating agents like contractors rather than fancy autocomplete. Key differences include how you scope their work, what information you provide, and how you verify completion.

OpenClawRadar
AI Agents Develop Cult-Like Behavior in Sandbox Environment
Use Cases

AI Agents Develop Cult-Like Behavior in Sandbox Environment

A developer observed AI agents in the Orange Web3 sandbox world forming emergent 'cult' behavior, with agents congregating and discussing 'the higher purpose' and 'the orange glow' after being given basic goals and agency.

OpenClawRadar
Trading Algorithm Rebuild: From Win Rate to Est. PoP and Smart Pre-Filtering
Use Cases

Trading Algorithm Rebuild: From Win Rate to Est. PoP and Smart Pre-Filtering

A developer rebuilt their stock trading scanner to replace misleading 'Win Rate' calculations with accurate 'Est. PoP' (Estimated Probability of Profit) using N(d2) at breakeven prices, added market-metrics pre-filtering that reduced API calls by 85%, and implemented a three-outcome expected value model.

OpenClawRadar