Templates
The fastest path from idea to AI app.
Start from official app templates, examples, and framework integrations — with the right primitives already wired up.
AI Functions
Scripts and test suites for validating, testing, and iterating on AI functions across providers.
Express.js
Use the AI TOOLKIT in an Express.js server to generate and stream text and objects.
Fastify
Use the AI TOOLKIT in a Fastify server to generate and stream text and objects.
Hono
Use the AI TOOLKIT in a Hono server to generate and stream text and objects.
Node.js HTTP Server
Use the AI TOOLKIT in a simple Node.js HTTP server to generate and stream text and objects.
Angular Chat
A simple chat application built with Angular that connects to OpenAI models using the AI TOOLKIT.
NestJS
Use the AI TOOLKIT in a Nest.js server to generate and stream text and objects.
Next.js Agent
A minimal example to show code modularization with agents, tools, and components.
Next.js + FastAPI
Use the AI TOOLKIT with Next.js and FastAPI to create AI-powered streaming applications.
Next.js + LangChain
Use the AI TOOLKIT with Next.js, LangChain, LangGraph, and OpenAI to create AI-powered streaming applications.
Next.js Pages Router
Use the AI TOOLKIT with the Next.js pages router and OpenAI to create a ChatGPT-like streaming chat bot.
Next.js + OpenAI Chat
Use the AI TOOLKIT with Next.js and OpenAI to create a ChatGPT-like AI-powered streaming chat bot.
Next.js Minimal
A minimal Next.js example to test persistence, SSR, and stream resume.
Nuxt + OpenAI Chat
Use the AI TOOLKIT with Nuxt and OpenAI to create a ChatGPT-like AI-powered streaming chat bot.
MCP Integration
Use the AI TOOLKIT with MCP to convert between MCP and AI TOOLKIT tool calls.
Google Vertex AI
Use the AI TOOLKIT with Next.js and Google Vertex AI to validate the Google Vertex provider on the Edge runtime.
Kasada Bot Protection
Integration of an AI chat app based on the AI TOOLKIT and Kasada's advanced bot protection solution.
OpenTelemetry + Sentry
Use the AI TOOLKIT with Next.js, OpenAI, and Sentry to create a streaming chat bot with OpenTelemetry support.
OpenTelemetry
Use the AI TOOLKIT with Next.js and OpenAI to create a streaming chat bot with OpenTelemetry support.
Upstash Rate Limits
Use the AI TOOLKIT with Next.js and OpenAI to create a streaming chat bot with rate limits using Vercel KV.
Playground
An interactive web-based playground for experimenting with AI models and providers using the AI TOOLKIT.