Skip to main content
OPEN SOURCE · MIT

orion-phone

Give your agent its own phone.

Open source (MIT) · MCP server and CLI · Claude Code, Codex, or any MCP client · Linux and WSL2.

Watch orion-phone in action

Download the demo video

Edited guide excerpt using the public Orion Phone v0.2.0 package and a neutral Clock app. Original Dan narration; demonstration actions are identified in the footage. Leases coordinate holders and do not grant account or posting authority.

Read the transcript

Give our worker the clock job. I want one test alarm labeled Guide demo. I want it switched off, and I want that agent to check it and then delete it. If we're showing a direct command in a terminal, we'll label it as my command so you can tell which part of the agent actually did. I ask for the UI, I get the screen on as a text, okay? It shows up with labels in the center of each element. So I have the agent find Add alarm and then use that point from the screen. It just read Okay, you follow along. on the guide, you'll see in the list that we've checked that it switched off. That's the result I asked for. So we can show it before the agent cleans up. Then I have it delete the test alarm. Read the list again and check that the label is gone. I want the cleanup checked as well.

The problem

Agents that share one desktop browser collide when two of them want it at once, and they cannot use apps that exist only on phones. Handing an agent your own phone is worse: everything on it is then within reach.

orion-phone runs Android phones (emulators) that AI agents drive through an MCP server or a CLI. An agent leases a phone, reads its screen as text, taps, types and opens apps, and every action leaves an audit record with a screenshot. The phones are signed in to the accounts you choose, and a phone in the locked tier does nothing until you unlock it yourself.

Demo

One agent leases a phone and works in the Clock app. A second agent asks for the same phone and is told who holds it. The locked phone waits for its owner.

terminal
# Agent 1 leases phone a and opens Clock
orion-phone lease a --holder=agent-1
OK: agent-1 holds phone a until 2026-10-14T18:30:00+00:00
orion-phone open a com.google.android.deskclock --holder=agent-1
OK: open done on phone a
orion-phone ui a --holder=agent-1
[26] Button desc="Add alarm" id=fab clickable center=540,1959
orion-phone tap a 540 1959 --holder=agent-1
OK: tap done on phone a
 
# Agent 2 wants the same phone
orion-phone lease a --holder=agent-2
BUSY: phone a is held by agent-1 until 2026-10-14T18:30:00+00:00
 
# The locked phone does nothing until its owner unlocks it
orion-phone lease c --holder=agent-1
NEEDS_OPERATOR: phone c is locked; its owner must unlock it on its screen

Quickstart

Linux with systemd user services and KVM, or Windows through WSL2. Python 3.11+, Java 17+, and Google’s Android command-line tools; setup downloads the rest.

Install and set upRead and accept the Android SDK License yourself before setup
uv tool install 'orion-phone==0.2.0'
orion-phone init      # the example config: phone a open, phone b locked
orion-phone setup     # SDK packages, phones, systemd user units
orion-phone status a  # exits 0 once the first boot finishes
Connect Claude Code
claude mcp add --scope user orion-phone -- orion-phone-mcp
Or Codex (~/.codex/config.toml)
[mcp_servers.orion-phone]
command = "orion-phone-mcp"
Or drive a phone from a shell
H=--holder=my-agent-session
orion-phone lease a $H
orion-phone ui a $H          # elements with tap centers
orion-phone tap a 540 260 $H
orion-phone release a $H

Command surface

lease
Take a phone for one agent session. A second agent gets BUSY with the holder’s name and expiry instead of stepping on the first.
ui
Read the screen as text: its elements, with the center to tap for each.
shot
Take a screenshot of the phone.
tap · type · swipe · key · open
Act on the phone. Every holder action writes an audit line, and each successful one a screenshot.
release
Give the phone back. A locked phone shuts down when its session is released.
status
Report each phone healthy only with proof: boot completed and a fresh screenshot that is not blank.
init · setup · install-units
Write the example config, then install the SDK packages, the phones and their systemd user units.

Why it is different

A locked tier that waits for unlock

A locked phone cold-boots for each session. The tool permits holder actions only after observing a secure lock screen and then an unlock. It shuts down on release, lease expiry, or the session cap. Use it on a trusted host: these checks govern cooperative tool callers, not local adb or host access, and they do not identify who supplied the credential. Independent verification of credential-encrypted storage remains open as Q2; see the security model.

One agent per phone

An agent leases a phone before it acts. Two agents never drive the same phone at once: the second gets BUSY, with the holder and the expiry, and can wait or take another phone.

A record of everything

Each holder action writes an audit line, and each successful one a screenshot, to a private state directory outside any repository.

Measured, every run listed

In six measured runs with Claude Code on Claude Opus 5.5, reading two facts in Settings cost $0.20 to $0.38 a run, and creating, checking and deleting an alarm in Clock $0.33 to $0.46. The README lists every run and the method.