Skip to main content

JavaScript & TypeScript

Auth0 AI for LlamaIndex

This SDK provides building blocks for using Auth0 for AI Agents with LlamaIndex. Includes a RAG Retriever for using OpenFGA, tools for implementing asynchronous user authentication, tools for getting access tokens for third-party connections, and OpenFGA-based tool authorizers. It supports:
  • A RAG Retriever for using OpenFGA
  • Tools for implementing asynchronous user authentication
  • Tools for getting access tokens for third-party connections
  • OpenFGA-based tool authorizers
npm install @auth0/ai-llamaindex

Python

Auth0 AI for LlamaIndex

This SDK provides building blocks for using Auth0 for AI Agents with LlamaIndex. Includes a RAG Retriever for using OpenFGA, tools for implementing asynchronous user authentication, tools for getting access tokens for third-party connections, and OpenFGA-based tool authorizers. It supports:
  • A RAG Retriever for using OpenFGA,
  • Tools for getting access tokens for third-party connections,
  • OpenFGA-based tool authorizers.
pip install auth0-ai-llamaindex

Sample applications

Checkout our sample applications for LlamaIndex.

SmartHR Assistant

An AI HR assistant that provides secure access to HR documents based on complex authorization rules. This demonstrates the use of Auth0 FGA to secure RAG applications with relationship-based access control (Fine-Grained Authorization).

Assistant0 (Next.js)

A fullstack AI personal assistant with pre-configured tools that demonstrates different Auth0 for AI Agents 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.

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 Auth0 for AI Agents feature.

Auth0 AI SDK TypeScript Samples

Explore example applications that accompany Auth0’s JavaScript AI SDKs. These demonstrate recommended implementation patterns for the SDKs.

Auth0 AI SDK Python Samples

Explore example applications that accompany Auth0’s Python AI SDKs. These demonstrate recommended implementation patterns for the SDKs.

Guides & Tutorials

Checkout our guides for LlamaIndex in TypeScript and Python.

Check Google Calendar Availability

List GitHub Repositories

List Slack Channels