This is a simple app that demonstrates how to build a generative AI app with Langgraph.js, Next.js and Vercel AI SDK with streaming support.
Please leave a ⭐️ if you like the project!
Try out the chat completions with history demo at https://next-langgraph-example.vercel.app/chat
Try out the simple chat completion demo at https://next-langgraph-example.vercel.app/completion
- Copy the
.env.example
file to.env
and set the environment variables.
cp .env.example .env
- Run the development server:
npm run dev
- Add simple chat completion
- Add chat completions with history
- Add tool calling
- Add Generative UI with tool calling