clousd
Python client for CLOUSD: cloud Android phones modelled on real devices, for scripts and AI agents. Look at the screen, act on it, reset the phone to a saved state between runs, clone as many copies as the job needs.
Early access: ask for a key at clousd.com/agents.
pip install "git+https://github.com/Clousd-Android/clousd-sdk#subdirectory=python"
export CLOUSD_API_KEY=cl_live_...
One run
from clousd import Clousd
c = Clousd() # key from CLOUSD_API_KEY
phone = c.device("dev_04f2")
snap = next(s for s in phone.snapshots() if s["restorable"])
phone.restore(snap["id"]) # reset: every run starts from the same state
png = phone.screenshot(width=540) # look (JPEG when width is given, PNG otherwise)
print(phone.screen_text()) # every text on the screen
phone.open_app("com.android.chrome") # act
phone.tap_text("Search")
phone.type("weather in Berlin")
phone.key("enter")
phone.wait_text("Berlin", timeout=30) # check
What a device can do
| Look | Act | State |
|---|---|---|
screenshot(width=None) |
tap(x, y), swipe(x, y, x2, y2, ms), scroll("down") |
snapshots() |
screen_text() |
type(text), key("back") |
save_snapshot() |
find_text(text) |
open_app(pkg), close_app(pkg), open_url(url) |
restore(id) |
size() |
tap_text(text), wait_text(text, timeout) |
clone(id, name) |
installed(), logs() |
start(), stop(), restart() |
c.job(id).wait() |
Coordinates are device pixels (size() gives the screen). Long operations return a Job; they wait by default,
pass wait=False to poll yourself. Errors raise ClousdError with the HTTP status, a short code and a message.
The API allows 60 requests a minute per key; the client waits and retries on 429.
For checks from inside the phone (app databases, files, dumpsys) open an ADB session to the device from the
dashboard or POST /v1/devices/{name}/adb.
Plug a phone into an AI agent
clousd-mcp exposes the same operations as MCP tools for any MCP-capable agent.
MIT license.
Metadata
Release files for clousd 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clousd-0.1.0.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clousd-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / clousd-0.1.0.tar.gz
| Download URL | clousd-0.1.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1b8e83dcac39fb44731aeb637e219dbcad5e1a4828aca8bc65a6e675aca844d
|
|
BLAKE2b-256 checksum How to use checksums |
5e3d9d39db1a3a3db43c3240ae45e5e9a28d3d81bd710a30b7dbcc77f837e8a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / clousd-0.1.0-py3-none-any.whl
| Download URL | clousd-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8f9834b257b0a98b348a7cdea1faa73304b257c3307c05b4dd7a4ec0f51319b
|
|
BLAKE2b-256 checksum How to use checksums |
c8cae4701ff4b575c62c16a4532a4b13f477eeeb85592526bdaf4f7a4988b3e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency log