Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/v3/basics/agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Some advanced features are only available with certain agent modes:

### Computer Use Agents

You can use specialized computer use models from either Google, OpenAI, or Anthropic as shown below, with `mode` set to `"cua"`. To compare the performance of different computer use models, you can visit our [evals page](https://www.stagehand.dev/agent-evals).
You can use specialized computer use models from Google, OpenAI, Anthropic, or Microsoft as shown below, with `mode` set to `"cua"`. To compare the performance of different computer use models, you can visit our [evals page](https://www.stagehand.dev/agent-evals).

<Warning>
**Deprecation Notice:** The `cua: true` option is deprecated and will be removed in a future version. Use `mode: "cua"` instead.
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/v3/best-practices/computer-use.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Computer Use Agents
description: Incorporate Computer Use APIs from Google, Anthropic, and OpenAI with one line of code in Stagehand.
description: Incorporate Computer Use APIs from Google, Anthropic, OpenAI, and Microsoft with one line of code in Stagehand.
---
import { V3Banner } from '/snippets/v3-banner.mdx';

Expand All @@ -22,7 +22,7 @@ You might've heard of [Gemini Computer Use](https://blog.google/technology/googl

These are powerful tools that can convert natural language into actions on the computer. However, you'd otherwise need to write your own code to convert these actions into Playwright commands.

Stagehand not only handles the execution of Computer Use outputs, but also lets you hot-swap between Google, OpenAI, and Anthropic models with one line of code. You can find more information on the performance of different computer use models by visiting our [evals page](https://www.stagehand.dev/agent-evals).
Stagehand not only handles the execution of Computer Use outputs, but also lets you hot-swap between Google, OpenAI, Anthropic, and Microsoft models with one line of code. You can find more information on the performance of different computer use models by visiting our [evals page](https://www.stagehand.dev/agent-evals).

## How to use a Computer Use Agent in Stagehand

Expand Down Expand Up @@ -159,7 +159,7 @@ await agent.execute({

### Select Your Computer Use Model

Stagehand supports computer use models from Google, Anthropic, and OpenAI. You can find all supported models on the [models page](/v3/configuration/models#agent-models-with-cua-support).
Stagehand supports computer use models from Google, Anthropic, OpenAI, and Microsoft. You can find all supported models on the [models page](/v3/configuration/models#agent-models-with-cua-support).

@cubic-dev-ai cubic-dev-ai Bot Feb 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The text now mentions Microsoft as a supported provider, but neither the "Select Your Computer Use Model" Tabs section nor the "Direct your Computer Use Agent" CodeGroup below include a Microsoft tab/example. Users reading this will be told Microsoft is supported but won't find any code snippet showing how to use it. Consider adding a Microsoft tab with an example like:

const agent = stagehand.agent({
    mode: "cua",
    model: "microsoft/fara-7b",
});
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/docs/v3/best-practices/computer-use.mdx, line 162:

<comment>The text now mentions Microsoft as a supported provider, but neither the "Select Your Computer Use Model" Tabs section nor the "Direct your Computer Use Agent" CodeGroup below include a Microsoft tab/example. Users reading this will be told Microsoft is supported but won't find any code snippet showing how to use it. Consider adding a Microsoft tab with an example like:
```typescript
const agent = stagehand.agent({
    mode: "cua",
    model: "microsoft/fara-7b",
});
```</comment>

<file context>
@@ -159,7 +159,7 @@ await agent.execute({
 ### Select Your Computer Use Model
 
-Stagehand supports computer use models from Google, Anthropic, and OpenAI. You can find all supported models on the [models page](/v3/configuration/models#agent-models-with-cua-support).
+Stagehand supports computer use models from Google, Anthropic, OpenAI, and Microsoft. You can find all supported models on the [models page](/v3/configuration/models#agent-models-with-cua-support).
 
 <Tabs>
</file context>
Fix with Cubic


<Tabs>
<Tab title="Google">
Expand Down
7 changes: 6 additions & 1 deletion packages/docs/v3/configuration/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -548,11 +548,16 @@ const agent = stagehand.agent({
<Accordion title="All Supported CUA Models">
| Provider | Model |
| -------- | ----- |
| Google | `google/gemini-2.5-computer-use-preview-10-2025` |
| Anthropic | `anthropic/claude-3-7-sonnet-latest` |
| Anthropic | `anthropic/claude-haiku-4-5-20251001` |
| Anthropic | `anthropic/claude-sonnet-4-20250514` |
| Anthropic | `anthropic/claude-sonnet-4-5-20250929` |
| Anthropic | `anthropic/claude-opus-4-5-20251101` |
| Anthropic | `anthropic/claude-opus-4-6` |
| Google | `google/gemini-2.5-computer-use-preview-10-2025` |
| Google | `google/gemini-3-flash-preview` |
| Google | `google/gemini-3-pro-preview` |
| Microsoft | `microsoft/fara-7b` |
| OpenAI | `openai/computer-use-preview` |
| OpenAI | `openai/computer-use-preview-2025-03-11` |
</Accordion>
Expand Down
9 changes: 7 additions & 2 deletions packages/docs/v3/references/agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,18 @@ interface AgentInstance {
- An object with `modelName` and additional provider-specific options

**Available CUA Models:**
- `"openai/computer-use-preview"`
- `"openai/computer-use-preview-2025-03-11"`
- `"anthropic/claude-3-7-sonnet-latest"`
- `"anthropic/claude-haiku-4-5-20251001"`
- `"anthropic/claude-sonnet-4-20250514"`
- `"anthropic/claude-sonnet-4-5-20250929"`
- `"anthropic/claude-opus-4-5-20251101"`
- `"anthropic/claude-opus-4-6"`
- `"google/gemini-2.5-computer-use-preview-10-2025"`
- `"google/gemini-3-flash-preview"`
- `"google/gemini-3-pro-preview"`
- `"microsoft/fara-7b"`

@cubic-dev-ai cubic-dev-ai Bot Feb 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Adding microsoft/fara-7b to the model list creates an inconsistency with the mode: "cua" description a few lines below, which still reads "providers like Anthropic Claude, Google Gemini, or OpenAI" without mentioning Microsoft. This should be updated to include Microsoft for consistency.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At packages/docs/v3/references/agent.mdx, line 79:

<comment>Adding `microsoft/fara-7b` to the model list creates an inconsistency with the `mode: "cua"` description a few lines below, which still reads *"providers like Anthropic Claude, Google Gemini, or OpenAI"* without mentioning Microsoft. This should be updated to include Microsoft for consistency.</comment>

<file context>
@@ -67,13 +67,18 @@ interface AgentInstance {
   - `"google/gemini-2.5-computer-use-preview-10-2025"`
+  - `"google/gemini-3-flash-preview"`
+  - `"google/gemini-3-pro-preview"`
+  - `"microsoft/fara-7b"`
+  - `"openai/computer-use-preview"`
+  - `"openai/computer-use-preview-2025-03-11"`
</file context>
Fix with Cubic

- `"openai/computer-use-preview"`
- `"openai/computer-use-preview-2025-03-11"`

<Expandable title="AgentModelConfig Object">
<ParamField path="modelName" type="string" required>
Expand Down
Loading