Skip to main content

Vercel AI SDKs & Samples

Auth for GenAI Vercel AI SDK make it easy for developers to integrate with and secure any AI agent workflow using Vercel AI.

Auth0 AI for Vercel AI SDK

This SDK provides building blocks for using Auth for GenAI with the Vercel AI SDK. It includes tools for implementing asynchronous user authentication, tools for getting access tokens for third-party connections, building blocks to handle interrupts, and OpenFGA-based tool authorizers. It supports:

  • Tools for implementing asynchronous user authentication
  • Tools for getting access tokens for third-party connections
  • OpenFGA-based tool authorizers
npm install @auth0/ai-vercel
ctrl+C

Sample applications

Checkout our sample applications for JavaScript/TypeScript built with frameworks like LangGraph and Vercel AI.

  • Assistant0 (Next.js): A fullstack AI personal assistant that consolidates digital life by dynamically accessing multiple tools to help stay organized and efficient.
  • Agent0 (React + Fastify + Vercel AI SDK): A full-stack AI personal assistant powered by React and Fastify, that invokes your APIs using tool calls on a logged-in user's behalf.
  • AI Samples: Explore our repository of sample applications showcasing Auth0's authentication and authorization capabilities in the context of generative AI applications.
  • Auth0 AI SDK samples: Explore our repository of sample applications showcasing Auth0's authentication and authorization capabilities in the context of generative AI applications.

Guides & Tutorials

Checkout our guides for Vercel AI in TypeScript.