langchain-nextjs-template vs chat

Two of the top chat apps, side by side: score, setup, license, activity and what each review found.

11st of 12 in Chat apps

langchain-nextjs-template

Next.js routes for LangChain.js chat, agents, structured output and RAG

33rd of 12 in Chat apps

chat

Nuxt UI chat template with GitHub login, SQLite history and AI Gateway

langchain-nextjs-template vs chat: score parts and facts
What we comparelangchain-nextjs-templatechat
Score parts, out of 100
Adoption63, popular14, niche
Freshness100, active100, active
Maintenance33, patchy33, patchy
Easy to run67, easy67, easy
Agent-ready0, none0, none
Facts from GitHub and the README
Stars2.5k376
LicenseMIT (permissive)MIT (permissive)
Last commitOct 2026Oct 2026
Last releaseNone publishedNone published
LanguageTypeScriptVue
DockerNoNo
GPUNot neededNot needed
arm64 or Apple SiliconNot statedNot stated

langchain-nextjs-template

Five Next.js API routes that each show one LangChain.js pattern: plain chat, Zod structured output, a prebuilt LangGraph.js agent with Tavily search, and RAG as a chain and as an agent over a Supabase pgvector table. Tokens stream to the client through the AI SDK, routes run on Edge functions, and there is no auth or persistence beyond the vector table. For developers learning LangChain.js who want runnable routes to copy.

Who it is for: Developers learning LangChain.js on Next.js

Strengths

  • Each pattern is one route file you can lift into your own app
  • Hosted demo on Vercel
  • Mock-backed integration tests run without API keys or a live database
  • Supabase adapter reuses the documents table and match_documents function; no migration

Weaknesses

  • No auth and no chat history persistence
  • OpenAI only out of the box; other providers need code changes
  • Re-ingesting the same text duplicates vectors; no dedupe
  • Agent and search examples need a Tavily key
  • TypeScript, openai, langchain, langgraph, ai-sdk
  • Needs openai-api-key, supabase, tavily-api-key
  • GitHub template
  • env example file

chat

A Nuxt app on Nuxt UI and the AI SDK: streaming replies with reasoning, three models through Vercel AI Gateway (Claude Haiku 4.5, Gemini 3 Flash, GPT-5 Nano), provider web search, dictation over WebSocket, and chart and weather tool calls. GitHub OAuth, chat history in SQLite or Turso through Drizzle, and NuxtHub Blob uploads are included. For Vue and Nuxt teams who want a complete chat UI with persistence.

Who it is for: Vue and Nuxt teams who want a complete chat UI

Strengths

  • Auth, Drizzle migrations and uploads wired; local dev needs no external database
  • Blob storage swaps between local disk, Vercel Blob, Cloudflare R2 and S3
  • Live demo and a one-command scaffold (npm create nuxt -t ui/chat)
  • Committed within the last day

Weaknesses

  • Models and dictation go through Vercel AI Gateway; direct keys need code changes
  • Auth is GitHub OAuth only
  • No tests listed
  • Production database path assumes Turso
  • Vue, ai-gateway, ai-sdk, anthropic, google
  • Needs ai-gateway-api-key, github-oauth-app, sqlite-or-turso
  • GitHub template
  • env example file

More in Chat apps