PROJECT / 2025
SynGraph
Deep Research Agent
LangGraph + Next.js workflow that orchestrates supervisor/worker agents for deep research with Tavily and Exa search and clarifying questions to the user.
- stack
- TypeScript · Next.js · LangGraph · Google Gemini · Tavily · Exa · Tailwind CSS
How it works
question
you askclarify
asks back if it's vaguesupervisor
workers search Tavily and Exareport
Gemini Pro writes it
01 / Overview
Course project (TNM114) that builds an agentic research stack: a router detects follow-ups vs new requests, a supervisor delegates to parallel researcher agents, and reports are synthesized with citations. Runs on Gemini 3 Pro with a configurable model per node (routing, research, compression, report), and uses Tavily or Exa for web/semantic search.
02 / Key features
- –Supervisor-worker LangGraph with typed state and parallel researchers
- –Asks a clarifying question when a request is ambiguous, before planning
- –Tavily or Exa search (set per run) with compression and source tracking
- –Follow-up handling to merge prior context with new queries
- –Report generation pipeline producing cited research briefs
03 / Challenges
- –Routing between new research and follow-up answers reliably
- –Keeping research loops transparent with cited sources
- –Balancing depth vs speed with a separate model setting per graph node
04 / Solution
Implements typed graph nodes for route/clarify/brief/supervisor/report, integrates Tavily and Exa connectors, and gives each role (routing, follow-up, research, compression, report) its own configurable model, with Gemini 3 Pro as the default.
05 / Outcome
A deep-research flow with clarifying questions, parallel subtopic research and cited reports, written up in a course report.