qmetrics.net

Next.js Gemini Chatbot

Next.js generative UI chatbot template with AI SDK

Next.js Gemini Chatbot screenshot

Next.js Gemini Chatbot is an open chat UI template using Vercel AI SDK and Google Gemini by default. It supports streaming chat, auth, and swappable model providers.

Overview

Next.js Gemini Chatbot is a starter for building a generative UI chatbot with Next.js and the Vercel AI SDK. The client uses the useChat hook while the server streams model output with streamText, producing a browser chat experience.

The template uses React Server Components and Server Actions for routing and server rendering. The AI SDK provides a unified API for text, structured objects, and tool calls. Google Gemini models ship as the default provider, but the same codebase can target OpenAI, Anthropic, Cohere, and others with small configuration changes.

Data persistence and simple authentication are included. You can deploy a copy to Vercel with one click or run it locally after setting environment variables from the example file, typically on localhost port 3000.

It is aimed at developers who want a working chat front end and backend pattern rather than a hosted-only product, with deployment left to your own infrastructure or Vercel account.

Key features

  • Streaming chat with useChat
  • Vercel AI SDK integration
  • Default Google Gemini models
  • Swappable LLM providers
  • React Server Components routing
  • Server Actions support
  • Authentication and persistence
  • One-click Vercel deploy option

Use cases

  • Prototype Gemini chat applications
  • Learn generative UI patterns
  • Self-hosted team chatbot
  • Compare multiple LLM providers
  • Extend with custom tools and UI

Tags

Similar software

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

  • Works in 20+ chat channels such as WhatsApp, Telegram, Slack and Discord
  • Native apps for macOS, iOS, Android, Windows and Linux
  • Gateway control plane with Control UI, CLI and TUI
TypeScriptLinux, macOS, Windows, AndroidDetails →
★ 395.6k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+7

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

  • Persistent memory and cross-session search
  • Autonomous skill creation and self-improvement
  • Terminal UI and desktop app
PythonWeb, Linux, macOS, WindowsDetails →
★ 268.2k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+5

NextChat

Cross-platform AI chat client with local data

NextChat is a lightweight assistant UI for Claude, DeepSeek, GPT, and Gemini, on web and desktop with browser-local storage.

  • Multi-provider LLM chat UI
  • Browser-local conversation storage
  • Markdown, Mermaid, and code rendering
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 89k⟳ 1 month agoMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+4

GPT4All

Desktop app for running LLMs privately on local hardware

GPT4All is a desktop chat application that runs large language models locally on everyday computers, with no API calls or GPU required. It also offers a Python client and an OpenAI-compatible API server.

  • Runs LLMs locally, no GPU required
  • Private chat with your own files via LocalDocs
  • Vulkan GPU inference on NVIDIA and AMD
C++Linux, macOS, WindowsDetails →
★ 77.3k⟳ 1 year agoMIT
AI Interaction & InterfacesNo commits in 18+ monthsDesktop/CLI app
Open Source Alternative to:ChatGPTChatGPT Plus+4

GPT Academic

LLM web interface optimized for academic writing tasks

GPT Academic provides a browser-based interface to GPT, GLM, and other large language models with plugins for polishing, translating, and analyzing papers and code. It supports many commercial and local model backends.

  • Modular function plugins
  • LaTeX and PDF paper tools
  • Multi-model parallel queries
PythonLinux, macOS, Windows, DockerDetails →
★ 71.8k⟳ 10 months agoGPL-3.0

AnythingLLM

All-in-one private AI app for chatting with documents and running agents

AnythingLLM is an AI application for chatting with your documents and using AI agents, connecting to local or cloud LLMs. It runs as a desktop app or a self-hosted multi-user Docker deployment.

  • Chat with documents with source citations
  • No-code agent builder and custom agent skills
  • MCP compatibility
JavaScriptLinux, macOS, Windows, AndroidDetails →
★ 68.9k⟳ 9 days agoMIT
Open Source Alternative to:ChatGPTChatGPT Plus+8