Skip to main content

Overview

This guide shows how to get started with Anthropic’s Claude Computer Use in a couple minutes using Orgo to control a virtual desktop environment.

Setup

Install the required packages:
Set up your API keys:

Simple Usage

The simplest way to use Orgo with Claude is through the built-in prompt() method:
This approach handles all the complexity of the agent loop automatically, making it easy to get started.
Tip: The simplest way to use Orgo is computer.prompt("your instruction"). The advanced usage below is only needed if you want to build a custom agent loop.

Customizing the Prompt Method

You can customize the prompt with optional parameters:

Advanced Usage

For more control, you can implement your own agent loop using the Anthropic API directly:

Using Claude’s Thinking Capability

Claude 4.x models can stream their reasoning process through the thinking parameter:

Tool Compatibility

Orgo provides a complete set of methods corresponding to Claude’s computer use tools:

Picking a model

All three are computer-use capable and share the same tool surface.

Tool versions

Match the tool type and betas to the model family you’re calling:
  • Claude 4.x (Opus 4.7 / Sonnet 4.6 / Haiku 4.5): "type": "computer_20251124" with betas ["computer-use-2025-11-24", "computer-use-2025-01-24"]
  • Claude Sonnet 4.5: "type": "computer_20250124" with betas ["computer-use-2025-01-24"]
TypeScript users: All methods are async and must be awaited. The TypeScript SDK uses camelCase for method names (e.g., leftClick instead of left_click).

Video Tutorial

Here is a video version showing how to set up Claude Computer Use in 30 seconds:
You can follow the video tutorial above or use this written guide