AI chatbot or assistant
A model-backed assistant: conversations with streamed responses, retrieval over your own documents, token accounting, and guardrails for when the model is wrong or the input is hostile.
You can change every choice once the builder opens.
Recommended stack
| Section | Recommended |
|---|---|
| Language | TypeScript |
| Frontend framework | Next.js |
| UI and styling | Tailwind CSSshadcn/ui |
| Backend | Next.js server |
| API style | REST |
| Architecture and code structure | Modular monolithLayered codeServerless functions |
| Data handling patterns | Fast lookup by id or keyPaging through long listsKeeping hot data readyCounting events and enforcing limitsQueueing slow work |
| Database engine | PostgreSQL |
| Database provider | Neon |
| ORM and data access | Drizzle |
| Caching | Upstash Redis |
| Authentication | Clerk |
| Authorization and roles | Role-based access control |
| Security | Input validationRate limitingSecurity headers and CSPSecrets managementAudit logs |
| File storage | AWS S3 |
| Background jobs and cron | Inngest |
| AI features | Anthropic APIpgvector embeddings |
| Hosting and deployment | Vercel |
| CI/CD | GitHub Actions |
| Monitoring and analytics | SentryPostHog |
| Testing | VitestPlaywright |
| Extras | Accessibility (WCAG)BackupsDocumentation |