Skip to content
r.

langchain-nextjs-template

langchain-ai/langchain-nextjs-template · Public GitHub repository

LangChain + Next.js starter template

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

langchain-nextjs-template live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

This template scaffolds a LangChain.js + Next.js starter app. It showcases how to use and combine LangChain modules for several use cases. Specifically:

Most of them use Vercel's AI SDK to stream tokens to the client and display the incoming messages.

The agents use LangGraph.js, LangChain's framework for building agentic workflows. They use preconfigured helper functions to minimize boilerplate, but you can replace them with custom graphs as desired.

Requirements and intended audience

This template scaffolds a LangChain.js + Next.js starter app. It showcases how to use and combine LangChain modules for several use cases. Specifically:

Not recorded: account, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-02. Source: https://github.com/langchain-ai/langchain-nextjs-template/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-23. A published release has not been recorded. These dates do not guarantee ongoing maintenance.

Technologies
React, Next.js
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories