Listed from the MCP registry; nobody on Odel publishes it.
Android emulator phones for AI agents: leases, a locked tier, and an audit trail.
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx orion-phone
MCP client config
{
"mcpServers": {
"orion-phone": {
"command": "uvx",
"args": [
"orion-phone"
]
}
}
}Part of Cosmocrat OS.
Give your agent its own phone.
orion-phone runs Android phones (emulators) that AI agents drive through an MCP server or a CLI: Claude Code, Codex, or any MCP client. An agent leases a phone, reads its screen, taps, types and opens apps, and every action leaves an audit record with a screenshot. A phone in the locked tier does nothing until you unlock it yourself.
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 gives agents phones of their own, signed in to the accounts you choose, with three rules built in:
BUSY
with the holder's name and expiry instead of stepping on the first.locked tier never starts on its own and
cold-boots for every session. It permits holder actions only after an unlock, and it uses a
boot only after it has seen the lock screen showing over a screen lock and then found the phone
unlocked. It shuts down when the session is released, when its lease lapses, and at a hard
session cap. orion-phone does not handle the credential or attest who supplied it. Use it on
a trusted host: local adb and host access remain outside this cooperative tool boundary.
Independent verification of credential-encrypted storage remains open as Q2 in the spec.~/Android/Sdk/cmdline-tools/latest/bin/sdkmanager exists (~/Android/Sdk is the default
sdk_root in the config)system_image in the config; the default is
one, and setup downloads it). orion-phone refuses a config that has a locked phone on any other
tag, and refuses to use a locked phone whose booted image does not report file-based encryption
(ro.crypto.type is file) and a build that is not debuggable (ro.debuggable is 0)uv tool install orion-phone # or: pipx install orion-phone; from a checkout: uv tool install .
orion-phone init # writes ~/.config/orion-phone/config.toml: phone a open, phone b locked
# Before setup, read and accept the Android SDK License yourself: https://developer.android.com/studio/terms
# (current SDK tools show the terms once and never ask again; orion-phone cannot check acceptance)
orion-phone setup # SDK packages, phones, systemd user units; starts open phones
orion-phone status a # exits 0 once the first boot finishes
Edit the config between init and setup to add, remove or rename phones. Run setup from a
desktop shell so the phone windows appear, and sign in to accounts by hand on each phone; to see a
phone over Remote Desktop or WSL2, mirror it with scrcpy (see "Viewing a phone" in
docs/runbooks/phone-services.md). A locked phone has no window
until it is leased: follow "First boot of a locked phone" in the same runbook, which sets its
screen-lock PIN before anything else.
Phone data (each phone's disk images and snapshots) lives in the AVD home, found the way the
Android tools find it: ANDROID_AVD_HOME, else the avd directory inside ANDROID_USER_HOME,
else ~/.android/avd. Choose it before setup, as an absolute path outside any git repository:
orion-phone refuses a home inside a repository. Besides one unit per phone, setup writes
orion-phone-adb-server.service, which runs the debug bridge's server on loopback port 5037; the
runbook explains why it runs its own and how to upgrade from a version without it.
The MCP server is the orion-phone-mcp command, over stdio. Each server process is one lease
holder, and its tools mirror the CLI.
claude mcp add --scope user orion-phone -- orion-phone-mcp # Claude Code
# Codex: ~/.codex/config.toml
[mcp_servers.orion-phone]
command = "orion-phone-mcp"
{"mcpServers": {"orion-phone": {"command": "orion-phone-mcp"}}}
Do not launch the server as python -m orion_phone.mcp_server from inside a project directory,
because a package named orion_phone there would shadow this one; the orion-phone-mcp command
is unaffected.
The repository is also a Gemini CLI extension (gemini-extension.json). It starts the pinned
PyPI release with uvx --from orion-phone==0.2.0 orion-phone-mcp, so it needs
uv on PATH, and the phones still come from orion-phone init and
orion-phone setup above.
git clone https://github.com/OrionArchitekton/orion-phone-oss
gemini extensions install ./orion-phone-oss
Installing straight from the GitHub URL needs a GitHub release that contains
gemini-extension.json to be marked Latest; the current Latest release (v0.2.0) predates it.
Until then, --ref main makes Gemini CLI clone the repository instead, which Gemini CLI 0.71.1
and earlier fail to do
(google-gemini/gemini-cli#30416), so
install from a checkout as above. The first start downloads the package, so gemini mcp list can
report the server disconnected until that download finishes. The extension adds a short
GEMINI.md with the lease rules for the model.
orion-phone is described for the Official MCP Registry
as io.github.OrionArchitekton/orion-phone in server.json: the PyPI package
orion-phone, launched over stdio as uvx --from orion-phone==0.2.0 orion-phone-mcp. The
mcp-name comment at the top of this README is how the registry checks that the PyPI package
belongs to this name.
H=--holder=my-agent-session # one name per agent session; never shared
orion-phone lease a $H
orion-phone ui a $H # elements with tap centers
orion-phone tap a 540 260 $H
orion-phone type a $H -- "hello world"
orion-phone key a BACK $H
orion-phone open a https://example.com $H
orion-phone shot a $H
orion-phone release a $H
Add --json before the command for one machine-readable object per call. A holder name
identifies one agent session: never put ORION_PHONE_HOLDER in a harness's global
environment, or every session becomes the same holder.
| Exit | Code | Meaning |
|---|---|---|
| 0 | OK | Done. |
| 1 | INTERNAL | An unexpected error inside orion-phone (traceback on stderr). |
| 2 | USAGE | Bad arguments or config. |
| 3 | BUSY | Another agent holds the phone. |
| 4 | NOT_HOLDER | You do not hold the lease (never held, released, or expired); on a locked phone, also when its session ended: lease again. |
| 5 | NEEDS_OPERATOR | A locked phone is starting, still booting, has no screen lock, has a boot that cannot be used (found unlocked without ever being seen at its lock screen, or seen with no screen lock and given one since), is showing its lock screen, or has a lock state or screen lock that cannot be read. The result's state says which: locked asks for the unlock and no-screen-lock for a PIN to be set, both on the phone's own screen (starting and booting mean lease again shortly, and do not unlock yet, restart-needed means lease again, which restarts the phone, and unknown, a lock state or screen lock that cannot be read, also means lease again). |
| 6 | PHONE_DOWN | The phone is not running. |
| 7 | UNHEALTHY | Running, but failed the health proof (not booted, or a blank screen). |
For a local development or release-check environment, bootstrap the packaging tools separately from runtime dependencies:
python3.11 -m venv .venv
.venv/bin/python -m pip install --require-hashes --force-reinstall -r bootstrap-requirements.txt
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m pytest -q
This changes only the selected virtual environment. Release preparation and exact-artifact
approval are described in docs/runbooks/release-artifacts.md.
Six runs on 2026-10-07, three per task, each a fresh headless Claude Code session (claude -p)
on Claude Opus 5.5, driving one open-tier phone through the MCP tools. Every run is listed.
| Task | Succeeded | Cost per run | Phone tool calls per run |
|---|---|---|---|
| Read the Android version and the storage used, in Settings | 3 of 3 | $0.38, $0.36, $0.20 | 19, 22, 10 |
| Create a labeled 6:45 AM alarm in Clock, see it listed, delete it, see it gone | 3 of 3 | $0.46, $0.33, $0.33 | 37, 22, 21 |
ui failed there in two runs (it waits
for the screen to settle), about 25 seconds per failed call, and the agent read it with shot.Leases coordinate agents; they are not a sandbox. Everything a phone shows is untrusted input to an agent, and an agent that holds an open phone can do there whatever its accounts allow. Read SECURITY.md before signing a phone in to accounts that matter.
orion-phone runs Android emulators on Linux and WSL2 today. Planned, and open to contributors:
type accepts printable ASCII only, and a literal %s becomes a space (Android's
input text behavior).ui lists at most 300 elements and stops adding them at 32,000 characters; a final
# truncated ... line says when it cut the list short.ui can fail on a screen that changes every second, such as one showing a running clock or
an uptime counter: the dump waits for the screen to settle. shot works there.clipboardSharing=false in
~/.config/Android Open Source Project/Emulator.conf.DISPLAY;
Wayland desktops provide one through XWayland), and orion-phone refuses to start a locked phone
without one.MIT