← 返回
科技产品发布/更新#AI Agent#Show#Turbotap#Open-Source CLI#Agents#Drive

Show HN: Turbotap – Open-Source CLI for AI Agents to Drive an iPhone over Wi-Fi

Hacker News 热门(Algolia · 中文化)T2
19:473 小时前HN 编译阅读原文 ↗导出 MD ↓

评分

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

turbotap

Fast CLI for driving a real iPhone over Wi-Fi from your terminal or an AI agent (Claude Code, Codex, OpenClaw).

turbotap demo: an agent drives a real iPhone over Wi-Fi through Settings, Spotify, Weather, and the App Store
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 using turbotap still 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 candidate 7d2e6cd). 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-screen read:ocr 492 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 separate turbotap ocr calls 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, turbotap talks straight to the phone over Wi-Fi from that Mac or any Linux machine on the same network.
  • Tesseract (optional) for local OCR. turbotap loads libtesseract at runtime; without it, ui and on-device read:vision still 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 configured stop_file (or TURBOTAP_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/activeAppInfo before every input request (fails closed on errors or unknown apps; refuses url: 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"] in config.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_also to 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

License

MIT. See LICENSE.

相关条目

92

五维评分

信息增量8 ×0.3

首次系统介绍 OpenRouter 缓存与路由协同策略,信息增量较高。

内容质量9 ×0.2

官方教程,结构清晰,包含原理、示例和实测效果。

实用价值10 ×0.2

直接明确降低 API 成本,开发者可立即应用。

时效性10 ×0.15

刚刚发布,且对当前 Agent 开发热潮具有及时指导意义。

信源可信度10 ×0.15

来源为 OpenRouter 官方 RSS 和官网,信源权威可靠。

基础分 92 × T1 信源权重 ×1 = 92

精选线 60已入选精选

08:00OpenRouter:Announcements(RSS)T1RSS

精选OpenRouter 推出提示缓存与粘性路由,大幅降低多轮对话成本

对于高频调用 AI API 的开发者,这个功能堪称直接省钱利器。粘性路由保证了缓存命中率,配合 session_id 零配置接入,值得所有使用 OpenRouter 的团队立即尝试。

AI产品#OpenRouter#会话ID#成本优化
91

五维评分

信息增量9 ×0.3

首次公开ChatGPT Work的Agent能力,信息增量高。

内容质量8 ×0.2

官方发布,内容清晰,但细节较少。

实用价值9 ×0.2

为用户提供可直接使用的Agent能力,实用价值高。

时效性10 ×0.15

刚刚发布,时效性极强。

信源可信度10 ×0.15

来自OpenAI官方,信源权威可靠。

基础分 91 × T1 信源权重 ×1 = 91

精选线 60已入选精选

18:00OpenAI:News(RSS)T1RSS

精选ChatGPT Work:可在跨应用和文件中执行操作的AI Agent

我认为这是AI助手从问答走向执行的关键一步。对需要自动化复杂工作流的专业人士尤其值得关注。ChatGPT Work可能成为生产力工具的新范式。

AI产品#Agent#AI 生产力#ChatGPT Work
90

五维评分

信息增量9 ×0.3

首次公开前沿实验室代理入侵的完整技术时间线,信息增量极高。

内容质量8 ×0.2

结构严谨、技术细节丰富,但缺乏部分原始日志数据佐证。

实用价值9 ×0.2

提供了缓解建议和自检工具,对AI安全从业者具有直接指导意义。

时效性10 ×0.15

事件发生仅数月后即发布分析,时效性极佳。

信源可信度9 ×0.15

Hugging Face 作为顶级开源AI平台,其技术博客可信度极高。

基础分 89.5 × T1 信源权重 ×1 = 90

精选线 60已入选精选

08:00Hugging Face:Blog(RSS)T1RSS

精选前沿实验室代理入侵事件技术时间线:2026年7月事件剖析

这篇技术时间线值得所有AI安全研究员和代理开发者细读——它不只是描述一次攻击,而是为整个行业敲响了代理系统防御体系薄弱的警钟。对正在部署自主代理的团队来说,这是必读的灾难预防手册。

科技产品#AI代理安全#Hugging Face#入侵时间线
90

五维评分

信息增量8 ×0.3

文章揭示了工具增强反而导致AI性能下降的反直觉发现,并提供了具体工程改进方案,信息增量高。

内容质量9 ×0.2

来自GitHub官方工程博客,有数据支撑(成本下降40%),论证清晰,质量上乘。

实用价值9 ×0.2

对AI产品团队、代码审查工具开发者、以及依赖AI辅助编程的团队有直接借鉴意义。

时效性10 ×0.15

2024年发布的工程实践,符合当前AI产品优化趋势,时效性强。

信源可信度10 ×0.15

信源为GitHub官方博客,具有高度权威性和技术可信度。

基础分 90 × T1 信源权重 ×1 = 90

精选线 60已入选精选

23:57GitHub Blog(网页)T1网页

精选更好的工具反而让Copilot代码审查更糟?GitHub这样改进

这篇博客值得所有AI产品工程师和ML从业者仔细阅读——它打破了'更强大的工具=更好的AI'的直觉,转而强调与Agent推理模式匹配的工程哲学。对正在优化代码审查或类似Agent产品的团队尤其重要。

AI产品#Agent工作流#Copilot#GitHub
88

五维评分

信息增量9 ×0.3

披露了OpenRouter产品的新能力,对关注多模态开发的用户有较高信息增量。

内容质量8 ×0.2

内容清晰,准确描述了API功能与优势,但缺少性能数据对比。

实用价值9 ×0.2

直接解决多模态API碎片化问题,开发者可立即降低集成成本。

时效性10 ×0.15

该API为新近发布,具有很高时效性。

信源可信度8 ×0.15

OpenRouter官方博客,权威性高,但未提及其他第三方验证。

基础分 88 × T1 信源权重 ×1 = 88

精选线 60已入选精选

08:00OpenRouter:Announcements(RSS)T1RSS

精选OpenRouter 推出统一多模态 API:单端点支持图像、视频、音频、嵌入与转录

这条消息值得所有做多模态AI应用的开发者关注:OpenRouter用联合API解决了模型切换的痛点,特别适合初创团队或快速原型开发。如果你正被多个API密钥和SDK折磨,这个接口可能是你需要的统一层。

AI产品#OpenRouter#多模态API#模型集成
87

五维评分

信息增量8 ×0.3

介绍了全新的教育产品,填补了AI安全公司在教育垂直领域的空白,信息增量较高。

内容质量8 ×0.2

内容简洁清晰,准确概括产品功能、安全理念和试点情况,无冗余信息。

实用价值9 ×0.2

直接解决教师备课负担痛点,且强调安全合规,对教育工作者具有实际参考价值。

时效性10 ×0.15

消息发布时间接近当前日期,属于最新产品发布动态。

信源可信度9 ×0.15

来源为Anthropic官方新闻页面,权威性高,内容可靠。

基础分 86.5 × T1 信源权重 ×1 = 87

精选线 60已入选精选

23:40Anthropic:News(网页)T1网页

精选Anthropic 推出 Claude for Teachers:面向教师的教育 AI 工具

这条消息对教育工作者和AI行业观察者都很有价值。Anthropic没有选择通用聊天机器人,而是专门为教师设计了安全可控的工具,这显示出AI在垂直场景落地的正确思路——不是技术炫技,而是切实解决用户痛点。同时,产品内置的安全护栏也值得其他AI公司参考,尤其是在面向儿童或青少年的场景中。

AI产品#AI安全#Anthropic#Claude
86

五维评分

信息增量9 ×0.3

全新路由机制,市场智慧概念为行业带来较高信息增量。

内容质量8 ×0.2

官方公告内容清晰,但技术细节不足,略有扣分。

实用价值8 ×0.2

对开发者选型有直接实用价值,可降低试错成本。

时效性9 ×0.15

产品刚发布,时效性极强。

信源可信度9 ×0.15

来自OpenRouter官方RSS公告,信源可靠。

基础分 86 × T1 信源权重 ×1 = 86

精选线 60已入选精选

08:00OpenRouter:Announcements(RSS)T1RSS

精选OpenRouter发布全新Auto Router:用市场智慧优化模型路由

这条更新值得所有用API开发AI应用的人关注。以前选模型靠经验和测试,现在市场数据帮你选。虽然细节不多,但方向很对。对依赖聚合模型服务的团队尤其重要。

AI产品#Auto Router#OpenRouter#市场智慧
86

五维评分

信息增量8 ×0.3

包含大量具体修复细节和安全改进,信息密度高。

内容质量9 ×0.2

内容详尽,结构清晰,覆盖新功能、修复、改进多个方面。

实用价值9 ×0.2

修复了多个实际开发中遇到的问题,对用户有直接帮助。

时效性10 ×0.15

刚刚发布的版本,时效性极强。

信源可信度10 ×0.15

来自 Anthropic 官方 GitHub Release,信源权威可靠。

基础分 90 × T1.5 信源权重 ×0.95 = 86

精选线 65已入选精选

07:02Claude Code:GitHub Releases(RSS)T1.5GitHub Release

精选Claude Code v2.1.211 发布:多项修复与改进

作为一个经常使用 Claude Code 进行自动化编码的开发者,我特别关注这次的安全修复,尤其是权限预览字符绕过和自动模式覆盖钩子决策的问题——这些直接关系到团队协作时的安全边界。后台代理报告的改进也让长时间运行的任务更可靠。建议所有使用者尽快升级。

AI产品#Anthropic#Claude Code#代码生成工具

引用前请核对原文