I have built an open source Deep Research AI agent like Gemini or ChatGPT. Using Next.js, Vercel AI SDK, and Exa Search API, It generates follow-up questions, crafts optimal search queries, and compiles comprehensive research reports.

Using open router it is using multiple LLMs for different stages. At the last stage I have used gemini 2.0 reasoning model to generate comprehensive report based on the collected data from web search.

Check out the tutorial👇🏻

Let me know your thoughts, and feel free give star on the github repo.