Skip to main content

Local-first Android UI automation CLI for the AIVane Android REPL beta

Project description

Python Client

This directory contains the publishable Python CLI package for the AIVane Android REPL beta.

Run

After installation, use the console script:

agent-android --help
agent-android --repl --url http://<device-ip>:8080
agent-android --health --url http://<device-ip>:8080

If the phone requires a shared token:

agent-android --repl --url http://<device-ip>:8080 --token YOUR_TOKEN

Set the environment variable AIVANE_API_TOKEN when you prefer not to pass the token on every command line.

Inside the REPL you can also persist it locally:

set token YOUR_TOKEN

For prepared multi-step flows:

agent-android --template template.json --url http://<device-ip>:8080
agent-android --template template.json --async --url http://<device-ip>:8080

For a workflow bundle with one main template plus child templates:

agent-android --application-bundle app.zip --main-template-file __main__.json --url http://<device-ip>:8080
agent-android --application-bundle app.zip --main-template-file __main__.json --async --url http://<device-ip>:8080

Async execution returns a taskId immediately. Poll or stop the task with:

agent-android --task TASK_ID --url http://<device-ip>:8080
agent-android --task-logs TASK_ID --url http://<device-ip>:8080
agent-android --stop-task TASK_ID --url http://<device-ip>:8080

For syncing templates, images, or other files from your computer to the phone:

agent-android --upload foo.json --remote-path Templates/foo.json --url http://<device-ip>:8080
agent-android --upload foo.json --remote-path Templates/foo.json --no-overwrite --url http://<device-ip>:8080

--upload overwrites by default. It uses the same phone-side token check as the other protected REPL endpoints.

Package Layout

  • pyproject.toml: setuptools package metadata and console-script registration
  • src/agent_android/: installable package source
  • tests/: unit and device smoke tests

Notes

  • The package uses a standard src layout under src/agent_android.
  • The phone hosts the beta HTTP service locally and the client connects directly to http://<device-ip>:8080 by default. If the phone-side REPL settings use a different port, pass that port in --url.
  • If a command cannot connect, first check whether the AIVane app or its local API service has exited on the phone, then retry /health.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aivane_agent_android-0.1.7.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aivane_agent_android-0.1.7-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file aivane_agent_android-0.1.7.tar.gz.

File metadata

  • Download URL: aivane_agent_android-0.1.7.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aivane_agent_android-0.1.7.tar.gz
Algorithm Hash digest
SHA256 73d0ac8f7ae36a657fb713a2822433641b1c51a30957b8f16f63c9add54afa2c
MD5 29947ef16c12161ab97fb2bed9838efa
BLAKE2b-256 5d6cf74eb4db07e4634b005023bdb0d76f773cf2a197fe71568ef6396bc4886f

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivane_agent_android-0.1.7.tar.gz:

Publisher: python-publish.yml on aivanelabs/ai-rpa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aivane_agent_android-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for aivane_agent_android-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c403ba415347da5a4a1ab86fdee804aa90a1a47719f53b60bd379f8c0ffd8601
MD5 950b792b6eef2a5a33b65beec4599482
BLAKE2b-256 196e9118490ba7ae8cf57f1e7f33c42d2c4903c700d81903e2526d67cac5c5eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivane_agent_android-0.1.7-py3-none-any.whl:

Publisher: python-publish.yml on aivanelabs/ai-rpa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page