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

# Browser Use

> Chạy các tác nhân Browser Use với các mô hình TokenLab

## Tổng quan

Browser Use có thể gọi TokenLab thông qua `ChatOpenAILike`, trình bao bọc mô hình trò chuyện tương thích với OpenAI.

<Note>
  **Loại**: Khung tác nhân tự động hóa trình duyệt

  **Đường dẫn chính**: Chat Completions tương thích với OpenAI

  **Độ tin cậy hỗ trợ**: Hỗ trợ đường dẫn tương thích với OpenAI
</Note>

## Môi trường

```bash theme={null}
export TOKENLAB_API_KEY="sk-your-tokenlab-key"
```

## Ví dụ

```python theme={null}
import os

from browser_use import Agent
from browser_use.llm.openai.like import ChatOpenAILike

llm = ChatOpenAILike(
    model="claude-sonnet-5",
    api_key=os.environ["TOKENLAB_API_KEY"],
    base_url="https://api.tokenlab.sh/v1",
)

agent = Agent(
    task="Compare the top search results for TokenLab integrations",
    llm=llm,
)
```

## Lưu ý về Endpoint

Sử dụng trang này cho các quy trình làm việc Browser Use gọi Chat Completions thông qua client tương thích với OpenAI. Nếu quy trình làm việc của bạn cần các phản hồi gốc của TokenLab, Anthropic Messages hoặc các endpoint của Gemini, hãy sử dụng đường dẫn client trong Browser Use hỗ trợ trực tiếp giao thức đó.
