Skip to main content

Make mobile apps accessible for AI agents

Project description

Whisk_storyboard7ea3db2beb6746db94891e4e (1)

Enable AI to control your mobile apps 🤖

Ask DeepWiki Twitter Follow Discord

📱 App Use is the easiest way to connect AI agents with mobile applications.

Our goal is to provide a powerful yet simple interface for AI agent app automation.

Quick start

With pip (Python>=3.11):

pip install app-use

For memory functionality (requires Python<3.13 due to PyTorch compatibility):

pip install "app-use[memory]"

Install the necessary drivers and software: Check out our environment setup docs for more info!

Or feel free to try out our cli for a seamless setup:

pip install "app-use[cli]"

#install dependencies
app-use setup

# to check dependencies where installed correctly
app-use doctor

Define the app and mobile device you want to target:

    app = App(
        platform_name="ios",
        device_name='Your Device Name',
        bundle_id="com.apple.calculator",
        appium_server_url='http://localhost:4723',
        {"udid": 'device-id'},
    )

Spin up your agent:

import asyncio
from dotenv import load_dotenv
load_dotenv()
from app_use import Agent
from langchain_openai import ChatOpenAI

async def main():
    agent = Agent(
        task="What is 2+2?",
        llm=ChatOpenAI(model="gpt-4o"),
        app=app

    )
    await agent.run()

asyncio.run(main())

Add your API keys for the provider you want to use to your .env file.

OPENAI_API_KEY=
ANTHROPIC_API_KEY=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_KEY=
GOOGLE_API_KEY=
DEEPSEEK_API_KEY=
GROK_API_KEY=
NOVITA_API_KEY=

DEMOS

Ordering Shorts from the Lululemon App (iOS)

agent_history

Ordering some tacos and a drink on DoorDash (IOS)

uber_eats_orders

Community & Support

Contributions are welcome! Please feel free to submit a Pull Request.

App Use is actively maintained and designed to make mobile app control as simple and reliable as possible.

Made with ❤️ by Erick Torres

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

app_use-0.0.2.tar.gz (82.7 kB view details)

Uploaded Source

Built Distribution

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

app_use-0.0.2-py3-none-any.whl (100.2 kB view details)

Uploaded Python 3

File details

Details for the file app_use-0.0.2.tar.gz.

File metadata

  • Download URL: app_use-0.0.2.tar.gz
  • Upload date:
  • Size: 82.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for app_use-0.0.2.tar.gz
Algorithm Hash digest
SHA256 42bb7a974498758e458442b3320e9a3f114765bda5efd76b50c3b5b717572ca9
MD5 2866d8c082fa2bf7d415a211767ba3e1
BLAKE2b-256 0be31918d9d1cdb8045db52e860a97055a0649dd325631c98f97b614417cd1e5

See more details on using hashes here.

File details

Details for the file app_use-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: app_use-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 100.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for app_use-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 713c6dbfedca991794bbc14b2640e45ea4a386ae9d20f37a6c7784447aea1646
MD5 cfd3e92a3b586d1c94d4e3959887cffa
BLAKE2b-256 099781629ddcc508646f0cd8a93801511e6747eb28281b383bba51ec75f9f71c

See more details on using hashes here.

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