LangChain SDKs & Samples
Auth for GenAI LangChain & LangGraph SDK make it easy for developers to integrate with and secure any AI agent workflow using LangChain and LangGraph.
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
ctrl+C
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
ctrl+C
Sample applications
Checkout our sample applications built with LangChain and LangGraph.
- Assistant0 (Next.js): 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 LangChain and LangGraph in TypeScript and Python.