简介
Next.js AI Chatbot 是 Vercel 官方 AI 聊天机器人参考应用,GitHub 8,000+ stars。包含流式响应、工具使用、文件上传、会话历史和用户认证。基于 Next.js、AI SDK、shadcn/ui 和 PostgreSQL。适合需要生产级 AI 聊天应用起点的开发者。
Production-ready AI chatbot template by Vercel using Next.js, AI SDK, shadcn/ui, and Auth.js. Supports Claude, GPT-4, and Gemini. Streaming, tool use, file uploads, and conversation history. 8,000+ stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
npx create-next-app --example https://github.com/vercel/ai-chatbot my-chatbot
cd my-chatbot && cp .env.example .env.local
# 添加 ANTHROPIC_API_KEY
npm run devNext.js AI Chatbot 是 Vercel 官方 AI 聊天机器人参考应用,GitHub 8,000+ stars。包含流式响应、工具使用、文件上传、会话历史和用户认证。基于 Next.js、AI SDK、shadcn/ui 和 PostgreSQL。适合需要生产级 AI 聊天应用起点的开发者。
Created by Vercel. Licensed under MIT.
ai-chatbot — ⭐ 8,000+