Agentic Device

io.github.pooriaarab由 GitHub 帳號 pooriaarab 發布v0.1.0更新於 Oct 30, 2026

Control your own iPhones for posting via WebDriverAgent and ESP32 HID.

發布方自己的服務:agentic.no

概覽

AI 產生的概覽

讓 AI 助理登記自己名下的 iPhone、預覽介面操作,並透過 WebDriverAgent 或 ESP32 HID 橋接排入可稽核的發文任務。

可以做什麼
  • 依 UDID 登記並列出自己的裝置,連線方式可選 WDA、ESP32-HID 或模擬器。
  • 預覽並執行設定導向的介面操作,預設為試跑並需人工複核。
  • 依平台排入手機發文任務(可附媒體),並領取、完成或標記失敗。
  • 讀取裝置工作的費用報告。
  • 遇到密碼、驗證碼或簡訊驗證碼等步驟時回傳 needs-human,不假造進度。
適用情境
適合放在自己桌上、自己擁有的手機:為產品公告貼文排隊等你核准、驅動自己的模擬器走完應用程式導引流程並截圖,或把裝置任務記錄成可稽核的佇列項目,而不是沒有紀錄的腳本。
執行需求
透過 npx(npm 套件 agentic-device)以 stdio 在本機執行,需要 Node.js。實體 iPhone 需要可連線的 WebDriverAgent 端點或 ESP32 HID 橋接;模擬器選項不需硬體。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
它會操作真實裝置,請只登記自己擁有的手機。操作與發文任務在加上 --execute 前都是試跑,啟用執行前請先複核。它不會繞過密碼、驗證碼、雙重驗證或 App Store 審查,而是以 needs-human 停止。發文佇列預設存在行程內,正式使用需自行持久化。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agentic Device,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

agentic-device

[npm version] [npm downloads per month] [license]

npm package · CLI · Library · Safety · Limits

agentic-device is a TypeScript library, CLI, and MCP server for driving phones you own — an iPhone through WebDriverAgent or an ESP32 HID bridge — so an agent can run setup-oriented UI actions and queue auditable phone-posting tasks. It is a consent-first device pack: actions dry-run by default and anything that needs a human (passcode, CAPTCHA, verification code) stops with needs-human instead of faking progress.

Install

sh
npm install agentic-device

Requires Node.js and the published dist/ build. Two runtime dependencies: the MCP SDK and zod.

Post your first task

sh
agentic-device device register --udid MY_PHONE_UDID --label "My iPhone" --connection simulatoragentic-device device action --udid MY_PHONE_UDID --action '{"type":"home"}'agentic-device device post-task --udid MY_PHONE_UDID --platform instagram --text "Ship day"agentic-device device queue

device action and post-task are dry runs until you pass --execute, and device action stays a review gate even then: the run reports what the driver did or the VendorError it hit.

CLI

sh
agentic-device device register --udid <id> --label <label> --connection <wda|esp32-hid|simulator>agentic-device device listagentic-device device action --udid <id> --action <json> [--execute]agentic-device device post-task --udid <id> --platform <name> --text <text> [--media <path>]agentic-device device queue [--claim|--complete|--fail <task-id>]agentic-device costsagentic-device mcp

Library

ts
import { DeviceRegistry, SimulatorDriver, runAction } from "agentic-device";
const registry = new DeviceRegistry();const phone = registry.register({ udid: "mine", label: "My iPhone", connectionType: "simulator" });await runAction(phone, new SimulatorDriver(), { type: "home" }); // dry run

MCP server

agentic-device mcp (or npx agentic-device-mcp) serves the same registry, queue, drivers, and cost report as tools on stdio, so a host such as Claude Code or Cursor can register a device, preview an action, and read the task queue.

Use cases

  • A support agent queues a product-announcement post for a device on your desk and you approve the run.
  • A QA agent drives its own simulator through an app's onboarding to capture screenshots.
  • A posting pipeline records each device task as an auditable queue entry instead of an untracked script.

Alternatives and related tools

  • Appium is the general mobile-automation framework; WebDriverAgent is its iOS driver, and agentic-device speaks the same protocol for the posting-task subset.
  • ESP32-BLE-Keyboard is the reference firmware for the Bluetooth-HID path.
  • Full device-farm products (BrowserStack App Automate, Firebase Test Lab) rent you devices at scale; this pack is for the phones on your own desk.

Safety

  • Register only your own phones by UDID.
  • device action is a dry run by default; pass --execute only after review.
  • humanCheckpoint always returns needs-human for passcode, CAPTCHA, and verification-code steps — the pack never bypasses a platform check.
  • Drivers surface failures as VendorError; they never report failed hardware or network work as success.

Limits

  • No passcode, CAPTCHA, two-factor, or App Store review bypass — ever.
  • The WebDriverAgent path needs a reachable WDA endpoint for a physical device; simulator is the zero-hardware option.
  • The posting queue is in-process by default; persist tasks in your own store for production runs.

Upstream bases

The WDA driver follows the protocol exposed by appium/WebDriverAgent. The ESP32 HID path is designed around ESP32-BLE-Keyboard. These integrations are for owner-operated devices only.

License

MIT

來源:README.md,提交 17f07a4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Oct 15, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentic 整合