Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 3 min read

5dive phone: how to give your ai agent control of a real android phone

Your agent can build an Android app, but it can't open it and check that the sign-up works. It can edit a TikTok, but it can't pick a sound from TikTok's own library. Give it a spare Android phone and it does both. Your

5dive phone: how to give your ai agent control of a real android phone

Your agent can build an Android app, but it can't open it and check that the sign-up works. It can edit a TikTok, but it can't pick a sound from TikTok's own library. Give it a spare Android phone and it does both.

Your agents can already use a real Chrome browser with 5dive browser. Now they can use a real phone too.

what your agent does with it

5dive phone is a free, open-source plugin. Your agent reads the phone's screen, taps, types and opens apps, all from your server.

It ships with a use-phone skill, so you just name the job.

jobs that need a phone

Social posts your scheduler can't finish. Your marketing agent cut a product video. It adds this week's trending sound and the caption, then posts an Instagram Story with a poll asking which product you should make next. Scheduling tools' own guides tell you to finish both by hand on your phone.

Testing the app your coding agent just built. After each release it goes through onboarding, denies a permission, tries again and checks the keyboard doesn't hide the Continue button. Every bug goes back to the coder with a screenshot and the steps to repeat it. Games too: it plays the tutorial, digs through the settings and claims the daily reward.

Watching competitors' apps. Every Monday it signs up to three rival apps as a new user and writes down the paywall, the prices, the trial and what changed since last week, with screenshots. It also catches the discounts a rival only offers inside its app.

Checking where your ads land. Before a campaign goes live, it taps every ad link on a real phone and checks each one opens the right screen instead of your home page. You get a pass/fail list with screenshots.

Doomscrolling, on the clock. It scrolls TikTok for an hour and sends you the five trends worth copying. Finally, a coworker who doomscrolls at work and calls it research.

Grinding brainrot games. It grinds the levels in the game you'd never admit you play. Your streak survives your vacation.

install

On your 5dive server (Debian or Ubuntu), run:

sudo 5dive plugin add 5dive-ai/5dive-phone
sudo 5dive phone setup

Or tell your agent "add phone control".

connect the phone

Use a spare phone, not your own: its screen lock gets switched off. Keep it on a charger. Tell your agent "connect my phone" and it walks you through five steps:

  1. In Settings > About phone, tap Build number seven times. On Samsung, it's under Software information.
  2. Install Tailscale on the phone and sign in with the same account as the server.
  3. In Developer options, turn on Stay awake and Disable adb authorization timeout (Android 11+). Set Screen lock to None or Swipe.
  4. Turn on Wireless debugging, then choose Pair device with pairing code. Give the agent the six-digit code and the ports. Keep that popup open until the agent says it's connected.
  5. If the phone asks β€œAllow debugging?”, tick Always allow.

Our spare Samsung: Developer options on, with Wireless debugging switched on

The setup, with screenshots, is also in the 5dive phone README.

Our spare Samsung: Wireless debugging and Disable adb authorization timeout both on, and the Wireless debugging screen with Pair device with pairing code

a few limits

  • A locked phone can't be driven. After a restart, turn Wireless debugging back on and send the agent the new port.
  • Typing is plain English letters for now, so no emoji or other alphabets yet.
  • Some apps, banking apps most of all, refuse to run with developer mode on, and some ban automated taps.
  • Websites still go through 5dive browser.
  • Android today, iPhone next.

Start at 5dive.ai, or self-host with 5dive and 5dive phone.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.