‹ 返回总目录
开发工具 最近更新08-03

agent-device

| 2026-08-01 收录

☆ 收藏
🛒 📚 AI提效实战指南 · 图解Skill🛒 📱 大流量手机卡 · 低月租📣 加入推广 · 佣金80-300/张 ›

🛍️ 更多精选好物 ›

📊 公开数据一览

📦 榜单安装量8.6K
⭐ GitHub Stars3,919(fork 233)
🗓️ 最近推送2026-08-03
🌱 项目创建2026-01-30
💻 语言 / LicenseTypeScript · MIT
🐛 开放Issue48

📝 工具简介

控制iOS和Android设备的命令行工具,专为AI智能体设计,方便操作手机。

📖 怎么用

全局安装用 `npm install -g agent-device@latest`,然后跑 `agent-device doctor` 检查环境,`agent-device help workflow` 看工作流。开始用:先 `agent-device open Contacts --platform ios` 启动会话,再 `agent-device snapshot -i` 获取屏幕快照(输出里 refs 会变),最后用 ref 操作元素,比如 `agent-device` 配合 `@e2 [button] "Add"` 等待 UI 稳定后执行动作。

📋 迷你测评

控制iOS和Android设备的命令行工具,专为AI智能体设计。亮点是让agent直接操作手机,跨平台。没有具体数据点。

📄 README 要点

这个工具让你的编码智能体能在真实运行的应用里验证改动效果。它支持iOS、Android、tvOS、Android TV、亚马逊Vega OS电视、web、macOS和Linux平台,智能体可以读取无障碍快照、按选择器找元素、执行设备操作并保存证据。它用的是Vercel agent browser的inspect-act-verify流程,特别适合做移动端和电视端应用测试的QA场景,不过物理Fire TV设备还不支持。

查看英文原文
agent device Let your coding agent verify its changes in the running app. agent device lets coding agents inspect, control, and verify apps on iOS, Android, tvOS, Android TV, Amazon Vega OS TV through the Vega Virtual Device (VVD), web, macOS, and Linux. Agents can read token efficient accessibility snapshots where supported, find elements by ref or selector, run device actions, and save evidence for review. Initial Vega OS support is VVD only and covers discovery, app lifecycle, and complete TV remote control; physical Fire TV, capture, and selector backends remain unsupported. Your coding agent or QA tool reads each result and chooses the next command. agent device runs the command and saves evidence when asked. agent device uses the inspect act verify process from Vercel's agent browser for mobile, TV, and desktop apps. Basic platform web support runs agent browser in the same session and replay system. Quick start Install the CLI and check setup. It requires Node.js 22.12 or newer; web automation requires Node.js 24 or newer. See Installation for target requirements. [安装/使用命令见下方] Run agent device doctor yourself before handing the CLI to an agent. The installed CLI help defines current behavior. agent device help workflow links to guides for debugging, replay, React Native profiling, and other tasks. Add a contact in the built in iOS Contacts app: [安装/使用命令见下方] Use refs only from the latest output. Do not assume an earlier @eN still identifies the same element. After a command with settle , use the refs in its diff. Take another snapshot only if the diff omits what you need. Snapshots use the app's accessibility tree. Clear labels, roles, and test IDs make agent runs more reliable. Use screenshots and videos as evidence or when accessibility data is poor. Use refs and selectors for actions and assertions when you can. What agents can do Inspect app state through accessibility snapshots, refs, selectors, and React Native component trees. Act on visible UI by tappi

💬 评论(0)

交流使用体验、避坑建议;违规内容将被删除

💬 意见反馈 / 联系客服

数据来源:skills.sh 榜单 + GitHub 公开数据,非人工实测,仅供参考