Save this block to your file system
Add required npm packages
pnpm i @ai-sdk/react ai zod lucide-react @icons-pack/react-simple-icons
Install shadcn/ui components
pnpm dlx shadcn@latest add button task
Set up AI-powered components
npx ai-elements@latest
Configure OpenAI for AI-powered features