react-ai-streamv1.0.0
GitHubGitHub (opens in a new tab) (opens in a new tab)
  • Introduction
  • ▶ Live Playground
  • Quickstart
  • 📦 All Packages
  • 🚀 Deploy to Vercel
  • Concepts
    • Overview
    • How streaming works
    • Why backend-agnostic?
    • Streaming lifecycle
    • Hook architecture
  • Providers
    • Overview
    • Custom endpoint
    • Anthropic
    • OpenAI / compatible
  • Adapters
    • Overview
    • Express (Node.js)
    • Vue 3
    • Python (FastAPI / Starlette)
  • UI Components
  • UI Components
  • Examples
    • Overview
    • Minimal (hook only)
    • Custom UI (Tailwind)
    • Multi-model
  • Templates
    • Overview
    • Next.js + OpenAI
    • Next.js + Anthropic
    • Express + React
    • FastAPI + React
    • Multi-model comparison
    • Support chat widget
    • Copilot sidebar
  • Reference
    • Overview
    • useAIChat
    • createAIClient
    • Types
  • Architecture
  • RAIS Protocol
  • Why RAIS Exists
  • DevTools
  • Compliance
  • Reference Server
  • Stats
    • Overview
    • Stream Claude in Next.js
    • FastAPI backend
    • Custom markdown rendering
    • Persist chat state
  • FAQ
  • Ecosystem Roadmap

On This Page

  • Or scaffold instantly
Question or issue? Open on GitHub → (opens in a new tab)Edit this page
Templates
Overview

Templates

Production-ready copy-paste templates. Each one is a complete working app — pick the stack that matches yours.

Next.js + OpenAINext.js + AnthropicExpress + ReactFastAPI + ReactMulti-model comparisonSupport chat widgetCopilot sidebar

Or scaffold instantly

npx create-ai-stream-app

Answer three questions and get a running app with streaming wired up end-to-end.

Multi-modelNext.js + OpenAI

MIT LicenseGitHubnpmLive demo