Quickstart
Create a desktop and run your first placed trajectory.
OpenAI
Connect the Responses API to the computer.
Anthropic
Connect the Messages API to the computer.
Write the model loop
Your application owns model calls and conversation state. Borrow the desktop once, then usecomputer.step() for each ordered action array.
Keep the trajectory close to the desktop
- Create the desktop once with an async owner.
- Send its session handle to a Function that declares the same supported region selector.
- Keep one borrow and one pooled client for the model loop.
- Release the borrow before the owner closes the desktop.
Choose a guide
Install the SDK
Install the package and set up Modal credentials.
Control the browser
Open pages, inspect browser status, and choose an Image.
Deploy the application
Set placement, resources, ownership, and cleanup.
Browse the API
Find SDK entry points, namespaces, models, and daemon routes.

