Show HN: Turbotap – Open-Source CLI for AI Agents to Drive an iPhone over Wi-Fi
Score
52Why selected
进入全量动态池,后续可由人工或模型复核精选价值。
AI commentary
「来自 Hacker News 热门(Algolia · 中文化) 的这条信息指向AI 产品形态和落地方式变化,适合用于判断近期 AI 圈的真实动向。」
Quick overview
Show HN: Turbotap – Open-Source CLI for AI Agents to Drive an iPhone over Wi-Fi · HN points: 1 · comments: 0 · https://news.ycombinator.com/item?id=50676699
- Fast, headless CLI & multi-step flow runner for physical iPhones over Wi-Fi - Maxteabag/turbotap
Full text
turbotap
Fast CLI for driving a real iPhone over Wi-Fi from your terminal or an AI agent (Claude Code, Codex, OpenClaw).
Click to watch the 39-second demo on a real iPhone over Wi-Fi (Settings, Spotify, Weather, and the App Store).
Driving an iPhone one screenshot per LLM turn is slow: grab a frame, wait for the model to pick coordinates, send one action, and repeat. turbotap runs an entire sequence of UI steps in one local Rust command against a patched WebDriverAgent on the phone and returns JSON with the text and interactive controls on screen.
What it does
All numbers below were measured on 28 Nov 2026 on a real iPhone 17 (iOS 26.6.2) over home Wi-Fi; full methodology, ranges, version labels, and reproduction scripts are in docs/benchmarks.md.
- One-command multi-step flows: batches taps, scrolls, text entry, and reads in one local Rust process instead of taking a screenshot per LLM turn. On the Settings → General → About → read iOS version task, a single flow ran in 6.9 s median (5.5–15.8 s; 5/8 succeeded on v1.6.8 candidate
7d2e6cd), while a screenshot-per-step Claude Sonnet loop took 22.0 s median wall clock (16.1–26.8 s, 6/6 succeeded, separate v1.6.7 session; an agent usingturbotapstill spends one model turn writing the flow). - Patched WebDriverAgent (
wda-turbo): on v1.6.7 (n=6), cold app launch (launch:APP) measured 175 ms median (141–461 ms), raw tap (tapxy:) 449 ms (400–543 ms), exact element tap (tapel:) 793 ms (723–898 ms), and typing 28 characters (type:) 902 ms (876–1,001 ms). Reaction-verified label taps (tap:LABEL, including iOS transition wait) measured 1,141 ms cold (1,067–1,269 ms) and 1,207 ms primed (1,148–1,406 ms, n=8 each on v1.6.8 candidate7d2e6cd). Automatically falls back to stock WDA when unpatched. - Dual screen reading (OCR + UI tree): on v1.6.7 (n=6), combined
read(OCR + interactive controls) measured 180 ms median (153–607 ms), accessibility tree (ui) 142 ms (113–266 ms), 200 pt band OCR (read:Y0-Y1) 66 ms (55–168 ms), full-screenread:ocr492 ms (297–591 ms; 183 ms, 158–284 ms, inside the candidate flow, n=5), and on-device Apple Vision OCR (read:vision) 372 ms (338–412 ms). - Single standalone binary for agents and scripts: no Python runtime, bundled agent skills (
turbotap install-skill), step-level timing receipts (turbotap timings --receipt), and an optional warm daemon (--daemon, cutting separateturbotap ocrcalls from 237 ms (177–401 ms) to 148 ms median (122–295 ms), v1.6.7, n=10 each).
Examples
# Open the App Store, search "Angry Birds", tap Get, and wait until Open appears turbotap flow --timeout 90 open:com.apple.AppStore tap:Search 'search:Angry Birds' 'tap:Angry Birds 2' tap:Get waitcontrol:Open # Open Spotify -> Your Library -> Liked Songs, read the list, and swipe back turbotap flow open:Spotify 'tap:Your Library' 'tap:Liked Songs@y>150' wait:songs read:ocr back # Open Weather and read the forecast turbotap flow open:Weather read # Open Settings -> General -> About and read the iOS version turbotap flow launch:com.apple.Preferences scrollto:General tap:General tap:About 'wait:iOS Version' read # Draft a Messenger reply to Alice while blocking Send and Call buttons turbotap flow --deny-also 'Send|Call' open:Messenger 'tap:Alice@y>300' 'fill:Message=On my way' read # Read a 2FA code directly from Authenticator's accessibility tree turbotap flow open:Authenticator readel:GitHub
Run turbotap flow --help or see docs/REFERENCE.md for every step (alerts, forms, toggles, sliders, pickers, Vision OCR, region filters, and regexes).
Requirements
- An iPhone (iOS 17+) on your local Wi-Fi with Developer Mode and UI Automation enabled.
- A Mac with Xcode to sign and launch WebDriverAgent on the phone (Apple requires Xcode; a free Apple ID works, or a paid Developer account for longer provisioning). Once WDA is running,
turbotaptalks straight to the phone over Wi-Fi from that Mac or any Linux machine on the same network. - Tesseract (optional) for local OCR.
turbotaploadslibtesseractat runtime; without it,uiand on-deviceread:visionstill work.
Install & Quick Start
1. Install turbotap
Install a checksum-verified prebuilt binary for Apple Silicon macOS or Linux x86-64 (glibc 2.39+) from GitHub Releases, or build from source with Cargo:
# Prebuilt binary (downloads latest release, verifies SHA-256, installs to ~/.local/bin/turbotap) curl -fsSL https://raw.githubusercontent.com/Maxteabag/turbotap/main/scripts/install.sh | sh # Or build from source (Rust toolchain required) cargo install --git https://github.com/Maxteabag/turbotap.git # Install bundled skills for Claude Code, Codex, OpenClaw, etc. turbotap install-skill
Optional local OCR (Tesseract):
brew install tesseract # macOS sudo apt install libtesseract5 tesseract-ocr-eng # Ubuntu / Debian sudo pacman -S tesseract tesseract-data-eng # Arch Linux
2. Configure your iPhone
On the iPhone, turn on Developer Mode (Settings -> Privacy & Security -> Developer Mode) and UI Automation (Settings -> Developer -> Enable UI Automation). Note its Wi-Fi IP (Settings -> Wi-Fi -> (i)) and UDID (xcrun devicectl list devices on the Mac).
Create ~/.config/turbotap/config.json:
{
"default_device": "iphone",
"mac_host": "mac",
"team_id": "YOUR_APPLE_TEAM_ID",
"bundle_id": "com.yourname.wda",
"passcode_cmd": "your-secret-manager get iphone-passcode",
"stop_file": "~/turbotap.stop",
"devices": {
"iphone": {
"url": "http://192.168.1.50:8100",
"udid": "000081XX-XXXXXXXXXXXXXXXX",
"allowed_apps": ["com.apple.weather", "com.apple.Preferences"]
}
}
}
3. Deploy WDA and run a flow
turbotap deploy # clones, patches, builds, and starts WDA on mac_host (--no-build restarts) turbotap preflight # checks lock state, foreground app, and capture health turbotap unlock turbotap flow open:Weather read
Full walkthrough (finding your Team ID, trusting the dev cert, SSH signing keychains, multiple phones, troubleshooting) is in docs/SETUP.md.
Safety
- Kill switch (
stop_file): creating your configuredstop_file(orTURBOTAP_STOP_FILE) stops every mutating command immediately with exit 6 — including mid-flow before the next input. Delete the file to resume. - App guard (
allowed_apps): restricts input to an allowlist of bundle IDs, checked live via/wda/activeAppInfobefore every input request (fails closed on errors or unknown apps; refusesurl:unless explicitly scoped). - Deny filter (
--deny,--deny-also,deny_also): blocks taps, toggles, sliders, and keyboard Return/newlines matching regexes you supply (for example"deny_also": ["Send|Post|Pay|Buy|Delete"]inconfig.json). - Never presses Send/Post without permission: the bundled agent skill instructs agents to stop at drafts and require explicit approval before sending, posting, paying, or deleting; pair it with
deny_alsoto enforce that boundary in code. - Credentials stay redacted: passcodes (
passcode_cmd), PINs (pintap:env:/cmd:), and passwords (fill:FIELD=env:/cleartype:env:) are fetched locally, written directly to the verified target field, and scrubbed from output, errors, and timing logs — including across separate CLI calls when a redaction scope (TURBOTAP_REDACTION_DIR+TURBOTAP_REDACTION_KEY) is enabled.
See docs/SAFETY.md for the full security model, device-pinning rules, and cross-invocation redaction details.
Documentation
- docs/SETUP.md — Mac/Xcode signing, SSH keychain, multiple phones, troubleshooting
- docs/REFERENCE.md — Complete CLI subcommands, flow steps, timing receipts, warm daemon, environment variables
- docs/SAFETY.md — Stop file, app guard, deny patterns, credential handling, cross-invocation redaction
- docs/benchmarks.md — Fresh iPhone 17 benchmarks (medians, ranges, version comparisons, reproduction scripts)
- docs/HOW_IT_WORKS.md — Architecture,
wda-turbo.patchendpoints, strip-parallel OCR, zero-momentum scrolling - skills/turbotap/SKILL.md & skills/turbotap-retro/SKILL.md — Bundled skills for Claude Code, Codex, and OpenClaw
License
MIT. See LICENSE.
Related items
92
FeaturedOpenRouter Launches Prompt Caching with Sticky Routing to Drastically Reduce Multi-Turn Costs
OpenRouter 推出提示缓存与粘性路由,大幅降低多轮对话成本
For developers making frequent AI API calls, this feature is a direct money-saver. Sticky routing guarantees cache hit rates, and session_id requires zero configuration—every OpenRouter user should try it immediately.
91
FeaturedChatGPT Work: An AI Agent That Takes Action Across Apps and Files
ChatGPT Work:可在跨应用和文件中执行操作的AI Agent
I think this is a key step for AI assistants moving from Q&A to execution. Especially noteworthy for professionals who need to automate complex workflows. ChatGPT Work could become a new paradigm for productivity tools.
90
FeaturedAnatomy of a Frontier Lab Agent Intrusion: A Technical Timeline of the July 2026 Incident
前沿实验室代理入侵事件技术时间线:2026年7月事件剖析
This technical timeline is a must-read for all AI security researchers and agent developers—it doesn't just describe one attack but sounds an alarm on the weak defense systems of agent architectures. For teams deploying autonomous agents, this is an essential disaster prevention manual.
90
FeaturedBetter Tools Made Copilot Code Review Worse? Here's How GitHub Improved It
更好的工具反而让Copilot代码审查更糟?GitHub这样改进
This blog post deserves close reading by all AI product engineers and ML practitioners—it breaks the intuition that 'more powerful tools = better AI' and instead emphasizes an engineering philosophy aligned with agent reasoning patterns. Especially important for teams optimizing code review or similar agent-based products.
88
FeaturedOpenRouter Launches Unified Multimodal API: Single Endpoint for Image, Video, Audio, Embeddings, and Transcription
OpenRouter 推出统一多模态 API:单端点支持图像、视频、音频、嵌入与转录
This news is worth attention from all developers building multimodal AI applications: OpenRouter's unified API solves the pain of model switching, especially for startups or rapid prototyping. If you're struggling with multiple API keys and SDKs, this interface could be the unified layer you need.
87
FeaturedAnthropic Launches Claude for Teachers: AI Tools Designed for Educators
Anthropic 推出 Claude for Teachers:面向教师的教育 AI 工具
This announcement is valuable for educators and AI industry watchers alike. Instead of a generic chatbot, Anthropic designed a safety-first tool specifically for teachers, demonstrating the right approach for AI vertical deployment: solving real pain points rather than showing off technology. The built-in guardrails also set a reference for other AI companies, especially when serving scenarios involving children or teenagers.
86
FeaturedOpenRouter Introduces New Auto Router: Model Routing Powered by Market Wisdom
OpenRouter发布全新Auto Router:用市场智慧优化模型路由
This update is worth attention for anyone using APIs to build AI apps. Instead of guessing or testing model selection, market data now does the heavy lifting. Though sparse on details, the direction is right, especially for teams relying on aggregated model services.
86
FeaturedClaude Code v2.1.211 Release: Multiple Fixes and Improvements
Claude Code v2.1.211 发布:多项修复与改进
As a developer who frequently uses Claude Code for automated coding, I'm particularly interested in the security fixes, especially the permission preview character bypass and auto mode overriding hook decisions—these directly affect the security boundaries during team collaboration. The improvement in background agent reporting also makes long-running tasks more reliable. I recommend all users upgrade as soon as possible.
