How to Control Your AI Coding Agent From Your Phone
Check progress, approve actions and send new instructions to the AI agents on your computer from your phone, by scanning a QR code.
Short answer: click Connect device in LightCode on your computer, scan the QR code with your phone, and approve the phone on the computer. The agents keep running on your computer; the phone is a window into them.
The problem#
A long task is running and you have to leave your desk. When you come back, it has been waiting for a yes or no for an hour.
Why it happens#
Coding agents run on your computer and pause when they need a decision. Without a way to reach them, the work stops until you return.
Steps#
- On your computer, click Connect device (the phone icon at the top of the left sidebar).
- Choose the connection:
- Local network if your phone is on the same Wi-Fi.
- Internet link to connect from anywhere over an encrypted HTTPS link.
- Scan the QR code with your phone camera.
- Back on the computer, approve the new device. Nothing connects until you do.
- On your phone, tap the bell icon and choose Important only to be notified when an agent needs you.
iPhone and iPad: open LightCode through the Internet link and add it to your Home Screen first. iOS only delivers these notifications to Home Screen web apps.
What you can do from the phone#
- Read progress and replies.
- Approve plans and sensitive actions, or answer the agent's questions.
- Send the next instruction.
- View your local app through Remote Browser Cast.
Good to know#
- Your computer must stay on and awake with LightCode running.
- Only pair devices you trust. You can remove any device at any time.
- The Free plan includes 1 paired device. Pro has no device limit.