//
Search for a command to run...
Self-hosted floating AI chat widget with streaming responses and persisted conversation history. Powered by Groq and the Vercel AI SDK — zero paid runtime dependency.
Add these to your .env before installing. The CLI runs Prisma generate and migrate using these values during install — add them first, or the install will fail partway through.
DATABASE_URLrequiredPostgreSQL connection string.
e.g. postgresql://user:pass@localhost:5432/mydbGROQ_API_KEYrequiredGroq API key for LLM inference. Get a free key →
AI_SYSTEM_PROMPTrequiredSystem prompt shaping the assistant's behavior.
e.g. You are a helpful assistant for [AppName]...npx feature101@latest add ai/ai to see the floating widget and live store state in action/ai/ai.constants.ts — one line<AskAI /> anywhere — most commonly app/layout.tsx| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Custom CSS classes for the widget container. |