Session recording and replay
Phone archive. This guide describes the former Android phone service. For the current product, see the sandbox docs.
Keep a timeline of what an agent did on one phone, with a screenshot after each action, and step through it later.
Before you turn it on
- It is off until the operator of the service turns it on. Until then every recording call answers “recordings are not enabled” and nothing is recorded. When it is on, you still turn it on for each phone, and you can turn it off again.
- Recordings are not encrypted under your own key yet. They are files on the host that runs the gateway, readable only by the gateway’s user. The design aims for keys you control. That is not built.
- A screenshot shows everything that is on the screen at that moment.
- Recordings are deleted after 7 days by default, or when you delete them.
Turn it on
# When you make the phone:
curl -X POST "https://helicopter.dev/v1/phones" \
-H "Authorization: Bearer $PHONECLOUD_API_KEY" \
-H "Content-Type: application/json" -d '{"record":true}'
# For a phone you already have ("stop" ends it):
curl -X POST "https://helicopter.dev/v1/phones/$PHONE_ID/recording" \
-H "Authorization: Bearer $PHONECLOUD_API_KEY" \
-H "Content-Type: application/json" -d '{"action":"start"}'
The MCP tool create_phone takes record: true.
What a step holds
Each act or act_element call on a recorded
phone adds one step: the time, the action, how long it took, whether it
worked, and usually the screenshot taken a moment after it.
| Action | Stored |
|---|---|
| Tap, swipe | The pixels. The replay marks where the tap landed. |
| Element action | The element number and the action. |
| Key | The name of navigation keys (BACK, ENTER, HOME). Any other key is stored as redacted, because keys can spell a password. |
| Launch, intent | The app, the intent’s action and target, and only the scheme and host of its data. Never the rest of an address and never extras. |
| Typed text | The text, unless you mark it sensitive. Then only “[redacted]”, with no screenshot. |
Not recorded: the screen text and UI tree the phone returns, replies, headers and keys. There is no video.
Mark secrets as sensitive
Add "sensitive": true to a typed-text action (or pass
sensitive to the MCP tools type_text and
type_into). The text and its length are not stored anywhere in the recording or the log, and the step gets no screenshot, nor does the next step within 2 seconds. Input that is not known to come from an agent, such as a person at a live view, is always treated as sensitive. Redaction covers the stored text and those screenshots, not other pixels: an app that shows a secret shows it in the screenshots taken then.
Screenshots
A screenshot is taken a short wait after each successful action, through the ordinary screenshot path, and given up on after 3 seconds by default. That adds time to every action on a recorded phone, at most the wait plus those 3 seconds. We have not measured the usual time. An app that protects its screen from capture gives no screenshot, and the step says so.
Limits and deletion
Defaults: 100 MiB and 1,000 steps for one recording, 1 GiB and 100 recordings for an account, 7 days of keeping after the last step. A recording that reaches a limit stops itself and your agent’s actions carry on. A new recording is refused when the account is nearly full. Delete one to make room. We never delete one early for another.
Read it back
GET /v1/recordings, GET /v1/recordings/{id},
GET /v1/recordings/{id}/frames/{n} and
DELETE /v1/recordings/{id}. The MCP tool
get_recording_summary returned a recording as text. The
former phone dashboard showed replays under Recordings.
Full details: the recording page of the repository’s documentation
(docs/recording.md).