AI Apps Boilerplates

8 ai apps boilerplates and starter kits in the directory — open-source and paid, clearly labelled.

🤖

Vercel's official open-source AI chatbot template — Next.js App Router with the AI SDK, streaming chat UI, model-provider switching (OpenAI, Anthropic, xAI and more), auth, and chat history persistence.

nextjsai-sdkopenai
🔎

Morphic

Open Source

Open-source AI answer engine with a generative UI — a Perplexity-style search experience built on Next.js and the Vercel AI SDK, with pluggable search providers (Tavily, SearXNG, Exa), model switching, and chat history.

nextjsai-sdkrag
💬

Chatbot UI

Open Source

Open-source AI chat interface by Mckay Wrigley — multi-model chat (OpenAI, Anthropic, local models via Ollama), folders and prompts, file attachments, and Supabase-backed persistence. One of the most-forked AI UI codebases on GitHub.

nextjssupabaseopenai
🧊

Fragments by E2B

Open Source

Open-source template for AI apps that generate and run code — a v0/Claude-Artifacts-style interface where LLM output executes in secure E2B sandboxes, with Next.js, the AI SDK, and support for multiple model providers.

nextjsai-sdkcode-interpreter
🎛️

assistant-ui

Open Source

Open-source TypeScript/React library and starter for AI chat interfaces — composable primitives in the shadcn style for messages, threads, streaming, tool calls and generative UI, with AI SDK and LangGraph integrations.

reacttypescriptai-sdk

Official LangChain.js starter for Next.js — working examples of chat, structured output, agents, and retrieval-augmented generation with streaming, ready to deploy on Vercel. The canonical way to start a LangChain web app. Open-source.

langchainnextjsrag

Next.js AI boilerplate shipping multiple ready-made AI demo apps (chat, PDF, vision, audio, image generation) on one codebase — auth, payments, analytics and prompts included, aimed at launching niche AI wrappers fast. Paid, one-time purchase.

nextjsopenaisupabase
🎙️

OpenAI's open-source demo starter for voice agents on the Realtime API — agent handoffs, tool calls, and conversation state patterns in a Next.js app, showing the architecture for production voice assistant products.

openairealtime-apivoice