CONTENTFORGER

AI

AI Chat App

Streaming chat interface with Claude backend.

Medium
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 --prod

Cloudflare Pages

npx wrangler pages deploy

Netlify

npx netlify deploy --prod