> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Computer Use CLI

> Command-line interface for computer automation

# Computer Use CLI

Automate computer tasks from the command line.

## Commands

### Screenshot

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Take screenshot
praisonai-ts computer screenshot --output ./screenshot.png

# With analysis
praisonai-ts computer screenshot --analyze "What do you see?"
```

### Execute Task

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Run automation task
praisonai-ts computer run "Open browser and go to google.com" \
  --require-approval \
  --model claude-3.5-sonnet
```

### Interactive Mode

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Start interactive computer control
praisonai-ts computer interactive \
  --require-approval \
  --browser
```

## Options

| Option               | Type    | Default             | Description      |
| -------------------- | ------- | ------------------- | ---------------- |
| `--require-approval` | boolean | `true`              | Require approval |
| `--browser`          | boolean | `false`             | Enable browser   |
| `--desktop`          | boolean | `false`             | Enable desktop   |
| `--timeout`          | number  | `30000`             | Action timeout   |
| `--model`            | string  | `claude-3.5-sonnet` | Vision model     |

## Environment Variables

| Variable            | Required   | Description   |
| ------------------- | ---------- | ------------- |
| `OPENAI_API_KEY`    | Yes        | For the agent |
| `ANTHROPIC_API_KEY` | For Claude | Claude vision |

## Examples

### Browser Automation

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts computer run \
  "Go to github.com and search for praisonai" \
  --browser \
  --require-approval
```

### Desktop Task

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts computer run \
  "Open the calculator app" \
  --desktop \
  --require-approval
```

## Related Commands

* `praisonai-ts computer history` - View action history
* `praisonai-ts computer replay` - Replay recorded actions
