Skip to main content

LlamaIndex SDKs & Samples

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

JavaScript & TypeScript

Auth0 AI for LlamaIndex

This SDK provides building blocks for using Auth for GenAI 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
ctrl+C

Python

Auth0 AI for LlamaIndex

This SDK provides building blocks for using Auth for GenAI 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
ctrl+C

Sample applications

Checkout our sample applications for LlamaIndex.

  • SmartHR Assistant (Next.js + LlamaIndex): A HR assistant that provides secure access to HR documents based on complex authorization rules.
  • Assistant0 (Next.js) - Coming soon: A fullstack AI personal assistant that consolidates digital life by dynamically accessing multiple tools to help stay organized and efficient.
  • 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 TypeScript samples: Explore our repository of sample applications showcasing Auth0's authentication and authorization capabilities in the context of generative AI applications.
  • Auth0 AI SDK Python 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 LlamaIndex in TypeScript and Python.