{"repo":"FranciscoMoretti/ai-sdk-deep-research","free":true,"listed":false,"github":"https://github.com/FranciscoMoretti/ai-sdk-deep-research","clone":"git clone https://github.com/FranciscoMoretti/ai-sdk-deep-research.git","description":"A minimal, end‑to‑end deep‑research agent implemented with AI SDK and Next.js","language":"TypeScript","stars":113,"topics":["ai-chatbot","ai-sdk","aisdk","deep-research","nextjs","openai"],"license":null,"category":"ai-agents","readme_excerpt":"AI SDK Deep Research (Minimal Example) https://github.com/user-attachments/assets/82f5dab6-2408-4165-8aa3-124a00032a50 A minimal, end‑to‑end deep‑research agent implemented with AI SDK and Next.js. It mirrors the architecture of Open Deep Research while replacing LangChain/Graph with AI SDK’s streaming, tool calling, and structured outputs. Includes a small UI that surfaces intermediate research updates in real time. - Architecture reference : inspired by Open Deep Research link - Prod‑ready example : see sparka link What you get - Deep research loop with planning, web search, iterative supervision, and final report generation - AI SDK tools + streaming wired into a Next.js route for SSR and resumable streams - UI components that render intermediate updates (queries, results, thoughts, writing) in the chat Architecture from Open Deep Research Quickstart Requirements - Node.js 20+ - An OpenAI API key - A Tavily API key - Optional Redis for resumable, persistent SSE streams Environment Create .env.local at the repo root: Notes: - OPENAI API KEY is required to run the language model. - TAVILY API KEY is required for web search (default provider). - REDIS URL is optional; without it, resumable streaming is disabled gracefully but the app still works. ### Install & run Open http://localhost:3000 and ask a research question. How it works High level - API route POST app/api/chat/route.ts creates a streaming AI SDK session ( streamText ) with the deep‑research tool attached and forwa","default_branch":null,"files":null,"tree":[],"storefront":"/r/FranciscoMoretti","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FranciscoMoretti/ai-sdk-deep-research/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}