JavaScript & TypeScript

Auth0 AI for LangChain

This SDK provides building blocks for using Auth for GenAI with LangChain and LangGraph. 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-langchain

Python

Auth0 AI for LangChain

This SDK provides building blocks for using Auth for GenAI with LangChain and LangGraph. 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-langchain

Sample applications

Checkout our sample applications built with LangChain and LangGraph.

Guides & Tutorials

Checkout our guides for LangChain and LangGraph in TypeScript and Python.