Move from Browser Use to Hyperbrowser
Hyperbrowser is an alternative to Browser Use on Instant. It runs the same open-source Browser Use agent, so your task text carries over. Like every Instant toolkit, it runs on Composio's Hyperbrowser account and bills your organization's prepaid balance. You don't need a Hyperbrowser key or a user connection.
This guide works for any app: one that called Composio's BROWSER_USE_* tools, Browser Use Cloud's API or SDK, a Browser Use browser over CDP, the open-source browser-use library, or a Browser Use MCP server.
What each thing is called
| What it is | Browser Use | Hyperbrowser |
|---|---|---|
| Saved cookies and sign-ins | profile | profile (HYPERBROWSER_CREATE_PROFILE) |
| One running cloud browser | browser session | session (HYPERBROWSER_CREATE_SESSION), id |
| Keeping a browser open between tasks | keep_alive | your own session, passed as session_id with keep_browser_open: true |
| One task for the AI agent | run, run_id | Browser Use task (HYPERBROWSER_START_BROWSER_USE_TASK), passed back as run_id |
| The agent's steps | run events | data.data.steps from HYPERBROWSER_GET_BROWSER_USE_TASK_STATUS |
| The page a person watches and controls | live_view_url | live_url from HYPERBROWSER_CREATE_SESSION |
| A follow-up instruction | queued message | a new task on the same session_id |
| Spending cap | max_cost_usd | max_steps |
| Model choice | model | llm |
Check these first
- Pause and resume. Hyperbrowser has none. A sign-in wait stays in the task text, as wait steps the agent takes while your user signs in in the live view. If your product needs a true pause, see Browser Use to Browserbase.
- Spending cap.
max_cost_usdbecomesmax_steps, and every allowed step is charged when the task starts, even if it finishes early. - Task IDs. Pass back the
idfrom the start call, unchanged, to every status, result and stop call. - Options Instant refuses. Proxies, CAPTCHA solving, extensions, custom browser arguments and your own model keys.
Pricing on Instant
Charged to your prepaid balance when the call starts. Check current rates before you go live.
| Tool | Charge |
|---|---|
HYPERBROWSER_START_BROWSER_USE_TASK | $0.02 per step × max_steps, plus $0.10 per browser hour if the task opens its own browser (none with session_id) |
HYPERBROWSER_CREATE_SESSION | $0.10 per browser hour, for the whole timeout_minutes you set |
| Every other tool in this guide | $0 |
A 10-step task on a browser you already opened costs $0.20.
Before you start
- Turn on Instant for your project and check your prepaid balance.
- Keep your
COMPOSIO_API_KEY. You don't need a Hyperbrowser account or key. - Have a coding agent that can run shell commands: Claude Code, Cursor, Codex or similar.
Migrate with your coding agent
Don't rewrite the code by hand. Give your coding agent the prompt below. It downloads the skill, a single SKILL.md file that holds every tool name, field and edge case, and tells your agent what to change and how to check it. You don't need to install anything first.
Run it from the root of your app, with COMPOSIO_API_KEY set. To read the skill first, open https://docs.composio.dev/assets/skills/migrate-browser-use-to-hyperbrowser/SKILL.md.
Migrate this app from Browser Use to Hyperbrowser on Composio Instant (toolkit
`hyperbrowser`).
Use the skill `migrate-browser-use-to-hyperbrowser`. If it isn't installed,
download
https://docs.composio.dev/assets/skills/migrate-browser-use-to-hyperbrowser/SKILL.md
into your skills folder first (for Claude Code:
.claude/skills/migrate-browser-use-to-hyperbrowser/SKILL.md), then follow it
step by step. List every place the app uses Browser Use and say what each one
becomes, before you change anything.
Rules:
- Keep what the user sees the same wherever Hyperbrowser allows it. Where it
can't, do the closest thing, and tell me what changed for the user.
- Keep the same Composio API key and project. Don't add a Hyperbrowser key.
- Use one Composio user ID per end user, so one user can never reach another
user's browser or profile.
- Never put passwords in the task text. Users sign in themselves, in the live
browser.
- Ask me before any test that costs money.
When you're done:
1. Type-check and build the app (compile it if it is a plain script), and
search again for any Browser Use reference left.
2. Test with COMPOSIO_API_KEY from the environment: one plain task (open
https://example.com and report the page title, max_steps 5) and one stop.
If the app has a sign-in flow, one task on a site that needs sign-in,
without signing in. Close every browser and delete every profile you
create.
3. Report the files you changed, each Browser Use feature and what replaced
it, the spend, and the test results.When it finishes, your agent reports the files it changed, each Browser Use feature and its replacement, what changed for your users, and the test results. The plain task should reach completed with "Example Domain" as the answer, and the stop should read back stopped. A 5-step test task costs $0.10, and the browser it runs on costs $0.10 per hour of timeout_minutes (under 2 cents for 10 minutes). Review the diff before you ship.
If something fails
| What you see | Why, and what to do |
|---|---|
| Status never finishes | The app reads status from the wrong level. It's at data.status. Only steps and final_result are under data.data. |
| An ID is refused (6602) | The ID belongs to another user, or isn't the one the start call returned. Pass IDs back exactly as returned. |
| 6604 tool not allowed | That tool or option isn't on Instant, for example LIST_SESSIONS, proxies or your own model keys. |
| The answer came from a different model | Hyperbrowser can upgrade the requested llm. Show job_params.llm. |
| The bill is higher than the task | max_steps and the browser's timeout_minutes are charged in full at start. Lower both. |
Checklist
Before you ship, check that:
- Every Browser Use reference is replaced or listed as a known gap.
- Each end user has their own Composio user ID and profile, and the profile ID is stored.
- Task IDs passed back are the ones from the start call.
max_stepsis set on every task, with extra steps for any sign-in wait.- The live view is shown only to the user who owns the browser, and never logged.
- Every test browser is stopped and every test profile deleted.