Skip to content

docs: publish claude toolset integration guide - #3126

Merged
Kylejeong2 merged 1 commit into
docs-productionfrom
kylejeong/claude-toolset-docs-production
Oct 7, 2026
Merged

Kylejeong2 merged 1 commit into
docs-productionfrom
kylejeong/claude-toolset-docs-production

Conversation

@Kylejeong2

@Kylejeong2 Kylejeong2 commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Cherry-pick the Claude Toolset integration docs from #3122 onto docs-production.

Why

Make the merged integration guide available on the production docs branch.

What changed

Testing (if applicable)

  • npx --yes [email protected] validate: passed on the production-based branch.
  • npx --yes [email protected] broken-links --check-anchors --check-redirects --check-snippets: passed.
  • git diff --check HEAD^ HEAD: passed; cherry-pick applied without conflicts.
  • Live Claude execution was not tested.

Summary by cubic

Publishes the Claude Toolset integration guide on the docs-production branch by cherry-picking the docs from the claude-cua-toolset docs PR.

  • Adds a new guide covering stagehand-claude-sdk setup in TypeScript and Python, including local Chrome and Browserbase launch modes, domain restrictions, and session cleanup.
  • Registers the guide in navigation and both integration overviews, clarifying that Claude Toolset uses the Anthropic SDK's native browser toolset rather than the shared MCP tool contract.

Written for commit cd312bf. Summary will update on new commits.

Review in cubic Turn on auto-fix

# Summary

Add a Claude Toolset integration guide to the Stagehand v4 docs.

# Why

Developers need setup instructions for connecting Claude to local Chrome
or Browserbase through the published Stagehand Claude SDK packages.

# What changed

- Add TypeScript and Python installation, browser-task examples, session
cleanup, Browserbase configuration, and domain-filtering limitations.
- Link the guide from navigation and integration overviews,
distinguishing its native toolset from the shared MCP tool contract.

# Testing (if applicable)

- `npx --yes [email protected] validate`: passed.
- `npx --yes [email protected] broken-links --check-anchors --check-redirects
--check-snippets`: passed.
- `npx --yes [email protected] a11y --skip-contrast`: passed.
- Python snippet syntax and `git diff --check`: passed.
- Live Claude execution and published package exports have not been
verified; the registry releases were placeholders when checked.

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds a Claude Toolset integration guide to the Stagehand v4 docs,
covering setup for the published `stagehand-claude-sdk` packages in
TypeScript and Python.

- Documents installation, local Chrome and Browserbase launch modes,
domain restrictions, and session cleanup.
- Links the guide from navigation and both integration overviews,
clarifying that Claude Toolset uses a native browser toolset rather than
the shared MCP tool contract.

<sup>Written for commit 82243b2.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/browserbase/stagehand/pull/3122?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/browserbase/stagehand/3122?returnTo=https%3A%2F%2Fgithub.com%2Fbrowserbase%2Fstagehand%2Fpull%2F3122&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
(cherry picked from commit fdd1795)
@Kylejeong2
Kylejeong2 requested a review from a team as a code owner October 7, 2026 00:41
@mintlify

mintlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stagehand 🟢 Ready View Preview Oct 7, 2026, 12:42 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@changeset-bot

changeset-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cd312bf

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

@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.

All reported issues were addressed across 4 files

Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant DocsNav as Docs Navigation
    participant ClaudeGuide as Claude Toolset Guide
    participant ToolsetRepo as Claude Toolset Repo
    participant StagehandSDK as stagehand-claude-sdk
    participant AnthropicSDK as Anthropic SDK
    participant Chrome as Local Chrome
    participant Browserbase as Browserbase Session

    Note over Dev,DocsNav: Documentation Access Flow
    Dev->>DocsNav: Browse integrations overview
    DocsNav->>ClaudeGuide: Select Claude Toolset card
    DocsNav->>ClaudeGuide: Access via Agent Frameworks nav

    Note over Dev,StagehandSDK: Setup and Configuration
    Dev->>ToolsetRepo: Clone repository
    Dev->>StagehandSDK: Install package (npm/PyPI)
    Dev->>AnthropicSDK: Install SDK with browser toolset

    Note over Dev,Browserbase: Runtime Browser Task Flow
    
    Dev->>StagehandSDK: StagehandBrowser.launch()
    alt Local Mode
        StagehandSDK->>Chrome: Launch headless Chrome
        Chrome-->>StagehandSDK: Browser instance ready
    else Browserbase Mode
        StagehandSDK->>Browserbase: StagehandBrowser.browserbase()
        Browserbase-->>StagehandSDK: Remote browser session
    end

    StagehandSDK-->>Dev: Browser instance
    Dev->>AnthropicSDK: Create toolRunner with browser tool
    AnthropicSDK->>AnthropicSDK: Run model tool loop
    AnthropicSDK->>StagehandSDK: Dispatch browser tool calls
    StagehandSDK->>Chrome: Navigate, screenshot, interact
    Chrome-->>StagehandSDK: Page state and results
    StagehandSDK-->>AnthropicSDK: Tool results
    AnthropicSDK-->>Dev: Stream model messages

    Note over Dev,StagehandSDK: Session Cleanup
    Dev->>StagehandSDK: Close browser instance
    StagehandSDK->>Chrome: Terminate browser
    StagehandSDK->>Browserbase: End session

    Note over StagehandSDK,Chrome: Domain Restrictions
    StagehandSDK->>StagehandSDK: Enforce allowedDomains/blockedDomains
    Note over StagehandSDK: WebSocket connections not restricted
Loading

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

@Kylejeong2
Kylejeong2 merged commit 3a716ad into docs-production Oct 7, 2026
24 of 26 checks passed
@Kylejeong2
Kylejeong2 deleted the kylejeong/claude-toolset-docs-production branch October 7, 2026 00:48

This branch was successfully deployed

1 active deployment
staging - packages/docs — cd312bfa Deployed Oct 7, 2026 by mintlify[bot]
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