Loading...
Loading...
Use the Browserbase CLI (`bb`) for Browserbase Functions and platform API workflows. Use when the user asks to run `bb`, deploy or invoke functions, manage sessions, projects, contexts, or extensions, fetch a page through the Browserbase Fetch API, search the web through the Browserbase Search API, or open the Browserbase dashboard from the command line. Prefer the Browser skill for interactive browsing; use `bb browse` only when the user explicitly wants the Browserbase CLI path.
npx skill4agent add browserbase/skills browserbase-clibbwhich bb || npm install -g @browserbasehq/cli
bb --helpexport BROWSERBASE_API_KEY="your_api_key"bb functions devbb functions publishexport BROWSERBASE_PROJECT_ID="your_project_id"bbbrowserfetchbb browse ...bbbb functionsbb sessionsbb projectsbb contextsbb extensionsbb fetch <url>bb search "<query>"bb dashboardbb browse ...browse@browserbasehq/browse-clibb skills installbb functions init my-function
cd my-function
bb functions dev index.ts
bb functions publish index.ts
bb functions invoke <function_id> --params '{"url":"https://example.com"}'bb functions invoke --check-status <invocation_id>bb projects list --json
bb sessions get <session_id> --json
bb sessions downloads get <session_id> --output session-artifacts.zip
bb contexts create --body '{"region":"us-west-2"}' --json
bb extensions upload ./my-extension.zip --jsonbb fetch https://example.com --json
bb fetch https://example.com --allow-redirects --output page.htmlbb search "browser automation" --json
bb search "web scraping" --num-results 5 --json
bb search "AI agents" --output results.jsonbb dashboardbb --help--help--json--body--paramsbb functions ...--api-url--base-urlbb browsebrowse@browserbasehq/browse-clibrowserBROWSERBASE_API_KEY--api-keybb functions devbb functions publishBROWSERBASE_PROJECT_ID--project-id--helpbb browsenpm install -g @browserbasehq/browse-cli