WebSurferAgent
is a good choice. The agent actions the request(s) given to it by determining what to do on the web and browsing and crawling it, returning the details of what it finds.
The WebSurferAgent
has two in-built web tools to choose from:
Browser Use
requires Python 3.11 or higher.WebSurferAgent
, install AG2 with the browser-use
and/or crawl4ai
extras.
autogen
or ag2
, all you need to do is upgrade it using:autogen
and ag2
are aliases for the same PyPI package.Browser Use
supports the following models: Supported ModelsWe had great experience with OpenAI
, Anthropic
, and Gemini
. However, DeepSeek
and Ollama
haven’t performed as well.WebSurferAgent
and create an LLM configuration for the browser-use tool to use.
run
method so it can add them to the internal executor agent to execute.