Prerequisites
- An Android phone with the AGI Android app installed and signed in to your AGI platform account
- Accessibility and overlay permissions granted (the app walks you through both)
- An MCP client: Claude Code, Claude Desktop, Cursor, ChatGPT, or any client that supports remote MCP servers
1
Make your phone available
Open Settings > Developer connection in the AGI Android app. Connect or
refresh the device, then confirm the page reports Connected.
2
Connect your MCP client
The fastest path is Claude Code:Then run
/mcp inside Claude Code and complete the browser sign-in.3
Verify the connection
Ask your assistant to list your devices. It calls
If the tool list only contains
list_devices and should report your
phone as online:list_devices and set_default_device, no
device is registered yet - see
Troubleshooting.4
Run your first task
Ask in plain language:Under the hood, your assistant:
- Calls
phone_run_taskwith the prompt - the call returns atask_idimmediately. - Waits on
phone_task_monitoruntil the task completes. - Reads the answer from
resultwhen the task finishes withterminal: "ok".
What just happened
phone_run_task never blocks on the phone, and phone_task_monitor is how your assistant waits for something actionable. If the monitor returns monitor_timed_out: true, the task is still working - call it again.
Next steps
Task lifecycle
States, terminal outcomes, and the monitor loop in depth
Task design
Write prompts that phone agents execute reliably
Tool reference
Every parameter, default, and outcome
Use cases
Messaging, daily assistant, cross-app workflows, QA