AI
AI Chat App
Streaming chat interface with Claude backend.
aistreamingchat
Expected output — 5 files
app/page.tsx
app/api/chat/route.ts
components/chat.tsx
components/message.tsx
lib/anthropic.ts
System prompt
Build an AI chat application that streams responses from Claude via server-sent events. Include message history, markdown rendering, code highlighting and a sleek dark UI.
Deploy after generating
Vercel
npx vercel --prodCloudflare Pages
npx wrangler pages deployNetlify
npx netlify deploy --prod