Skip to main content
By the end of this guide, your code will start a session on a real Windows machine, capture a native-resolution frame, and send native input — all through the Glasswarp API.

Prerequisites

1

A Windows host, online and API-enabled

Install the host agent on a Windows machine, pair it, and turn on API access for that rig. See Install the host.
2

An API key

Create one in the Console. Keys look like gw_live_sk_....
3

Python 3.9+

The SDK is Python. REST works from any language — see the API reference.

1. Install the SDK

Add the grounding extra (glasswarp[grounding]) only when you need the Set-of-Mark and ROI image helpers, which pull in Pillow.

2. Set your API key

The client reads GLASSWARP_API_KEY automatically. Never hardcode or commit it.

3. Run your first session

4. Watch it live

Open Console → Sessions → Eye to watch the session at 60fps while your code runs. You’ll see the on-screen “API session active” indicator on the host — that is the owner-consent guardrail, always on.

Next steps

Ground your clicks

Click UIA targets instead of guessing pixels.

Build an agent loop

observe → model → act, efficiently.

Launch apps

Spawn and drive Windows applications.

API reference

Every endpoint, with a request builder.