Skip to content

auth0-lab/auth0-ai-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth0 AI for Python

Warning

Auth0 AI is currently under development and it is not intended to be used in production, and therefore has no official support.

Auth0 AI helps you build secure AI-powered applications.

Developers are using LLMs to build generative AI applications that deliver powerful new experiences for customers and employees. Maintaining security and privacy while allowing AI agents to assist people in their work and lives is a critical need. Auth0 AI helps you meet these requirements, ensuring that agents are properly authorized when taking actions or accessing resources on behalf of a person or organization. Common use cases include:

  • Authenticate users: Easily implement login experiences, tailor made for AI agents and assistants.
  • Call APIs on users' behalf: Use secure standards to call APIs from tools, integrating your app with other products.
  • Authorization for RAG: Generate more relevant responses while ensuring that the agent is only incorporating information that the user has access to.
  • Async user confirmation: Allow agents to operate autonomously in the background while requiring human approval when needed.

Packages

Examples

  • Authorization for RAG: Examples about how to implement secure document retrieval with strict access control using Okta FGA.
  • Async User Confirmation: Provides examples of handling asynchronous user confirmation workflows.

Recommendations for VSCode Users

To streamline development with Poetry and virtual environments in VSCode, follow these steps:

  1. Configure Poetry to Use In-Project Virtual Environments Run the following command to ensure the virtual environment is created within your project directory (e.g., .venv):

    poetry config virtualenvs.in-project true
  2. Select the Correct Interpreter in VSCode

    • Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
    • Search for and select Python: Select Interpreter.
    • Choose the interpreter located in the .venv folder (e.g., .venv/bin/python).

Feedback

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Raise an issue

To provide feedback or report a bug, please raise an issue on our issue tracker.

Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.


Auth0 Logo

Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?

This project is licensed under the Apache 2.0 license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages