Runtime
Revyl computers
Give an agent a macOS workspace to build, run and test your apps, watch its session, and run commands in it.
Revyl computers come with Pro. Add a card to unlock them; your 1,200 free minutes still cover their sessions. See Pricing.
A Revyl computer is a macOS workspace where an agent builds, runs and tests your apps during a session. You can watch the session live in your browser and step in when you need to. The agent runs commands and works with files in it from the CLI, and runs your Web and iOS apps inside it as app sessions. Revyl keeps the steps and app session reports, along with available recordings.
Every Revyl computer comes with Xcode and the iOS Simulator, Chrome, and Safari installed, so you can build an iOS app on it or run your iOS or Web app inside it with nothing to set up.
To run a private GitHub Actions build or test job in a single-use Revyl computer, see GitHub Actions on Revyl computers. To prove each pull request on macOS, see Proof on macOS.
Plan requirement
Revyl computers come with Pro, with nothing else to turn on. To move to Pro, an owner or admin adds
a card in Settings > Billing & Usage or runs revyl billing add-card. Adding a card charges a
$5 credit, and Pro has no monthly fee. Your 1,200 free device minutes a month still apply and cover
their sessions. Once your organization is on Pro, Start session offers Computer (macOS), and GitHub
Actions jobs with runs-on: revyl-macos can run in one.
Other paid plans that include Revyl computers keep them. If your plan doesn't show Computer (macOS), contact support@revyl.ai.
Get help. Contact support@revyl.ai or use in-app support.
Start a computer
From the dashboard:
- Open Sessions and click Start session.
- Pick Computer (macOS).
- Click Start session. The computer's page opens while it starts.
The page can open before the desktop is ready. The desktop goes live after its first frame; if a
screen request returns screen_starting (or screen_unavailable with
reason: "screen_starting"), treat it as transient and retry after the Retry-After header.


If you start a Revyl computer from a Web or iOS app's page, Revyl can also start that app as an app session inside the computer once it's running. Computers appear in Sessions as Mac session.
From the CLI:
revyl computer create --os macos --wait --jsonThe response includes the computer's ID, which the other revyl computer commands take.
--wait returns once the computer is running; without it, create returns while it's still
starting.
Starting one needs your organization's compute credits and a free device slot.
Start with a session profile
A session profile can set the computer up before you use it, for
example to sign in or check out your repository. Run it from your app's checkout, whose
.revyl/config.yaml defines the profile:
revyl computer create --os macos --session-profile signed-inThe CLI sends the profile and its script from your checkout, uncommitted changes included, the way
test runs send their files; --from-checkout=false reads them from Git instead, and --branch
picks the Git branch. The profile runs in the workspace itself once the computer is running, and the CLI
waits until it finishes; if it fails, Revyl stops the computer and the CLI prints why.
In a Revyl computer has the details, including
where the checkout lands and which outputs apply.
Watch and control the desktop
While the computer runs, its page shows the desktop live. It's view only until you take control:
- Click the screen. The page shows You're in control.
- Use your mouse and keyboard on the computer.
- Click Release, or click outside the screen, to stop.
Control is shared, as on a live phone session. Anyone in your organization with the Owner, Admin, or
Member role can take control at any time, even while someone else or an agent is using the
computer, and revyl computer actions, API calls, and agents keep acting on the screen while you
control it. The mouse and keyboard follow whoever clicked the screen last: if someone else takes
control, the page tells you, and you click the screen to take it back. Control ends after two
minutes without input. After the computer stops, its page plays the recording of the desktop when
one was saved.


Run commands
Use the computer from the CLI with its ID:
revyl computer exec "$COMPUTER_ID" -- git status
revyl computer exec "$COMPUTER_ID" --stream -- make test | tee test.log
revyl computer exec "$COMPUTER_ID" --cwd app --env CI=1 --timeout 45m -- /bin/zsh -lc 'set -o pipefail; xcodebuild test -scheme App 2>&1 | tail -n 200'
revyl computer files write "$COMPUTER_ID" notes.txt --from notes.txt
revyl computer files read "$COMPUTER_ID" notes.txt > notes.txt
revyl computer upload "$COMPUTER_ID" build.tgz app/build.tgz
revyl computer download "$COMPUTER_ID" app/dist.zip dist.zip
revyl computer process list "$COMPUTER_ID" --json
revyl computer get "$COMPUTER_ID"A computer's Info tab shows Host hardware, the Mac that serves it, such as M4 Pro · 24 GB,
with local model added when that Mac also runs its own vision model and so gives the computer
less memory. revyl computer get shows it as Hardware, and --json as host_sku and
host_local_model.
While it runs, the Connect section of the Info tab has commands for that computer, ready to
copy. exec runs a program with its arguments, not a shell line; for a shell line, run
/bin/zsh -lc '…' as above. --cwd sets the working directory and --env NAME=VALUE (or
--env NAME, which copies a local variable without printing it) sets environment variables.
A command can run for up to an hour. If the CLI disconnects, the command keeps running: read it
later with revyl computer operation get, see it in revyl computer process list, and stop it with
revyl computer process terminate. While it runs, file reads and stats still work, so you can
follow a log it writes. Up to 8 execs run at the same time on one computer; a ninth waits until
one ends, and on a host that predates concurrent execs each exec waits for the one before it. A
file write waits until no exec is running; upload and download run beside a running command.
That wait counts toward --timeout: a command whose timeout passes while it waits never starts,
exits 124 with "Command never started", and its JSON result carries "queued": true, so retrying
it is safe. Run long
work as one command rather than relying on & or nohup processes to outlive it.
In a terminal, exec streams: the command's output prints as it runs, then its outcome and exit
code. --stream streams into a pipe too, --no-stream prints the output once the command ends,
and --stream --json prints each stream event as a JSON line. A streamed exec takes up to
1 MiB of --stdin and streams up to 64 MiB of output. Streamed output isn't stored:
reading the operation later returns its outcome and exit code with empty stdout and stderr.
See the command reference for the commands, limits, and exit codes.
Operation API
Exec, file and process operations share
POST /api/v1/computer-runs/{computer_session_id}/operations. The body contains
computer_session_id, a unique request_id, and a command object. Authentication
and same-organization access are required.
Command text uses padded URL-safe base64 so ordinary shell syntax is not treated
as an injection attempt by the network edge. Each argv_b64 entry encodes one
UTF-8 argument; path_b64 encodes a UTF-8 workspace-relative path; the optional
cwd_b64 encodes the working directory and env_b64 maps each variable name to
its encoded value. For example,
the command object for /bin/cat state/x.json is:
{
"kind": "exec",
"argv_b64": ["L2Jpbi9jYXQ=", "c3RhdGUveC5qc29u"]
}File read, write and stat use path_b64. File-write data and exec stdin
are base64 bytes. Standard base64 is also accepted. The server validates the
decoded values against the same limits below. Process list, inspect and terminate
use their existing limit or run-owned handle fields and contain no command text.
Exec's timeout_ms accepts up to 3,600,000. Send Prefer: respond-async so a
long command answers 202 and is read later at
GET /api/v1/computer-runs/{computer_session_id}/operations/{operation_id}. A computer whose
host hasn't been updated for working directories, environment variables or timeouts over five
minutes refuses those with exec_options_unsupported (HTTP 409) and runs nothing.
To stream an exec's output, send
POST /api/v1/computer-runs/{computer_session_id}/operations/stream with
computer_session_id, request_id, the same exec command object, and optional base64 stdin
of up to 1 MiB (leave the command's own stdin empty). It answers application/x-ndjson, one
JSON event per line: {"type":"output","stream":"stdout","data":"…"} (or stderr),
{"type":"heartbeat"} while the command is quiet, then one final
{"type":"result","response":{…},"output_truncated":false} or {"type":"error","detail":"…"}.
The result's stdout and stderr are empty; output is delivered only on the stream. Leaving the
stream doesn't stop the command; read its outcome by operation ID. A computer that can't stream
yet refuses with exec_stream_unsupported (HTTP 409) and runs nothing.
Plain argv and path fields are rejected with HTTP 422 and a client-upgrade
message. Use an updated CLI or SDK; there is no plaintext fallback. An HTTP 403
with text/html, a nonempty cf-ray header, and a body that is not valid JSON
is reported as an edge block, not a reason to sign in again.
Encoding is not encryption and does not replace authentication or authorization.
Command user and home directory
Commands run as the computer account, not root. Each exec starts in
/Users/computer/workspace with HOME set to that directory. Relative file paths
start there too, so the example above writes /Users/computer/workspace/notes.txt.
The workspace's Library/Keychains is a link to the account's login keychains,
so an app started from exec, such as Chrome, finds its keychain instead of
asking for one.
While computer is logged in to the desktop, which it is unless you turn
automatic login off, a computer started from a current image runs each exec
command inside that desktop session. Screen & System Audio Recording,
Accessibility, and Automation of System Events, Finder, TextEdit, Safari,
Terminal and Chrome for Testing are already allowed for those commands, so
screencapture, screenshot tools, AppleScript UI scripting through System
Events and accessibility automation run without a permission prompt:
revyl computer exec "$COMPUTER_ID" -- screencapture -x /Users/computer/workspace/screen.pngDYLD_* variables you pass with --env don't reach a command in the desktop
session. A computer from an older image, including a persistent computer whose
disk was saved before this change, runs exec commands outside the desktop
session: they can't capture the screen or drive the UI, and command-line tools
such as security don't see the login keychain. To run one in the desktop
session there, wrap it in a shell like this:
revyl computer exec "$COMPUTER_ID" -- /bin/zsh -lc \
'sudo -n launchctl asuser "$(id -u computer)" sudo -n -u computer -H security list-keychains'This relies on passwordless sudo; on a computer without it, sudo -n stops at
once with "a password is required".
PATH ends with Homebrew's /opt/homebrew/bin and
/opt/homebrew/sbin, and computer owns /opt/homebrew, so
revyl computer exec "$COMPUTER_ID" -- brew install hello works without sudo.
A Terminal opened on the desktop uses the same account but has the login home
/Users/computer; it does not inherit an exec process's environment or working
directory. Run cd /Users/computer/workspace in Terminal to use the same files.
If a tool stores its configuration under $HOME, run it with
HOME=/Users/computer/workspace there to use the exec workspace's configuration.
Changing directory alone does not change HOME, and changes made in one exec
do not persist into the next.
macOS loads a LaunchAgent at login only from the account's
/Users/computer/Library/LaunchAgents. One written from exec to
$HOME/Library/LaunchAgents lands in the workspace and never loads, so write
the plist to the account path and load it with
launchctl bootstrap gui/$(id -u) /Users/computer/Library/LaunchAgents/<name>.plist.
The CLI warns when an exec names Library/LaunchAgents anywhere else.
Administrator access
On macOS the computer account is an administrator, and its password is revyl.
When macOS asks for an administrator's name and password, for example to turn on Screen &
System Audio Recording, Accessibility, Camera or Microphone for your app in System Settings,
or to install a package, enter computer and revyl.
Commands can use sudo without a password:
revyl computer exec "$COMPUTER_ID" -- sudo installer -pkg MyApp.pkg -target /If sudo says a password is required, pass revyl on standard input with sudo -S, since an
exec has no terminal:
printf 'revyl\n' | revyl computer exec "$COMPUTER_ID" --stdin - -- sudo -S installer -pkg MyApp.pkg -target /Root inside the computer doesn't change its network limits, which the host enforces outside the VM. Root can stop Revyl's agent in the computer, and that ends the computer's screen stream and recording.
Every computer starts from a fresh copy of the image and is deleted when it stops, so nothing you change as an administrator carries over to another computer, unless it's a persistent computer, which keeps its disk.
Safari WebDriver
On macOS, Safari's WebDriver is on for the computer account: safaridriver runs in the
computer's desktop session and listens on port 4444 of the computer's loopback only (127.0.0.1
and ::1). A WebDriver client running in the computer, for example one started with exec,
opens Safari at http://127.0.0.1:4444 with no setup. The port has no authentication, so any
process in the computer can drive Safari as computer through it.
Run an app inside the computer
Revyl computers can host Web and iOS apps.
In the computer's Activity tab, under App sessions, click Start app session and pick an app and a build:
- A Web app runs in a browser on the computer from a registered deployment URL build, not a managed Web bundle. It runs in Chrome unless you pick Safari, which a Revyl computer offers once its image supports it.
- An iOS app, from one of the app's simulator builds, runs as an app session inside the computer, with its own session page, live stream, and video.
Start app session offers the platforms this computer can run. Hosted Web app sessions don't need separate Web enablement for your organization.
From the CLI, pass the computer's ID:
revyl device start --platform ios --app "$APP_ID" --computer "$COMPUTER_ID" --json
revyl device start --platform web --app "$WEB_APP_ID" --computer "$COMPUTER_ID" --json
revyl device start --platform web --app "$WEB_APP_ID" --computer "$COMPUTER_ID" --browser safari --json
revyl computer hosting "$COMPUTER_ID" # platforms and browsers it can host now
revyl computer sessions "$COMPUTER_ID" # app sessions inside itFor a mobile start, the JSON output's computer_session_id names the computer the app session runs
inside, or is null for a standalone device.
Test-backed starts aren't available inside a computer. An iOS app accepts non-secret launch
variables, arguments and environment when the computer's host can deliver them, and an explicit
--computer start then runs the project's before-session script and auth bypass as a standalone
start does; secret launch variables are refused, and Android apps launch with their defaults. App sessions
inside a computer run no session profile; run one on the computer itself instead. For hosted iOS starts, --device-model "iPhone Air" runs an iPhone Air when
the computer's image supports it; otherwise the backend refuses the start. Each app session has its own session ID, live stream, actions,
and report, and you stop it with revyl device stop. Stopping an app session
leaves the computer running; stopping the computer ends its app sessions. An app session's report
shows only the actions Revyl took, and commands you run on the computer can change the app too.
Coding agents on a computer
Every Revyl computer carries a guide for coding agents at /opt/revyl/computer-guide.md. It's
written from what that computer's image can host: the iPhone models and iOS version its app
sessions run, the browser, and how many of each run at once. xcrun simctl list also shows
simulators that app sessions can't use, so agents should go by the guide. The guide also covers
starting a phone or browser, installing a simulator build made on the computer, opening a local dev
server, and cost.
The same guide is where each agent looks for instructions:
| Agent | File |
|---|---|
| Claude Code | /Library/Application Support/ClaudeCode/CLAUDE.md |
| Codex | ~/.codex/AGENTS.md |
| Devin | ~/.config/devin/AGENTS.md |
| Cursor and other agents | /Users/computer/workspace/AGENTS.md and the ~/.agents/skills/revyl-computer skill |
Agent Outposts add the same guide to the instructions they give Cursor and Devin.
The commands below run on the computer. With REVYL_COMPUTER_ID set to the computer's ID,
revyl device start starts the app session inside it, as --computer does.
To run an app built on the computer, upload the simulator .app and start an app session with
that build:
revyl build upload --file path/to/MyApp.app --platform ios --app "$APP_ID" --json
revyl device start --platform ios --app "$APP_ID" --build-version-id "$BUILD_ID" --jsonrevyl dev on the computer also runs its iOS device inside it. The simulator shares the
computer's network, so the app loads its bundle from Metro or Expo at http://127.0.0.1:<port>
with no relay or public tunnel. --computer=none keeps a standalone cloud device:
revyl dev --platform ios --no-build--url refuses localhost and private addresses. To test a dev server running on the computer,
start a Web app session on any public page, then navigate it there; the browser runs on the
computer, so localhost is the computer:
revyl device start --platform web --app "$WEB_APP_ID" --url https://example.com --json
revyl device navigate http://localhost:3000To keep an agent's checkout, installs and build cache between sessions, give it a persistent computer.
Local inference
Local inference is included in paid plans. On the Free plan, creating a computer with inference
is refused with inference_not_enabled and nothing is created; upgrade your plan to use it.
A Revyl computer created with local inference runs on a host that has its own vision model. Its
plain-language steps can then be answered by that model, next to the computer, instead of only by
Revyl's hosted grounding. Code inside the computer can prompt the same model through an
OpenAI-compatible endpoint that revyl computer inference opens; the computer's own steps always
go first.
id=$(revyl computer create --os macos --inference --wait --json | jq -r .computer_session_id)
revyl computer get "$id" # Inference: ready
revyl computer instruction "$id" "Open the File menu" # click what it names
revyl computer validation "$id" "The cart shows 2 items" # check a statement
revyl computer extract "$id" "the order number" # read a value
revyl computer click "$id" --target "the Save button"-
Steps.
instructionclicks the one thing it names,validationchecks a statement against the screen, andextractreads a value off it. Each answerspassed,failedoruncertain; an answer the model can't confirm isuncertain, never a pass, and an uncertain instruction clicks nothing.--enginepicks who answers:auto(the default) tries the computer's model first and falls back to hosted grounding where there is one,localuses only the model, andhosteduses only hosted grounding. Only instructions have hosted grounding today, sovalidationandextractneed the computer's model. -
click --targetfinds a described element and clicks it. It tries the computer's model first and then hosted grounding, so it also works on a computer without a model. -
App sessions inside the computer. Start an iOS or Web app session with
--inference localand its validations, and instructions that are a single tap on one thing, are answered by the computer's model first, with Revyl's hosted model as the fallback:revyl device start --platform ios --app "$APP_ID" --computer "$id" --inference local --json -
Agents. The hosted MCP's
device_instructionanddevice_validationtools run these steps when given the computer's session.
revyl computer get shows Inference: ready when the computer's inference endpoint would serve
it now, unavailable when it wouldn't (the model doesn't answer or the host serves the computer no
endpoint) or when your organization is no longer on a paid plan, and unknown while the
computer is starting. A persistent computer
created with --inference gets a Mac with a model on every later start too, and a start is
refused with inference_unavailable when none is up; revyl computer start --no-inference then
starts that one run without a model, and later starts ask for it again. A computer created from a snapshot doesn't
take the source computer's setting; add --inference when you create it.
Limits. Local inference is macOS only. A computer's model answers one step at a time, shared with the app sessions inside it, so send one computer's steps one at a time: a validation or extract waits up to 13 seconds for its turn and an instruction up to 5 before it gives up or falls back to hosted grounding. A step description is up to 2,000 characters.
Refusals. inference_not_enabled (403) means your organization isn't on a paid plan.
inference_unavailable (409) means no host with a model is up right now; nothing is created or
started, so retry later, create without --inference, or start a persistent computer with
--no-inference for one run without the model. step_engine_unavailable (409) means a step needed
the model and it wasn't available; check Inference. step_engine_busy (409) means the model was
answering another step for too long; retry one step at a time.
computer_local_inference_unavailable (409) means an app session asked for --inference local
in a computer without a model.
Both refusals name Enterprise, which gets dedicated local inference capacity, with a link to talk to us.
The CLI's local inference guide walks through it end to end, and its computer runs guide has every flag, result field and refusal.
Reports and evidence
A computer's page keeps:
- Activity: each command, file read, write, or stat, and process action, with its outcome, and the computer's app sessions. Once a recording is available, click a recorded step to jump to that moment.
- The recording of the desktop, when one was saved, after the computer stops.
- Info: when the computer was created and when it expires, its ID, and the Connect commands.
Commands show as a shell-quoted program and arguments (up to 200 characters), with the credentials Revyl recognizes
replaced by <redacted>, so pass secrets in a file or on stdin rather than as arguments. Command
output and stdin aren't included in steps or reports. From the CLI, revyl computer get lists
the same steps, and revyl computer report "$COMPUTER_ID" --format json returns a summary without the commands.
To show a computer to someone outside your organization, click Share (Owners, Admins, and Members), enable Share to web, and copy the public link. Anyone with that link can watch the desktop live, view only, while the computer runs, and any saved recording after it stops, plus its details, its steps without command text, and its app sessions.
Proof of changes on macOS
Proof of changes can prove each pull request in a Revyl computer. Revyl starts the computer, checks out the pull request, runs a session profile that starts what the change needs, and the agent tests it in the macOS workspace: your web app's local dev stack in Safari, a native or Electron app, a command-line tool, or an iOS Simulator build. The computer bills and takes a device slot like any other, and Revyl stops it when the proof finishes. Proof on macOS covers the setup, with examples you can copy.
Stop a computer
Click Stop above the desktop and confirm Stop session. Its app sessions stop too, and its steps and reports are kept. From the CLI:
revyl computer stop "$COMPUTER_ID" --jsonKeep a computer's disk
An ordinary computer is deleted when it stops. A persistent computer keeps its whole disk, so it starts again later under the same ID with your repositories, installs, simulators and settings in place. A snapshot names a stopped persistent computer's saved disk, and new persistent computers start from it. Persistent computers come with paid plans and are macOS only.
id=$(revyl computer create --persistent --os macos --wait --json \
| jq -r .computer_session_id)
revyl computer stop "$id" --wait # saves the disk
revyl computer start "$id" --wait # same ID, cold boot from that diskPersistent computers covers when to use one, the lifecycle, snapshots, coding agents, CI and troubleshooting.
Pricing
You pay for the agent's session, and the macOS workspace is included in it. AI usage and session time draw from the same monthly allowance: your free device minutes cover these sessions too, and after them a session bills at the agent workspace session rate on revyl.com/pricing. App sessions hosted inside the computer add no compute charge; only the computer's session bills. Local inference has no meter of its own; it's included in the session.
A persistent computer bills session time only while a run is running. What it keeps between runs bills as storage.
Storage pricing
Saved disks and snapshots of persistent computers bill at $0.04 per GB-month, with no free allowance. They're one line, Computer storage, charged to the same credit as session time. A GB is 1,000,000,000 bytes.
- What counts. Each persistent computer's current saved disk, plus the saves your snapshots keep. Each stored chunk counts once, even when several saves or snapshots share it. Revyl's base images, the sealed images every computer starts from, never count; a computer stores only the blocks it changed from its base image.
- Snapshots. A snapshot copies nothing: it keeps one save of its computer. A snapshot of the computer's current save adds nothing, and a snapshot of an older save adds the blocks that differ.
- How it's measured. Revyl measures what you store once a day, in UTC. Each day adds that day's GB divided by the number of days in the month, so a month bills your average stored GB.
- Where to see it. Settings > Billing & Usage shows Computer storage beside computer minutes.
- How to reduce it. Delete snapshots and persistent computers you no longer need; they stop
counting from the next daily measurement. A snapshot of a deleted computer keeps that one save
until you delete the snapshot. Expired saves, past the end
revyl computer list --persistentshows under SAVE EXPIRES, stop counting too.
Limits
- A computer runs for two hours from creation by default. The CLI and API can ask for up to 72 hours at create, and extend a running computer up to 72 hours from creation. Its Info tab shows its exact expiry. An app session hosted on a computer runs at most 24 hours from its own start.
- A computer takes one device slot from the same limit your iOS sessions use, however long it runs. Hosted app sessions take no additional slots.
exec,files, andprocesscommands time out after 30 seconds by default. Use--timeoutfor up to an hour onexecand five minutes on the others, bounded by the computer's remaining lifetime.execaccepts at most 64 arguments, 64 environment variables and 16,384 bytes of UTF-8 arguments, stdin, working directory and environment together; a streamed exec takes up to 1 MiB of stdin on top. It keeps the first 1 MiB of combined stdout and stderr, or streams up to 64 MiB; later output is dropped, and a kept result that lost output says so withoutput_truncated.- Up to 8 execs run at the same time on one computer.
- File reads accept at most 1 MiB; file writes accept at most 64 KiB.
revyl computer uploadandrevyl computer downloadmove files of up to 1 GiB, withupload --appendto add to a file. - Viewers can watch the desktop and read reports, but can't start, control, run commands on, or stop a computer.