Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Latest commit

 

History

History

README.md

GenSX Deep Research

Use this template

This is a Next.js deep research template for GenSX with a multi-step research workflow that iteratively searches the web, extracts key findings, and generates detailed reports.

Deep Research Screenshot

Getting started

To get started, first install the dependencies:

pnpm install

Then export the environment variables. For this template, you'll need both the OpenAI API key, Anthropic API key, and the Tavily API key:

export OPENAI_API_KEY=...
export ANTHROPIC_API_KEY=...
export TAVILY_API_KEY=...
pnpm run dev

This will start both the Next.js app as well as the local GenSX dev server. The app will be available at http://localhost:3000 and the GenSX dev server will be available at http://localhost:1337.

Deploying the app

Deploying the GenSX workflows

To deploy the GenSX workflows, run:

pnpm run deploy

Deploying the Next.js app

The easiest way to deploy your Next.js app is to use Vercel.

Once you deploy, make sure to set the following environment variables so the app can access the GenSX workflows:

export GENSX_API_KEY=...
export GENSX_ORG=...
export GENSX_PROJECT=chat-tools
export GENSX_ENV=default