Run browser agents with Instant
Run a cloud browser for each of your users without creating a Browser Use, Browserbase, Hyperbrowser, Anchor Browser, or Kernel account. With Instant Tools, Composio runs these tools on its own provider accounts and charges your organization's Composio balance.
The patterns apply to any application or agent that drives a browser for its users: a chat assistant, a background job, or your own tool loop. Each toolkit has its own page with a complete script in Python, TypeScript, and the API. Each script opens a browser for one user, runs a small task on https://example.com, prints the result, and then closes the browser and deletes the profile it created.
| Toolkit | Browser agent | Live view | Keeps sign-ins with |
|---|---|---|---|
| Browser Use | Yes, streamed as run events | Yes | A session kept open between runs |
| Browserbase | Yes, with pause and resume | Yes | A profile (context), loaded into each run's fresh browser |
| Hyperbrowser | Yes, the open-source browser-use agent or HyperAgent | Yes | A profile saved when the browser stops |
| Anchor Browser | Yes, one blocking task call | Yes | A named profile saved from a running session |
| Kernel | No, your code decides each step | No, headless only on Instant | A profile saved when the browser is deleted |
Access on request
Instant access to a toolkit is enabled per organization. If a call returns HTTP 404 with code 6601 (No instant account is available), contact support@composio.dev or your Composio account executive with your organization ID and the toolkits you need, or use another browser toolkit on this page.
Set up the project
- Turn on Instant Toolkits in project Settings and check your organization's balance in Billing.
- Install the SDK:
uv add composio- Set your Composio project key and the ID of the user the browser belongs to:
export COMPOSIO_API_KEY="your-composio-api-key"
export COMPOSIO_USER_ID="user_123"Use one Composio user ID per end user, and reuse it for every call that user makes. In your application, take it from your authenticated user. Never share one ID between users: their browsers and profiles would be shared too.
Every script calls tools through a Session and passes account="instant_account" (Python) or account: 'instant_account' (TypeScript) to select Instant explicitly. To run a script, save it under the file name shown on its tab. For example, for Kernel:
python kernel.pyIDs are signed to the user
Profile, browser, session, and run IDs returned on Instant are signed to the user who created them. Store them next to that user and pass them back unchanged. A call that uses another user's ID, or an ID with its signature removed, is refused before it reaches the provider.
Live view URLs carry no extra authentication. Show them only to the user who owns the browser, and don't log them.
Choose a toolkit
Each page explains every part of its script, lists every tool in the toolkit with its required arguments, and ends with a task to try.
To move an existing app from Browser Use to Hyperbrowser or Browserbase, use the migration guides: Browser Use to Hyperbrowser and Browser Use to Browserbase.
Browser Use
Browser Use runs its own agent on your task and streams the run as events, with a live view.
Browserbase
Browserbase runs an agent in a fresh browser for each run, keeps sign-ins in a profile, and can pause for the user to sign in.
Hyperbrowser
Hyperbrowser runs the open-source browser-use agent or HyperAgent in a browser you open, with a live view and a saved profile.
Anchor Browser
Anchor Browser runs one blocking agent task in a browser session and saves sign-ins in a named profile.
Kernel
Kernel gives you a headless browser that your own code drives step by step, with a profile saved when the browser is deleted.
Errors you may see
| HTTP status and code | What it means | What to do |
|---|---|---|
404 · 6601 | No instant account is available for toolkit …: Instant isn't enabled for this toolkit in your organization. | Contact support@composio.dev or your account executive. |
400 · 6602 | Invalid arguments.: an ID was changed, unsigned, or belongs to another user. | Pass back the exact ID that was returned for this user. |
400 · 4324 | Toolkit '…' is not allowed for this session: the tool's toolkit isn't in the session's toolkits. | Add the toolkit when you create the session. |
402 | Metering_WalletBalanceExhausted: your organization's Composio balance is used up. | Top up in Billing. |
| Tool error from the provider | The provider refused the call made on Composio's account. | Retry later, or contact support with the request ID. |
Clean up
Close every browser you open: BROWSER_USE_CANCEL_RUN for an unfinished run, BROWSERBASE_TOOL_STOP_RUN (or let the run finish), HYPERBROWSER_STOP_SESSION, ANCHOR_BROWSER_END_BROWSER_SESSION, and KERNEL_DELETE_BROWSER. An open browser holds resources until its timeout.
Keep a user's profile while they use your application, and delete it when they sign out or leave: BROWSERBASE_TOOL_DELETE_CONTEXT, HYPERBROWSER_DELETE_PROFILE, ANCHOR_BROWSER_DELETE_PROFILE, or KERNEL_DELETE_PROFILE. For Hyperbrowser, stop the browser before deleting its profile.
To confirm each call ran on Instant, check metadata.credential_source in the execution logs.