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.6.tar.gz (43.0 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.6-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aivane_agent_android-0.1.6.tar.gz
  • Upload date:
  • Size: 43.0 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.6.tar.gz
Algorithm Hash digest
SHA256 ed44091d1481dedb79cd1ecf17497fddce2c76afa306ac60e154c7610b72db85
MD5 ef0b9c5cba1a5af26d692386e709c0b2
BLAKE2b-256 9c82b3186c5a7217ec82ae97056f33bc354f0019e2a4d430a18c3870c93ed498

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivane_agent_android-0.1.6.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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for aivane_agent_android-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ade6cce8f5c6de536d46ea3e59b9292eea977a734ee1bcf3e2cd5c055f83a597
MD5 9bec5d2ac6ef21bb8954cf6b5a804306
BLAKE2b-256 fab4d23b41d9255ea759560860ea84da7426b430b5ac96813c36cf07dbf45a95

See more details on using hashes here.

Provenance

The following attestation bundles were made for aivane_agent_android-0.1.6-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