Browser Use
Integration with browser-use
Browser Use is a specialized sub-agent mechanism designed for navigating websites, extracting data, filling forms, and performing various actions. Thanks to its intelligently structured design, it works seamlessly with most LLMs and achieves high scores in the Voyager benchmark.
If the agent you are designing needs to browse websites or interact with them, you can easily integrate Browser Use both locally and within the Secure Runtime using BeaconLabs.
Note: Computer Use is not supported in DeepSeek models at this time.
Installation Steps
Install Browser Use:
shCopyEditpip install browser-use
Install Playwright:
shCopyEditplaywright install
Example Usage
pythonCopyEditfrom beaconlabs import Task, Agent, ObjectResponse
from beaconlabs.client.tools import BrowserUse # Importing Browser Use
class Product(ObjectResponse):
name: str
price: float
class ProductList(ObjectResponse):
products: list[Product]
task = Task(
"Go and get the latest suggested phones on amazon.com",
tools=[BrowserUse], # Enabling Browser Use
response_format=ProductList
)
agent = Agent("Browser Use Agent")
agent.print_do(task)
Last updated