⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
agent-android
Control Android over LAN without USB, ADB, or root.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
// README
See the Chinese overview at README_CN.md.
AIVane AI RPA
Control an Android phone from your desktop or AI agent in minutes: inspect UI, tap, type, launch apps, and capture screenshots locally over LAN.
This repository is the public home for aivanelabs/ai-rpa. The current public surface is AIVane Android REPL Beta: a directly installable agent-android CLI plus a GitHub-installable agent-android skill for tools such as Codex, Claude Code, and OpenClaw.
Demo
Add a calendar event
https://github.com/user-attachments/assets/f4e48dd4-386c-4df5-936e-37c3fa650fd4
Search on Xiaohongshu
https://github.com/user-attachments/assets/7024b34b-73cd-4cc5-857e-90a84c341110
Start Here
- The beta already has a ready-to-install CLI and skill path; use the commands below instead of repo-local script paths.
- Download APK: GitHub Releases
- Install CLI:
uv tool install aivane-agent-android - Install skill:
npx skills add aivanelabs/ai-rpa --skill agent-android
3-Step Quickstart
- Install the APK on your phone and enable the AIVane accessibility service.
- Install the CLI:
uv tool install aivane-agent-android
If agent-android is not found afterwards, run:
uv tool update-shell
Then reopen the terminal. If you want the current shell to work immediately on Linux, run:
export PATH="$HOME/.local/bin:$PATH"
- Verify the device is reachable:
agent-android --health --url http://<device-ip>:8080
If that succeeds, start the REPL:
agent-android --repl --url http://<device-ip>:8080
Choose A Path
For Humans
Use the CLI directly when you want to manually explore the phone from your desktop:
- Download the APK from GitHub Releases
- Install the CLI with
uv tool install aivane-agent-android - Run
agent-android --repl --url http://<device-ip>:8080 - In the REPL, use the short loop:
health->apps->la <package>->list-> one action ->list
For AI Agents
Use the skill when you want Codex, Claude Code, or another coding agent to drive the phone:
- Install the CLI with
uv tool install aivane-agent-android - Install the skill:
npx skills add aivanelabs/ai-rpa --skill agent-android
- Give the agent a concrete task, for example:
Use the installed agent-android skill to:
1. check phone health
2. list launcher apps
3. launch Settings
4. inspect visible UI nodes
5. tap the Wi-Fi entry
First Success Path
This is the shortest practical smoke flow after the phone is reachable:
agent-android --repl --url http://<device-ip>:8080set url http://<device-ip>:8080healthappsla <package>listtap <refId>list
If you want the full setup path, see docs/install-agent-android.md and docs/quickstart.md.
Template And File Sync
Use an application bundle when a workflow has one main template plus child templates. The phone executes the zip as one scoped package, so child template names do not collide with phone-local templates:
agent-android --application-bundle app.zip --main-template-file __main__.json --url http://<device-ip>:8080
Use the CLI upload command when you want to push a standalone image, ordinary binary file, or one-off local file from your computer to phone-local REPL storage:
agent-android --upload foo.json --remote-path Templates/foo.json --url http://<device-ip>:8080
Uploads overwrite by default. Add --no-overwrite to reject an existing target. In templates, use http.download when the phone should fetch and save an image, JSON template, zip, text file, or other binary file from a URL. Keep http.get for text or JSON responses that should be read into variables.
Template Validation
Install the template linter when you want to check a template or application bundle before running it on a device:
uv tool install aivane-template-linter
aivane-template-lint my-app -r
The linter validates template JSON, OperationType parameters, variable references, and application-level relationships such as app.json main template resolution and template.execute child template calls.
See docs/templates/ for authoring guidance and docs/operation-types/ for the OperationType reference.
What This Beta Is
- Local-first Android automation over LAN
- Human-friendly REPL plus agent-friendly skill
- Public CLI command:
agent-android - Designed for inspect -> act -> inspect workflows
What This Beta Is Not
- Not a cloud phone farm
- Not remote control over arbitrary networks by default
- Not iOS support
- Not a visual recorder workflow yet
Why The Phone Is The Web Server
- The phone runs the lightweight HTTP service locally and the desktop connects directly to
http://<device-ip>:8080. - UI inspection, taps, text input, and screenshots stay between the phone and the controlling machine.
- The first smoke flow works without a cloud relay.
- The tradeoff is that this beta is LAN-only.
Install Sources
- PyPI package:
aivane-agent-android - Console command:
agent-android - Template linter package:
aivane-template-linter - Template linter command:
aivane-template-lint - Skill:
skills/agent-android/ - APK builds: GitHub Releases
Repo Layout
clients/python/: publishable Python CLI package using a standardsrclayoutclients/template-linter/: publishable Python template linting CLI packagedocs/: quickstart, install, protocol, permissions, release, and support docsdocs/templates/: template authoring and linting guidancedocs/operation-types/: public OperationType referencedocs/assets/: README-linked media such as demo videos and screenshotsexamples/: smoke-flow examples and launch helpersskills/agent-android/: installable public skill definition
Additional Resources
- docs/quickstart.md
- docs/install-agent-android.md
- docs/agent-examples.md
- docs/templates/README.md
- docs/operation-types/README.md
- docs/release-checklist.md
- docs/known-limitations.md
Contact
For questions and light coordination, please email aivanelabs@gmail.com.
// HOW IT'S BUILT
KEY FILES