---
title: "Neon AI"
url: "https://ridwaanhall.com/projects/neon-ai"
markdown: "https://ridwaanhall.com/projects/neon-ai.md"
summary: "An AI chatbot on Next.js, customised from Vercel's open-source chatbot template."
---

# Neon AI

> An AI chatbot on Next.js, customised from Vercel's open-source chatbot template.

- Category: AI
- Status: Completed
- Started: April 16, 2025
- Built with: Next.js, React, TypeScript, TailwindCSS, Radix UI, Shadcn UI, PostgreSQL, Vercel
- Source: https://github.com/ridwaanhall/Neon-AI

## About

### The problem

Chat interfaces often feel slow because they wait for the whole answer, and they lose the conversation between visits.

### The approach

Neon AI starts from Vercel's open-source Next.js chatbot template: the App Router, React Server Components and Server Actions, the AI SDK for streaming text and tool calls, shadcn/ui with Radix primitives, NextAuth for sign-in, and Vercel Postgres (powered by Neon) and Blob for chat history and files.

- Streaming replies that appear as they are written.
- Saved chat history and user data in Postgres.
- A provider-agnostic model layer, with OpenAI as the default.

### The result

A working reference for building a streaming chat interface on Next.js. The hosted demo has since been taken down.

## Features

- **Streaming Responses**: Replies appear while they are being written.
- **Persistent Chats**: History and user data stored in Postgres.
- **Swappable Models**: The AI SDK lets the provider change in a few lines.

## Tags

AI Chatbot, Next.js, Once UI, tailwindcss, TypeScript, Vercel Postgres, Radix UI, Streaming API, Conversational AI, Web App, AI, Chatbot

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/neon-ai
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
