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.8.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.8-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aivane_agent_android-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 c9e897d25e94f3af093ba26687a5362577f036f1a31f04bcc4ba6b60a967a82a
MD5 1a3e00a6a22774fdbc30d2d11c451b3f
BLAKE2b-256 d20c41c0d01e0074e929b0f084f13e14cc0820713f2f3fdd6129c7710a50d6a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for aivane_agent_android-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ba24526cc7654cece94d56665b743baec2bdcc10bc5027543c26c9bc30c167c8
MD5 8314ec1807f715c1acd437021ee21af7
BLAKE2b-256 36bfa6acba1429fae4e1b4b6217fdac59e9035646c7cfcc8f934e4f9368f3ab4

See more details on using hashes here.

Provenance

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