Documentation Index
Fetch the complete documentation index at: https://docs.orgo.ai/llms.txt
Use this file to discover all available pages before exploring further.
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:Simple Usage
The simplest way to use Orgo with Claude is through the built-inprompt() method:
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 thethinking parameter:
Tool Compatibility
Orgo provides a complete set of methods corresponding to Claude’s computer use tools:| Claude Tool Action | Orgo Method (Python) | Orgo Method (TypeScript) | Description |
|---|---|---|---|
screenshot | computer.screenshot() | await computer.screenshot() | Capture the screen (returns PIL Image/Buffer) |
screenshot | computer.screenshot_base64() | await computer.screenshotBase64() | Capture the screen (returns base64 string) |
left_click | computer.left_click(x, y) | await computer.leftClick(x, y) | Left click at coordinates |
right_click | computer.right_click(x, y) | await computer.rightClick(x, y) | Right click at coordinates |
double_click | computer.double_click(x, y) | await computer.doubleClick(x, y) | Double click at coordinates |
type | computer.type(text) | await computer.type(text) | Type text |
key | computer.key(key_sequence) | await computer.key(keySequence) | Press keys (e.g., “Enter”, “ctrl+c”) |
scroll | computer.scroll(direction, amount) | await computer.scroll(direction, amount) | Scroll in specified direction |
wait | computer.wait(seconds) | await computer.wait(seconds) | Wait for specified seconds |
Picking a model
| Model | When to use |
|---|---|
claude-opus-4-7 | Hardest, multi-step desktop tasks where accuracy and judgment matter most. |
claude-sonnet-4-6 | The default for most computer-use agents - fast, capable, and dramatically cheaper than Opus. |
claude-haiku-4-5 | Tight latency budgets, simple flows, or high-volume parallel agents. |
Tool versions
Match the tooltype 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