Show HN: Turbotap – Open-Source CLI for AI Agents to Drive an iPhone over Wi-Fi
评分
52精选理由
进入全量动态池,后续可由人工或模型复核精选价值。
AI 点评
「来自 Hacker News 热门(Algolia · 中文化) 的这条信息指向AI 产品形态和落地方式变化,适合用于判断近期 AI 圈的真实动向。」
速览
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
正文
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.
相关条目
92
精选OpenRouter 推出提示缓存与粘性路由,大幅降低多轮对话成本
对于高频调用 AI API 的开发者,这个功能堪称直接省钱利器。粘性路由保证了缓存命中率,配合 session_id 零配置接入,值得所有使用 OpenRouter 的团队立即尝试。
91
精选ChatGPT Work:可在跨应用和文件中执行操作的AI Agent
我认为这是AI助手从问答走向执行的关键一步。对需要自动化复杂工作流的专业人士尤其值得关注。ChatGPT Work可能成为生产力工具的新范式。
90
精选前沿实验室代理入侵事件技术时间线:2026年7月事件剖析
这篇技术时间线值得所有AI安全研究员和代理开发者细读——它不只是描述一次攻击,而是为整个行业敲响了代理系统防御体系薄弱的警钟。对正在部署自主代理的团队来说,这是必读的灾难预防手册。
90
精选更好的工具反而让Copilot代码审查更糟?GitHub这样改进
这篇博客值得所有AI产品工程师和ML从业者仔细阅读——它打破了'更强大的工具=更好的AI'的直觉,转而强调与Agent推理模式匹配的工程哲学。对正在优化代码审查或类似Agent产品的团队尤其重要。
88
精选OpenRouter 推出统一多模态 API:单端点支持图像、视频、音频、嵌入与转录
这条消息值得所有做多模态AI应用的开发者关注:OpenRouter用联合API解决了模型切换的痛点,特别适合初创团队或快速原型开发。如果你正被多个API密钥和SDK折磨,这个接口可能是你需要的统一层。
87
精选Anthropic 推出 Claude for Teachers:面向教师的教育 AI 工具
这条消息对教育工作者和AI行业观察者都很有价值。Anthropic没有选择通用聊天机器人,而是专门为教师设计了安全可控的工具,这显示出AI在垂直场景落地的正确思路——不是技术炫技,而是切实解决用户痛点。同时,产品内置的安全护栏也值得其他AI公司参考,尤其是在面向儿童或青少年的场景中。
86
精选OpenRouter发布全新Auto Router:用市场智慧优化模型路由
这条更新值得所有用API开发AI应用的人关注。以前选模型靠经验和测试,现在市场数据帮你选。虽然细节不多,但方向很对。对依赖聚合模型服务的团队尤其重要。
86
精选Claude Code v2.1.211 发布:多项修复与改进
作为一个经常使用 Claude Code 进行自动化编码的开发者,我特别关注这次的安全修复,尤其是权限预览字符绕过和自动模式覆盖钩子决策的问题——这些直接关系到团队协作时的安全边界。后台代理报告的改进也让长时间运行的任务更可靠。建议所有使用者尽快升级。
