SDKs

Build Computer Agents into your own product.

Use the JavaScript and Python SDKs to run agents, control persistent computers, manage project work, deploy product resources, stream progress, and operate Computer Agents from your own applications.

Run agents

Start threads, stream work, resume sessions, approve permissions, and collect feedback.

Control computers

Create persistent cloud computers, manage files, install packages, and keep workspace state.

Ship resources

Deploy web apps, functions, databases, auth, runtimes, and secrets from code or agents.

Stream progress

Listen to execution events, logs, file changes, status updates, and final summaries.

Language SDKs

Start with the language your product already uses. Both SDKs expose the same platform concepts and resource managers.

JavaScript SDK

Use one typed Node and TypeScript client for threads, tasks, computers, web apps, functions, auth, databases, feedback, notifications, runtime helpers, and automation.

Python SDK

Automate Computer Agents from scripts, services, notebooks, CI jobs, research pipelines, and backend systems with the same platform surface.

Install JavaScript SDK
Loading...
Install Python SDK
Loading...

SDK surface

The SDKs are product clients, not thin wrappers around one endpoint. Use them to operate the full Computer Agents workspace.

Threads and runsCreate threads, send messages, stream events, inspect logs and diffs, cancel runs, resume work, and collect feedback.
Computers and filesCreate persistent computers, choose compute profiles, upload files, download folders, manage Git-aware workspaces, and reuse state across sessions.
Projects and tasksCreate projects, releases, tickets, comments, task-linked threads, review flows, and shared execution context.
Deployable resourcesCreate, deploy, invoke, bind, monitor, roll back, and operate web apps, functions, databases, auth, runtimes, and secrets.
AutomationManage skills, schedules, triggers, orchestrations, product notifications, permission requests, budget, and usage data.

Resource managers

Work directly with deployed product surfaces instead of setting generic resource kinds by hand.

Web appsHosted dashboards, portals, internal tools, AI apps, and prototypes with custom domains and bindings.
FunctionsHTTP APIs, webhooks, scheduled jobs, data transforms, and backend actions deployed from a workspace.
DatabasesDatabase lifecycle, collections, documents, JSON records, bindings, and operational metadata.
AuthSign-up, sign-in, sessions, user administration, protected flows, and identity-aware app resources.
SecretsSecret vaults for API keys, credentials, tokens, and runtime-only configuration.
Agent runtimesAlways-on agent APIs, embedded assistants, operational copilots, and managed runtime endpoints.
Skills and automationPublish skills and drive ACP with schedules, triggers, and orchestrations from the SDK.

First run

The same idea works in both SDKs: create a client, run a task, stream events, and keep the resulting thread for later.

Run an agent from your app
Loading...

SDKs and raw HTTP

Use SDK guides for product workflows. Use the generated API reference when you need exact request and response schemas.

SDK guidesBest for application code, typed resource managers, runtime helpers, and product-oriented workflows.
API referenceBest for raw HTTP integrations, schema-level implementation, generated clients, and language-agnostic systems.
QuickstartBest when you want the shortest path from API key to first persistent computer, thread, task, and deployed resource.