WebSurferAgent

WebSurferAgent(
    llm_config: dict[str, typing.Any],
    *args,
    web_tool: Literal['browser_use', 'crawl4ai'] = 'browser_use',
    web_tool_kwargs: dict[str, typing.Any] = None,
    **kwargs
)

An agent that uses web tools to interact with the web.

Initialize the WebSurferAgent.

Parameters:
NameDescription
llm_configThe LLM configuration.

Type: dict[str, typing.Any]
*args
web_toolThe web tool to use.

Defaults to “browser_use”.

Type: Literal['browser_use', 'crawl4ai']

Default: ‘browser_use’
web_tool_kwargsThe keyword arguments for the web tool.

Defaults to None.

Type: dict[str, typing.Any]

Default: None
**kwargs

Instance Attributes

tools