DEV Community

Cover image for Build a Deep Research AI agent using Next.js, the Vercel AI SDK, and multiple LLMs, including Gemini and Deepseek.
CodeBucks
CodeBucks

Posted on

2 1 1

Build a Deep Research AI agent using Next.js, the Vercel AI SDK, and multiple LLMs, including Gemini and Deepseek.

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay