---
title: "Phone Harness integration for LuumenAI"
url: "https://www.luumen.ai/integrations/phone-harness/"
entity: SoftwareIntegration
category: "Source control & CI/CD"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Phone Harness integration for LuumenAI

Cloud Android sessions, ADB access, and session lifecycle from the terminal

## What LuumenAI can do with Phone Harness

LuumenAI connects to Phone Harness with an API token and exposes 21 tools (10 read-only · 5 write · 6 destructive). For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

## Key facts

- Authentication: API token
- Tools available: 21 tools (10 read-only · 5 write · 6 destructive)
- Deployment: scoped as part of your Pilot, Platform, or Managed rollout
- Category: Source control & CI/CD

## About Phone Harness with LuumenAI

Connect Phone Harness and Luumen can see your account's active-session capacity, every running session's lifecycle state and deadline, recent finished-session history, and current ADB state. When you need a device, it starts the session, enables ADB, or ends a stale one — each change previewed and approved before it runs. Authentication is by API key.

## Example tools

Read-only (10 in total):

- `PHONE_HARNESS_GET_ACCOUNT` — Get the connected account's identity, balance, Android profile choices, active-session capacity, and whether a new session can be started.
- `PHONE_HARNESS_GET_ADB` — Get the current ADB state for an Android session.
- `PHONE_HARNESS_GET_HEALTH` — Check public Phone Harness API-process liveness only.
- `PHONE_HARNESS_GET_RECENT_HISTORY` — Return up to 100 finished sessions ordered by creation time descending.
- `PHONE_HARNESS_GET_SESSION` — Get one session's current lifecycle state, deadline, screen geometry, and ADB details.
- `PHONE_HARNESS_GET_SNAPSHOT` — Download the latest still image from a ready Phone Harness session as a file.
- `PHONE_HARNESS_LIST_API_KEYS` — List metadata for the connected account's API keys, including hashes, labels, hints, creation times, and revocation times.
- `PHONE_HARNESS_LIST_HISTORY` — Return one cursor-paginated page of finished-session history in newest-first order, with a next cursor for complete traversal.

Write and destructive (11 in total, subject to configured approval policy):

- `PHONE_HARNESS_CREATE_API_KEY` — Create an account-wide API bearer key that can manage API keys.
- `PHONE_HARNESS_CREATE_SESSION` — Start a temporary or saved Android emulator session and return its admitted session data plus the internally generated idempotency key.
- `PHONE_HARNESS_ENABLE_ADB` — Enable or re-enable ADB access for a ready Android session and return its current connection endpoint and sensitive unlock code.
- `PHONE_HARNESS_END_SESSION` — Request that a Phone Harness session end and billing closure be recorded.
- `PHONE_HARNESS_GET_OWNER_VIEWER` — Create a secret, short-lived capability for interactive owner control of a ready session.
- `PHONE_HARNESS_GET_VIEWER` — Create a short-lived view-only link for an intended person to watch a live session.
- `PHONE_HARNESS_RESET_ADB_CODE` — Rotate the ADB unlock code for an Android session, invalidate the previous code, and close all existing ADB connections.
- `PHONE_HARNESS_RESET_DEVICE` — Irreversibly erase and reprovision an assigned iPhone, deleting its apps, accounts, and data.

## Frequently asked questions

### How does LuumenAI connect to Phone Harness?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Phone Harness on its own?

For connected tools, admins configure which actions may run automatically and which require approval, within the access granted to the user.

### Is there an audit trail?

Every call to Phone Harness — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/phone-harness/
