Skip to content

[docs]: add missing CUA models to docs#1693

Merged
shrey150 merged 1 commit into
mainfrom
shrey/update-cua-model-docs
Feb 18, 2026
Merged

[docs]: add missing CUA models to docs#1693
shrey150 merged 1 commit into
mainfrom
shrey/update-cua-model-docs

Conversation

@shrey150

@shrey150 shrey150 commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added 5 missing CUA models to all documentation pages: anthropic/claude-opus-4-5-20251101, anthropic/claude-opus-4-6, google/gemini-3-flash-preview, google/gemini-3-pro-preview, and microsoft/fara-7b
  • Updated provider mentions from "Google, Anthropic, and OpenAI" to include Microsoft across all CUA-related docs
  • Organized model lists alphabetically by provider for consistency

The codebase (AVAILABLE_CUA_MODELS in agent.ts) supports 12 CUA models but the docs only listed 7. This brings the docs in sync with the source of truth.

Test plan

  • Verify the models page renders the updated accordion table correctly
  • Verify the agent reference page lists all 12 models
  • Verify the computer-use best practices page mentions Microsoft
  • Verify the agent basics page mentions Microsoft

🤖 Generated with Claude Code


Summary by cubic

Added five missing CUA models—anthropic/claude-opus-4-5-20251101, anthropic/claude-opus-4-6, google/gemini-3-flash-preview, google/gemini-3-pro-preview, and microsoft/fara-7b—and updated provider mentions to include Microsoft. This syncs all CUA docs with the 12 models supported in the codebase and alphabetizes lists by provider.

Written for commit d1d5f3d. Summary will update on new commits. Review in cubic

The codebase supports 12 CUA models but docs only listed 7. Added
claude-opus-4-5, claude-opus-4-6, gemini-3-flash, gemini-3-pro, and
microsoft/fara-7b across all relevant doc pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Feb 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d1d5f3d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@greptile-apps

greptile-apps Bot commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR synchronizes the documentation with the source code by adding 5 missing CUA models and updating provider references to include Microsoft.

Key Changes:

  • Added 5 missing models: anthropic/claude-opus-4-5-20251101, anthropic/claude-opus-4-6, google/gemini-3-flash-preview, google/gemini-3-pro-preview, and microsoft/fara-7b
  • All model lists now match the AVAILABLE_CUA_MODELS constant in packages/core/lib/v3/types/public/agent.ts (12 models total)
  • Models are organized alphabetically by provider (Anthropic, Google, Microsoft, OpenAI) for better consistency
  • Updated provider mentions from "Google, Anthropic, and OpenAI" to include Microsoft across all CUA-related documentation

Verification:
All 12 models in the documentation now exactly match the source of truth in the codebase. The changes are documentation-only with no functional impact.

Confidence Score: 5/5

  • This PR is safe to merge with zero risk
  • Documentation-only changes that accurately synchronize model lists with the source code. All 12 models from AVAILABLE_CUA_MODELS are now correctly listed and organized alphabetically by provider. No functional code changes.
  • No files require special attention

Important Files Changed

Filename Overview
packages/docs/v3/basics/agent.mdx Updated provider list to include Microsoft alongside Google, OpenAI, and Anthropic
packages/docs/v3/best-practices/computer-use.mdx Added Microsoft to provider mentions in description and content
packages/docs/v3/configuration/models.mdx Added 5 missing CUA models, organized alphabetically by provider (now lists all 12 models from source code)
packages/docs/v3/references/agent.mdx Added 5 missing CUA models to agent reference, organized alphabetically by provider (now lists all 12 models)

Last reviewed commit: d1d5f3d

@greptile-apps greptile-apps Bot left a comment

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.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment

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.

2 issues found across 4 files

Confidence score: 4/5

  • This PR looks safe to merge overall; the main risk is documentation inconsistency rather than code behavior.
  • Most notable: packages/docs/v3/best-practices/computer-use.mdx mentions Microsoft support but the provider tabs/examples omit it, which could confuse users following the guide.
  • packages/docs/v3/references/agent.mdx adds microsoft/fara-7b but the nearby mode: "cua" description still lists only Anthropic/Google/OpenAI, creating mixed messaging.
  • Pay close attention to packages/docs/v3/best-practices/computer-use.mdx, packages/docs/v3/references/agent.mdx - provider listings and examples are out of sync.
Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/docs/v3/references/agent.mdx">

<violation number="1" location="packages/docs/v3/references/agent.mdx:79">
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.</violation>
</file>

<file name="packages/docs/v3/best-practices/computer-use.mdx">

<violation number="1" location="packages/docs/v3/best-practices/computer-use.mdx:162">
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:
```typescript
const agent = stagehand.agent({
    mode: "cua",
    model: "microsoft/fara-7b",
});
```</violation>
</file>
Architecture diagram
sequenceDiagram
    participant User as Developer / Client
    participant Stagehand as Stagehand Library
    participant Agent as Agent (mode: "cua")
    participant LLM as Model Provider (LLM)
    participant Browser as Browser (Playwright)

    Note over User,LLM: Configuration with CUA Model
    User->>Stagehand: init({ modelName: "provider/model", mode: "cua" })
    Note right of Stagehand: NEW: Support for microsoft/fara-7b<br/>and updated Anthropic/Google models
    Stagehand->>Agent: Instantiate CUA Agent
    
    User->>Agent: execute({ instruction: "Click the login button" })
    
    Agent->>LLM: Send Screenshot + instruction
    Note right of LLM: Includes Google, OpenAI, Anthropic, or NEW: Microsoft
    
    LLM-->>Agent: Return Computer Use Tool Call (e.g., mouse_click)
    
    Agent->>Browser: NEW/CHANGED: Map model output to Playwright command
    Browser-->>Agent: Success / New Screenshot
    
    Agent-->>User: Result of execution
Loading

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

- `"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

### 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

shrey150 commented Feb 18, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Feb 18, 7:55 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 18, 7:55 PM UTC: @shrey150 merged this pull request with Graphite.

@shrey150
shrey150 merged commit 21e1db5 into main Feb 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants