Your browser is too old for Guard.ch

Update it as shown below, then open this page again.

iPhone and iPad

Update iOS or iPadOS to 16.4 or later in Settings > General > Software Update. Every browser on iPhone and iPad runs on the system's version, so switching to another browser app won't help.

Computer and Android

Update your browser, or open Guard.ch in a current version of Chrome, Edge, Firefox or Safari.

All integrations

Connect AI SDK to Guard.ch

Let AI SDK open and use websites in a Guard.ch cloud browser. Watch live or hand over a running session.

Connect AI SDK

You need Node.js server code with npm install @ai-sdk/mcp ai and a model provider. Never run this in a browser: your API key would be public.

  1. 1. Create an API key

    Open the dashboard to create a key and get a ready-to-copy configuration.

    Create a key in the dashboard
  2. 2. Add the connection

    Create the client in your server code with your API key in place of YOUR_API_KEY. Pass await guardch.tools() as tools to generateText or streamText and close the client with guardch.close() when you are done.

    npm install @ai-sdk/mcp

    Use this in your server code.

    Create a key to copy this value

  3. 3. Try it in a new chat

    Call generateText with the task below and allow several steps with stopWhen, then check that the text describes the page.

    Open example.com in a Guard.ch browser and tell me what the page says.

0 of 3 steps marked done

Need help?

If the result ends after a tool call without an answer, allow more steps with stopWhen. A 401 error means the API key is wrong or missing.

Hand over a running session

Choose “Hand over to your agent” in the Guard.ch viewer and paste the prepared prompt into your assistant’s chat. The session ID in that prompt lets the assistant continue in the same browser. Sign your assistant in with the same Guard.ch account.

MCP reference and all browser tools