@@ -844,11 +844,11 @@ async def developer_agent(options: Chat):
844844
845845
846846@traceroot .trace ()
847- def search_agent (options : Chat ):
847+ def browser_agent (options : Chat ):
848848 working_directory = get_working_directory (options )
849- traceroot_logger .info (f"Creating search agent for project: { options .project_id } in directory: { working_directory } " )
849+ traceroot_logger .info (f"Creating browser agent for project: { options .project_id } in directory: { working_directory } " )
850850 message_integration = ToolkitMessageIntegration (
851- message_handler = HumanToolkit (options .project_id , Agents .search_agent ).send_message_to_user
851+ message_handler = HumanToolkit (options .project_id , Agents .browser_agent ).send_message_to_user
852852 )
853853
854854 web_toolkit_custom = HybridBrowserToolkit (
@@ -878,10 +878,10 @@ def search_agent(options: Chat):
878878 # Save reference before registering for toolkits_to_register_agent
879879 web_toolkit_for_agent_registration = web_toolkit_custom
880880 web_toolkit_custom = message_integration .register_toolkits (web_toolkit_custom )
881- terminal_toolkit = TerminalToolkit (options .project_id , Agents .search_agent , safe_mode = True , clone_current_env = False )
881+ terminal_toolkit = TerminalToolkit (options .project_id , Agents .browser_agent , safe_mode = True , clone_current_env = False )
882882 terminal_toolkit = message_integration .register_functions ([terminal_toolkit .shell_exec ])
883883
884- note_toolkit = NoteTakingToolkit (options .project_id , Agents .search_agent , working_directory = working_directory )
884+ note_toolkit = NoteTakingToolkit (options .project_id , Agents .browser_agent , working_directory = working_directory )
885885 note_toolkit = message_integration .register_toolkits (note_toolkit )
886886 search_tools = SearchToolkit .get_can_use_tools (options .project_id )
887887 # Only register search tools if any are available
@@ -891,7 +891,7 @@ def search_agent(options: Chat):
891891 search_tools = []
892892
893893 tools = [
894- * HumanToolkit .get_can_use_tools (options .project_id , Agents .search_agent ),
894+ * HumanToolkit .get_can_use_tools (options .project_id , Agents .browser_agent ),
895895 * web_toolkit_custom .get_tools (),
896896 * terminal_toolkit ,
897897 * note_toolkit .get_tools (),
@@ -1011,9 +1011,9 @@ def search_agent(options: Chat):
10111011 """
10121012
10131013 return agent_model (
1014- Agents .search_agent ,
1014+ Agents .browser_agent ,
10151015 BaseMessage .make_assistant_message (
1016- role_name = "Search Agent" ,
1016+ role_name = "Browser Agent" ,
10171017 content = system_message ,
10181018 ),
10191019 options ,
@@ -1493,7 +1493,7 @@ async def social_medium_agent(options: Chat):
14931493 - Communicate with other agents using messaging tools when collaboration
14941494 is needed. Use `list_available_agents` to see available team members and
14951495 `send_message` to coordinate with them, especially when you need content
1496- from document agents or research from search agents.
1496+ from document agents or research from browser agents.
14971497
149814989. File System Access:
14991499 - You can use terminal tools to interact with the local file system in
0 commit comments