Browser Use is essentially a sub-agent mechanism developed for navigating websites, extracting data, filling forms, and taking actions. Thanks to its intelligently designed structure, it can easily work with almost all LLMs and achieves very high scores in the Voyager benchmark.

If you need the agent you’re designing to navigate a website or take actions on it, you can easily do this both locally and within the Secure Runtime using Upsonic and browser use mcp integration.

Example

from upsonic import Task, Agent



from pydantic import BaseModel

class Product(BaseModel):
    name: str
    price: float
class ProductList(BaseModel):
    products: list[Product]



class BrowserUse:
    command = "npx"
    args = ["@playwright/mcp@latest"]



task = Task(
  "Go and get the latest suggested phones and their prices in google.com", 
  tools=[BrowserUse], # Enabling Computer Use
  response_format=ProductList
)


agent = Agent()

agent.print_do(task)