> ## Documentation Index
> Fetch the complete documentation index at: https://hyperbrowser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Authenticate REST, SDK, and CLI requests with the `x-api-key` header using the `HYPERBROWSER_API_KEY` environment variable (create keys at https://app.hyperbrowser.ai).
> Always stop browser sessions (`sessions.stop(id)` / `PUT /api/session/{id}/stop`) and sandboxes (`sandboxes.stop(id)` / `PUT /api/sandbox/{id}/stop`) in `try`/`finally` blocks to avoid idle billing.
> Choose the right surface: use Web API (`/api/web/fetch`, `batch-fetch`, `crawl`, `search`) for stateless reading and extraction (prefer it over legacy `/api/scrape`); Browser Sessions (`/api/session`) for interactive, authenticated, or Playwright/Puppeteer workflows; Cloud Agents (`/api/task/*`) for autonomous browser tasks; and Sandboxes (`/api/sandbox`) for isolated Linux or macOS code execution.
> Use `@hyperbrowser/sdk` for Node.js/TypeScript, `hyperbrowser` 1.0+ typed-dict request params for Python (avoid legacy Pydantic request classes), the unified `hx` CLI for terminal workflows, and hosted OAuth MCP at `https://mcp.hyperbrowser.ai/mcp/web` (web tools; use `https://mcp.hyperbrowser.ai/mcp` only when browser, sandbox, admin, and usage tools are needed).

# Cloud Agents & Team SDK Reference

> Node.js and Python SDK methods for all 8 managed cloud browser agents, AI function calling tools, and team credit info

Use `client.agents` to run autonomous browser tasks on managed Hyperbrowser sessions, and `client.team` to check team credit balances.

***

## Cloud Browser Agents (`client.agents`)

Every cloud agent namespace exposes the same 5 lifecycle methods:

* **Node.js:** `start(params)`, `getStatus(id)`, `get(id)`, `stop(id)`, `startAndWait(params)`
* **Python:** `start(params)`, `get_status(id)`, `get(id)`, `stop(id)`, `start_and_wait(params)`

| Agent | Node.js Namespace | Python Namespace | Guide |
| - | - | - | - |
| Browser Use | `client.agents.browserUse` | `client.agents.browser_use` | [Browser Use](https://hyperbrowser.ai/docs/agents/browser-use.md) |
| Claude Computer Use | `client.agents.claudeComputerUse` | `client.agents.claude_computer_use` | [Claude Computer Use](https://hyperbrowser.ai/docs/agents/claude-computer-use.md) |
| OpenAI CUA | `client.agents.cua` | `client.agents.cua` | [OpenAI CUA](https://hyperbrowser.ai/docs/agents/openai-cua.md) |
| Gemini Computer Use | `client.agents.geminiComputerUse` | `client.agents.gemini_computer_use` | [Gemini Computer Use](https://hyperbrowser.ai/docs/agents/gemini-computer-use.md) |
| Meta Computer Use | `client.agents.metaComputerUse` | `client.agents.meta_computer_use` | [Meta Computer Use](https://hyperbrowser.ai/docs/agents/meta-computer-use.md) |
| Grok Computer Use | `client.agents.grokComputerUse` | `client.agents.grok_computer_use` | [Grok Computer Use](https://hyperbrowser.ai/docs/agents/grok-computer-use.md) |
| Jev Computer Use | `client.agents.jevComputerUse` | `client.agents.jev_computer_use` | [Jev Computer Use](https://hyperbrowser.ai/docs/agents/jev-computer-use.md) |
| HyperAgent (Cloud) | `client.agents.hyperAgent` | `client.agents.hyper_agent` | [HyperAgent](https://hyperbrowser.ai/docs/agents/hyperagent.md) |

```typescript TypeScript theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { Hyperbrowser } from "@hyperbrowser/sdk";

const client = new Hyperbrowser({ apiKey: process.env.HYPERBROWSER_API_KEY });

const result = await client.agents.browserUse.startAndWait({
  task: "Go to news.ycombinator.com and return the top 3 titles.",
  maxSteps: 10,
});
console.log(result.data?.finalResult);
```

```python Python theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import os
from hyperbrowser import Hyperbrowser

client = Hyperbrowser(api_key=os.environ["HYPERBROWSER_API_KEY"])

result = client.agents.browser_use.start_and_wait({
    "task": "Go to news.ycombinator.com and return the top 3 titles.",
    "max_steps": 10,
})
print(result.data.final_result)
```

***

## AI Function Calling Tools

Both SDKs ship prebuilt LLM tool schemas and helpers (`WebsiteScrapeTool`, `WebsiteScreenshotTool`, `WebsiteCrawlTool`, `WebsiteExtractTool`, `BrowserUseTool`, `CredentialFillTool`, plus `ClaudeComputerUseTool` and `OpenAICuaTool` in Node SDK). See [AI Function Calling](https://hyperbrowser.ai/docs/integrations/ai-function-calling.md) for provider bindings.

***

## Team Credit Info (`client.team`)

| Operation | Node.js | Python |
| - | - | - |
| Get remaining & monthly credits | `client.team.getCreditInfo()` | `client.team.get_credit_info()` |

See [Usage & Credits](https://hyperbrowser.ai/docs/platform/usage-and-credits.md) for response fields and monitoring tips.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.