DeepResearchAgent helps break down complex tasks into smaller steps,
using web scraping and other techniques to find the information you
need. Instead of handling everything at once, it tackles each part step
by step, making research easier and more efficient. Whether you’re
looking for specific details, gathering data, or just trying to solve a
tricky problem, this agent does the heavy lifting for you.
Installation
Note:DeepResearchAgent is built on top of
Browser Use, which
requires Python 3.11 or higher.
To get started with the DeepResearchAgent agent, follow these steps:
-
Install AG2 with the
browser-useextra:Note: If you have been using
autogenorag2, all you need to do is upgrade it using:orasautogen, andag2are aliases for the same PyPI package. -
Set up Playwright:
-
For running the code in Jupyter, use
nest_asyncioto allow nested event loops.bash pip install nest_asyncio
Imports
Starting the Conversation
This code initializesDeepResearchAgent and asks it to find out
What was the impact of DeepSeek on stock prices and why? using
GPT-4o.
Note: Models like gpt-4o-mini often don’t perform well enough
for complex tasks.