Skip to main content
Claude Code is Anthropic’s agentic coding tool that runs in the terminal. Add Browser Use and it gets full cloud browser automation — anti-detect profiles, CAPTCHA solving, residential proxies in 195+ countries, persistent profiles, and stealth browsing.

Setup

1. Install the CLI
uv tool install browser-use
2. Verify the installation
browser-use doctor
3. Register the skill Register the Browser Use skill with the installed CLI:
browser-use skill install
4. Authenticate for cloud browsers Sign up at cloud.browser-use.com, then authenticate:
browser-use auth login
Or let Claude Code provision a free API key itself — see Agent Self-Registration below. 5. Use it Claude Code uses its bash tool to run CLI commands directly:
> Use browser-use to open github.com/trending and summarize the top repos
For the complete CLI reference and Python execution examples, see the Browser Use CLI docs.

Agent Self-Registration

Claude Code can provision its own Browser Use API key autonomously — no human interaction needed. The free tier includes unlimited browser hours, free proxies in 195+ countries, persistent browser profiles, CAPTCHA solving, and stealth browsing at zero cost. Install the Browser Use CLI and skill:
uv tool install browser-use
browser-use skill install
Claude Code can follow the REST flow to request and verify a challenge, then put the returned key in its shell environment:
export BROWSER_USE_API_KEY=bu_...
browser-use auth status

Claim the account (optional)

If the human wants to see the account in the dashboard later, use the claim endpoint. The returned claim URL is valid for 1 hour.

Pay with USDC via x402

Two ways to use x402 with Browser Use Cloud:
  • Top up an existing account — add credits to your API key (e.g. one created via Agent Self-Registration above) using USDC. No credit card required. Use this when free credits run out.
  • Accountless — wallet IS the identity, no signup needed. Pure x402 / agent-economy native. Use this for autonomous agents that hold their own wallet.
Install the skill:
npx skills add https://github.com/browser-use/browser-use --skill x402
Then in Claude Code:
> /x402
The skill asks whether you have an existing API key (top-up mode) or want accountless mode, then walks you through generating (or importing) an EVM wallet, funding it via Coinbase, and running a verification task. You’ll need ~5ofUSDConBasemainnet.Eachtopupis5 of USDC on Base mainnet. Each top-up is 1. For the SDK API and protocol details, see the x402 guide.