# SvelteKit AI Chatbot (jianyuan)

An open-source SvelteKit port of Vercel's AI Chatbot template

https://topboilerplates.com/sveltekit-ai-chatbot-jianyuan

Framework: SvelteKit | Pricing: Free | GitHub stars: 179

## Verdict

Best for: SvelteKit developers who want a free, ready-made AI chat interface with swappable model providers.

Skip if: You want a full SaaS product around the chatbot (billing, teams) - this is a chat UI template, not a complete product.

## Description

SvelteKit AI Chatbot is a free, open-source AI chatbot template built with SvelteKit and the Vercel AI SDK, unofficially porting vercel-labs/ai-chatbot to Svelte. It defaults to OpenAI but supports swapping in Anthropic, HuggingFace, or LangChain-backed models, with Auth.js for authentication, shadcn-svelte/Radix Svelte components, Tailwind styling, and Vercel KV for chat history and rate limiting.

## Pros and cons

+ Supports multiple LLM providers (OpenAI, Anthropic, HuggingFace, LangChain) with minimal code changes

+ Free and open-source

+ Built on the well-known Vercel AI SDK with streaming responses

+ Live demo available to try before using

- Chat-only template, not a full SaaS starter - no billing or team features

- Could not verify current GitHub star count or maintenance activity

- Some noted features (like session storage via Vercel KV) were described as still under construction

## Features

- ai-chat
- streaming-responses
- model-agnostic
- auth-included
- rate-limiting
- open-source
- free-tier

## Stack

- Tailwind
- shadcn/ui
- OpenAI
- Anthropic
- LangChain
- Vercel AI SDK
- Vercel
- TypeScript

## Links

- Website: https://topboilerplates.com/go/sveltekit-ai-chatbot-jianyuan
- GitHub: https://github.com/jianyuan/sveltekit-ai-chatbot
- Demo: https://sveltekit-ai-chatbot.vercel.app

## Alternatives

- [Laravel AI Chat](https://topboilerplates.com/laravel-ai-chat)
- [Nuxt AI Chatbot Template](https://topboilerplates.com/nuxt-ai-chatbot-template)
- [Cloudflare Agents Starter](https://topboilerplates.com/cloudflare-agents-starter)
