ai-chatbot

Build a chatbot platform with Next.js, Auth.js, Drizzle ORM, and PostgreSQL.

15|5|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/Eng0AI/eng0-template-skills --skill ai-chatbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-chatbot
Source: https://github.com/Eng0AI/eng0-template-skills/tree/main/ai-chatbot
Command: npx skills add https://github.com/Eng0AI/eng0-template-skills --skill ai-chatbot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill presents a full-featured AI chatbot template with Next.js, authentication, Drizzle ORM, and multi-model support to speed up building AI-powered chat apps.

Core Features & Use Cases

  • Authentication and data storage: Auth.js and Drizzle ORM integration.
  • Multi-model AI: Supports multiple LLM providers via AI SDK / Vercel AI Gateway.
  • Deploy-ready: Ready for Vercel or Netlify deployments.

Quick Start

Clone, install, configure environment variables, migrate, and run:

  • git clone --depth 1 https://github.com/Eng0AI/ai-chatbot-template.git .
  • pnpm install
  • cp .env.example .env
  • pnpm db:migrate
  • pnpm build
  • pnpm start

Frequently Asked Questions about ai-chatbot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a secure AI chatbot with Next.js and authentication?

Build a secure AI chatbot by using this Next.js 15 template with Auth.js for user authentication, Drizzle ORM for persistent data storage in PostgreSQL, and multi-model LLM support via the AI SDK. The template includes pre-configured deployment for Vercel or Netlify.

Can I use multiple LLM providers in a single chatbot application?

Yes. This template supports multi-model AI through the Vercel AI Gateway and AI SDK, allowing you to integrate multiple LLM providers in one application without rebuilding your backend.

What's required to set up a chatbot with PostgreSQL and Drizzle ORM?

Set up a chatbot using Drizzle ORM for database access and PostgreSQL for storage by cloning the template, installing dependencies, configuring environment variables, running database migrations, and deploying to Vercel or Netlify.

Does this chatbot template handle user sessions and conversation history?

Yes. Auth.js manages user authentication and sessions, while Drizzle ORM with PostgreSQL persists conversational state, enabling multi-session conversations and user-specific chat history retrieval.

Can I deploy an AI chatbot built with Next.js 15 without server infrastructure?

Yes. This template deploys on Vercel or Netlify with zero additional server setup. Both platforms handle serverless execution, environment variable management, and database connections automatically.

What authentication methods does the chatbot support out of the box?

The template uses Auth.js, which supports multiple authentication providers and strategies. Consult Auth.js documentation for the full list of configurable methods for your deployment.