import sys sys.path.insert(0, "../") # don't run this cell if you have already set the key in environment variables from agency_swarm import set_openai_key set_openai_key("") from agency_swarm import Agency, Agent from agency_swarm.agents import BrowsingAgent, Devid selenium_config = { # your profile path # "chrome_profile_path": "/Users/vrsen/Library/Application Support/Google/Chrome Canary/Profile 1", "headless": False, "full_page_screenshot": False, } browsing_agent = BrowsingAgent(selenium_config=selenium_config) agency = Agency([browsing_agent]) demo = agency.demo_gradio(height=700) # reload the notebook each time you run this cell