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
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 with pre-configured tools that demonstrate different Auth for GenAI features like User Authentication, Calling APIs (Gmail, Google Calendar, etc) securely using Token Vault, Human-in-the-loop interactions using Asynchronous Authorization, and using Auth0 FGA for securing RAG tools.
Agent0 (Fastify)
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 standalone sample applications that showcase
Auth0’s authentication and authorization capabilities in generative AI
applications. Each sample demonstrates a specific Auth for GenAI feature.
Auth0 AI SDK Samples
Explore example applications that accompany Auth0’s JavaScript AI SDKs.
These demonstrate recommended implementation patterns for the SDKs.