Python SDK for the use.computer macOS and iOS Computer Use API
Project description
use-computer Python SDK
Python client for use.computer — rent dedicated Mac minis with macOS and iOS sandboxes built for computer-use agents.
pip install use-computer
export USE_COMPUTER_API_KEY=mk_live_...
from use_computer import Computer
with Computer().create() as mac:
mac.exec_ssh("open -a TextEdit")
mac.keyboard.type("hello")
png = mac.screenshot.take_full_screen()
Full DSL reference (macOS + iOS): docs.use.computer/docs/sdk
Examples
| File | What it shows |
|---|---|
examples/_1_hello_macos.py |
create → exec → keyboard → screenshot |
examples/_2_hello_ios.py |
create iOS → open URL → screenshot |
examples/_3_recording.py |
start / stop / download a screen recording |
examples/_4_file_transfer.py |
upload bytes, download a file back |
examples/_5_keepalive.py |
heartbeat for sessions idle > 2 min |
For agent loops and evals: use-computer-cookbook.
HTTP API
Every SDK method wraps https://api.use.computer/v1/... with Authorization: Bearer mk_live_.... Swagger: api.use.computer/docs. OpenAPI spec: api.use.computer/openapi.yaml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file use_computer-0.0.7.tar.gz.
File metadata
- Download URL: use_computer-0.0.7.tar.gz
- Upload date:
- Size: 70.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e7c70b1099bab2a2bd20b943e2decb69716b3889a2d3fc94ffdfe75e9b69712
|
|
| MD5 |
d5a9d524c7366c3e4476729426c5db2f
|
|
| BLAKE2b-256 |
9ea7b5191ea7005d53a5a485dfaf885656e0a5d1819b665de8d160a35c8fa084
|
File details
Details for the file use_computer-0.0.7-py3-none-any.whl.
File metadata
- Download URL: use_computer-0.0.7-py3-none-any.whl
- Upload date:
- Size: 33.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8cdae1d4d8a2ec08347b41b66bbab096b79609fb685dd5ebda5acfc589725f9
|
|
| MD5 |
c64b6f2200bec1b91b69271a79a811a0
|
|
| BLAKE2b-256 |
911e2e69e6b1f377458bfc280fb1ba435fadbdb48fe28824747cc3d65652b88c
|