callstack自动化与工作流

Agent Device

agent-device

为 AI 编程助手提供移动端应用自动化与验证能力,支持 iOS、Android、HarmonyOS 等多平台的实时交互与测试。

  • 前端
  • 测试 / QA
  • DevOps / 运维
  • 自动化
  • 测试
  • 监控 / 可观测
  • 效率 / 生产力
  • CLI
  • API/SDK
  • 库/框架
  • macOS
  • Linux
  • Windows
  • 浏览器
  • 支持自托管
  • 支持本地运行
agent-device 截图
社区热度
4.2k Stars
GitHub 收藏
最近活跃
2026/8/22
近 30 天还在更新
授权协议
MIT
宽松协议

为什么值得关注

不是看 Star 排名,而是看它解决了什么问题、实际有没有用,以及方法为什么值得关注。

近 90 天

解决的问题

解决了 AI 编码助手在移动端开发中缺乏实时应用反馈和自动化验证手段的痛点。

实际价值

通过 CLI、MCP 服务和 Node.js API 提供统一接口,支持 iOS、Android、HarmonyOS 等多平台,具备检查、操作及证据留存能力。

创新 / 差异化

将辅助功能树(Accessibility Tree)转化为 Token 高效的文本快照供 AI 理解,而非仅依赖视觉识别,提升了交互准确性。

扩展潜力

能够集成到现有的 AI 开发流中,支持本地调试、CI/CD 自动化及远程设备云连接,扩展了 AI 代理在移动端的执行边界。

为什么是现在

随着 AI 编码代理在复杂应用开发中的普及,针对移动端特定环境的自动化验证工具正处于需求上升期。

社区活跃度

近 90 天新增 367 个 Issue、989 个 PR;窗口内抽取的 Issue/PR 样本中有 18 位 Issue 发起者、4 位 PR 贡献者,并发布 至少 41 个版本。

维护者响应

窗口内 100 个 Issue 样本关闭率 99%,100 个 PR 样本合并率 95%。维护者响应统计覆盖该 Issue 样本的 68%,响应率 3%,首次响应中位数 9.1 小时。

PR 样本 4 位贡献者至少 41 次 ReleaseIssue 响应率 3% · 样本 68(覆盖 68%)首次响应中位数 9.1hPR 合并率 95% · 100 条窗口样本

核心亮点

  • 通过无障碍快照检查应用状态
  • 支持点击、输入、滚动等 UI 交互操作
  • 捕获截图、视频、日志及性能数据作为证据

快速开始

安装方式、上手难度、开始步骤。

装在哪

本地运行

难不难

中等,需要一点配置

支持自托管支持本地运行
  1. 01使用 npm 全局安装 agent-device 工具。
  2. 02运行 doctor 命令检查环境配置是否满足目标平台要求。
  3. 03通过 CLI 启动应用会话,并使用 snapshot 命令获取当前界面状态。
  4. 04根据返回的引用(ref)执行交互操作,如 press 或 fill。

更适合谁

  • 希望数据放在自己服务器上的团队
  • 想在本机直接跑起来试用的开发者

更多介绍

agent-device 为 AI 编程助手提供移动端应用的实时反馈回路。它通过命令行工具、MCP 服务器或 Node.js API,让 AI 能够直接在 iOS、Android、HarmonyOS、Web 及桌面端应用中进行检查、控制和验证。

该工具通过读取无障碍树(Accessibility Tree)而非仅依赖视觉识别,确保了操作的准确性。开发者可以将 AI 的操作过程保存为脚本,用于本地调试或集成到 CI/CD 流水线中,从而实现自动化的移动端质量保证。

信息来源

每条信息都标注了状态与出处,可展开查看。

14 条 · 展开
  • capability tags

    已核验

    automation、testing、monitoring、productivity

    来源: admin_cms · cms editor · 2026/8/22

  • editor note

    已核验

    {"en":"By providing an MCP server and Node.js API, this project enables AI agents to operate simulators or physical devices, creating an 'inspect-act-verify' loop. It is particularly useful for workflows requiring automated mobile UI verification or bug reproduction.","zh":"该项目通过提供 MCP 服务器和 Node.js API,让 AI 代理能够直接操作模拟器或真机,实现“检查-行动-验证”的闭环。它特别适合需要自动化验证移动端 UI 变更或复现 Bug 的开发工作流。"}

    来源: admin_cms · cms editor · 2026/8/22

  • how to use

    已核验

    {"steps":[{"en":"Install the agent-device tool globally using npm.","zh":"使用 npm 全局安装 agent-device 工具。"},{"en":"Run the doctor command to verify that your environment meets the requirements for target platforms.","zh":"运行 doctor 命令检查环境配置是否满足目标平台要求。"},{"en":"Start an app session via the CLI and use the snapshot command to retrieve the current UI state.","zh":"通过 CLI 启动应用会话,并使用 snapshot 命令获取当前界面状态。"},{"en":"Perform interactions such as press or fill using the returned refs.","zh":"根据返回的引用(ref)执行交互操作,如 press 或 fill。"}],"installAt":"local","difficulty":"medium"}

    来源: admin_cms · cms editor · 2026/8/22

  • intro

    已核验

    {"en":"agent-device provides a live feedback loop for AI coding agents to interact with mobile applications. Through a CLI, MCP server, or Node.js API, it allows agents to inspect, control, and verify apps across iOS, Android, HarmonyOS, web, and desktop platforms.\n\nBy leveraging accessibility trees rather than relying solely on visual reasoning, the tool ensures reliable interactions. Developers can record agent workflows as scripts for local debugging or integrate them into CI/CD pipelines for automated mobile quality assurance.","zh":"agent-device 为 AI 编程助手提供移动端应用的实时反馈回路。它通过命令行工具、MCP 服务器或 Node.js API,让 AI 能够直接在 iOS、Android、HarmonyOS、Web 及桌面端应用中进行检查、控制和验证。\n\n该工具通过读取无障碍树(Accessibility Tree)而非仅依赖视觉识别,确保了操作的准确性。开发者可以将 AI 的操作过程保存为脚本,用于本地调试或集成到 CI/CD 流水线中,从而实现自动化的移动端质量保证。"}

    来源: admin_cms · cms editor · 2026/8/22

  • 最新版本

    已核验

    v0.20.9

    来源: GitHub 官方接口 · latest_release=v0.20.9 · 2026/8/22

  • 许可证

    已核验

    MIT

    来源: GitHub 官方接口 · license.spdx_id=MIT · 2026/8/22

  • needs api key

    已核验

    来源: admin_cms · cms editor · 2026/8/22

  • 一句话用途

    已核验

    {"en":"Mobile app automation and verification for AI coding agents, enabling live interaction and testing across iOS, Android, HarmonyOS, and more.","zh":"为 AI 编程助手提供移动端应用自动化与验证能力,支持 iOS、Android、HarmonyOS 等多平台的实时交互与测试。"}

    来源: admin_cms · cms editor · 2026/8/22

  • 平台

    已核验

    macos、linux、windows、browser

    来源: admin_cms · cms editor · 2026/8/22

  • 分类线索

    根据材料推断

    ai-apps

    来源: 项目说明文档 · hint=ai-apps · 2026/8/17

  • product forms

    已核验

    cli、api_sdk、library_framework

    来源: admin_cms · cms editor · 2026/8/22

  • role tags

    已核验

    frontend、qa、devops

    来源: admin_cms · cms editor · 2026/8/22

  • supports local

    已核验

    来源: admin_cms · cms editor · 2026/8/22

  • supports self host

    已核验

    来源: admin_cms · cms editor · 2026/8/22

根据分类、能力和适用角色匹配的其他已核验项目。