langchain-nextjs-template vs chat
Two of the top chat apps, side by side: score, setup, license, activity and what each review found.
langchain-nextjs-template
Next.js routes for LangChain.js chat, agents, structured output and RAG
chat
Nuxt UI chat template with GitHub login, SQLite history and AI Gateway
| What we compare | langchain-nextjs-template | chat |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 63, popular | 14, niche |
| Freshness | 100, active | 100, active |
| Maintenance | 33, patchy | 33, patchy |
| Easy to run | 67, easy | 67, easy |
| Agent-ready | 0, none | 0, none |
| Facts from GitHub and the README | ||
| Stars | 2.5k | 376 |
| License | MIT (permissive) | MIT (permissive) |
| Last commit | Oct 2026 | Oct 2026 |
| Last release | None published | None published |
| Language | TypeScript | Vue |
| Docker | No | No |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Not stated | Not 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