Skip to content

An example project built with Vercel AI SDK + AiMo Network

Notifications You must be signed in to change notification settings

AIMOverse/vercel-chatbot-example

Repository files navigation

Vercel AI SDK + AiMo Network Chatbot Demo

A minimal web chatbot built with:

  • Vercel AI SDK (React + server actions)
  • AiMo Network (as the model provider layer)

This repo demonstrates a simple chat UI with streaming responses and a lightweight Next.js 15 app setup.

Prerequisites

  • Node.js 18.17+ (or 20+ recommended)
  • pnpm 8+ installed globally

To install pnpm: corepack enable corepack prepare pnpm@latest --activate

Quick Start

  1. Clone and enter the project: git clone cd vercel-chatbot-example

  2. Create your environment file from the example: cp .env.example .env

  3. Fill in the required keys in .env:

    • API key for AiMo Network
    • Any base URLs as required by your setup
    • Refer to .env.example for the full list of variables
  4. Install dependencies: pnpm install

  5. Start the dev server: pnpm dev

Open http://localhost:3000 to use the chatbot.

Common Scripts

  • Development: pnpm dev

  • Production build: pnpm build

  • Start production server (after build): pnpm start

  • Lint and format (Biome): pnpm lint pnpm format

Notes

  • This project uses Next.js App Router and React 19.
  • The chat endpoint leverages Vercel AI SDK for streaming and toolable responses.

About

An example project built with Vercel AI SDK + AiMo Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published