Skip to content

patrickhulce/hulkchat

Repository files navigation

An open-source AI chatbot app built with Next.js, the Vercel AI SDK, OpenAI, Anthropic, and Vercel KV.

Features · Model Providers · Running locally ·


Features

  • Next.js App Router
  • React Server Components (RSCs), Suspense, and Server Actions
  • Vercel AI SDK for streaming chat UI
  • Support for OpenAI (default) and Anthropic
  • Edge runtime-ready
  • Chat History, rate limiting, and session storage with Vercel KV
  • NextAuth.js for authentication

Model Providers

This template ships with OpenAI gpt-3.5-turbo as the default. However, thanks to the Vercel AI SDK, you can switch LLM providers to Anthropic, Hugging Face, or using LangChain with just a few lines of code.

Running locally

  1. Install Vercel CLI: npm i -g vercel
  2. Link local instance with the Vercel project accounts (creates .vercel directory): vercel link
  3. Download the environment variables: vercel env pull

First Terminal

pnpm install
pnpm dev

Second Terminal

npx inngest-cli@latest dev

The app should now be running on localhost:3000.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from vercel/chatbot