Dianhai WangResume
中文

Project notes · AUTOMATION / TOOL USE

Android Automation Agent

Connected plan confirmation, AutoJS script generation, device execution and error feedback so an agent can carry out tasks on real devices.

  • Python
  • Claude Code SDK
  • AutoJS
  • ADB
  • Vue 3

Engineering project · Cloud phones and Android

Context

A project exploring cloud-phone and Android automation. The frontend shows device previews, while the backend coordinates confirmation, script generation and execution, using device feedback to support repairs.

Workflow

  1. Task plan
  2. Confirm and generate
  3. Device execution
  4. Feedback and repair

Implementation

Confirm the action plan

Organized task planning and user confirmation before generating and executing AutoJS scripts.

Repair from execution feedback

Collected execution errors and logcat output to repair scripts, with limited retries to bound execution.

Bind tools to the current device

Built a cloud-phone tool plugin with session-bound devices and environments, wrapping ADB, screenshots and task APIs.

Load task-specific context

Supported Skill context loading and operation timeouts, connecting model capabilities with concrete device tools.

Delivery and scope

Implemented a loop from confirmation and script generation to device execution and feedback-based repair, with session device binding, context loading and operation timeouts.

Dianhai Wang · Updated

Contact