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 and the necessary drivers (XCUITest and UiAutomator2): Appium

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.1.tar.gz (63.6 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.1-py3-none-any.whl (75.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for app_use-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4e25ea329cee326b1e7116fc84bc9ef0b7024508b1110e267466efcb25ea3dfc
MD5 d6faf5f39690caca02c6c36725607cc1
BLAKE2b-256 4117dce649b37195b2e67afb48998b217585738d828e1d08f90b8087668f5f05

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for app_use-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d47b670788a8765ed6fbeeca7c9df0fc952d806ae3cf225c7783b937463ae5d4
MD5 b69281171ed9007c3e5b3da0e0a046a7
BLAKE2b-256 f0d1c67b7866129b12116189752ce9e5d48beeff02522c709045e9759fc0cd1e

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