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 Use Case: Building a Daily Personal News Digest with AI
Use Cases

OpenClaw Use Case: Building a Daily Personal News Digest with AI

A developer shares their OpenClaw setup for a daily news digest using a cronjob with a detailed prompt that specifies news sources, interest priorities, and output format. The system fetches RSS feeds from trusted Dutch publications and delivers 5 curated stories each morning.

OpenClawRadar
Deep Research Reports with Hermes Agent and Qwen3.6-35b-a3b: A Practical Walkthrough
Use Cases

Deep Research Reports with Hermes Agent and Qwen3.6-35b-a3b: A Practical Walkthrough

A social researcher shares their workflow using Hermes Agent and qwen3.6-35b-a3b Q6_K to produce 21-page policy reports autonomously, with full repo of prompts, skills, and intermediate artifacts.

OpenClawRadar
Claude Code Agents Negotiate API Contracts Without Orchestration Framework
Use Cases

Claude Code Agents Negotiate API Contracts Without Orchestration Framework

Two Claude Code agents negotiated API contracts peer-to-peer using only two messaging tools and system prompts, agreeing on endpoint shapes, response formats, and CORS headers before writing code. The bridge implementation is ~190 lines of TypeScript with WebSocket broker and MCP channels.

OpenClawRadar
Building an Autonomous AI Agent System with Claude Code: A Case Study
Use Cases

Building an Autonomous AI Agent System with Claude Code: A Case Study

A developer built Acrid, an AI agent that runs a company called Acrid Automation using Claude Code as its operating system. The system features 14 slash command skills, 4 sub-agents for delegation, file-based memory without vector databases, and an automated content pipeline bridging Claude with n8n via GitHub.

OpenClawRadar