{"id":28174367,"url":"https://github.com/auth0-lab/auth0-ai-python","last_synced_at":"2025-05-15T22:16:43.457Z","repository":{"id":277170287,"uuid":"929039345","full_name":"auth0-lab/auth0-ai-python","owner":"auth0-lab","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-14T20:04:29.000Z","size":2063,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-14T21:22:07.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-07T17:39:00.000Z","updated_at":"2025-05-14T20:03:31.000Z","dependencies_parsed_at":"2025-05-07T18:33:02.975Z","dependency_job_id":null,"html_url":"https://github.com/auth0-lab/auth0-ai-python","commit_stats":null,"previous_names":["auth0-lab/auth0-ai-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0-lab","download_url":"https://codeload.github.com/auth0-lab/auth0-ai-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254232231,"owners_count":22036508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-15T22:16:06.248Z","updated_at":"2025-05-15T22:16:43.447Z","avatar_url":"https://github.com/auth0-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth0 AI for Python\n\n\u003e ⚠️ **WARNING**: Auth0 AI is currently under development, is not intended for production use, and therefore has no official support.\n\n[Auth0 AI](https://www.auth0.ai/) helps you build secure AI-powered applications.\n\nDevelopers 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:\n\n- **Authenticate users**: Easily implement login experiences tailored for AI agents and assistants.\n- **Call APIs on users' behalf**: Use secure standards to call APIs from tools, integrating your app with other products.\n- **Authorization for RAG**: Generate more relevant responses while ensuring that the agent incorporates only information the user has access to.\n- **Async user confirmation**: Enable agents to operate autonomously in the background while requiring human approval when necessary.\n\n## Packages\n\n- [`auth0-ai-llamaindex`](./packages/auth0-ai-llamaindex/) -\n  Integration with [LlamaIndex](https://docs.llamaindex.ai/en/stable/) framework.\n\n- [`auth0-ai-langchain`](./packages/auth0-ai-langchain/) -\n  Integration with [LangChain](https://python.langchain.com/docs/tutorials/) framework.\n\n## Examples\n\n- [Authorization for RAG](/examples/authorization-for-rag/README.md): Examples of implementing secure document retrieval with strict access control using Okta FGA.\n- [Authorization for Tools](/examples/authorization-for-tools/README.md): Examples of implementing secure tool calling with strict access control using Okta FGA.\n- [Calling APIs](/examples/calling-apis/README.md): Examples of using secure standards to call third-party APIs from tools with Auth0.\n- [Async User Confirmation](/examples/async-user-confirmation/README.md): Examples of handling asynchronous user confirmation workflows.\n\n## Recommendations for VSCode Users\n\nTo streamline development with Poetry and virtual environments in VSCode, follow these steps:\n\n1. Configure Poetry to Use In-Project Virtual Environments  \n   Run the following command to ensure the virtual environment is created within your project directory (e.g., `.venv`):\n\n   ```bash\n   poetry config virtualenvs.in-project true\n   ```\n\n2. Select the Correct Interpreter in VSCode\n\n   - Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).\n   - Search for and select Python: Select Interpreter.\n   - Choose the interpreter located in the .venv folder (e.g., .venv/bin/python).\n\n## Feedback\n\n### Contributing\n\nWe appreciate feedback and contribution to this repo! Before you get started, please see the following:\n\n- [Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)\n- [Auth0's code of conduct guidelines](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)\n\n### Raise an issue\n\nTo provide feedback or report a bug, please [raise an issue on our issue tracker](https://github.com/auth0-lab/auth0-ai-python/issues).\n\n### Vulnerability Reporting\n\nPlease do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\"   width=\"150\"\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png\" width=\"150\"\u003e\n    \u003cimg alt=\"Auth0 Logo\" src=\"https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png\" width=\"150\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eAuth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout \u003ca href=\"https://auth0.com/why-auth0\"\u003eWhy Auth0?\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nThis project is licensed under the Apache 2.0 license. See the \u003ca href=\"/LICENSE\"\u003e LICENSE\u003c/a\u003e file for more info.\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-lab%2Fauth0-ai-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0-lab%2Fauth0-ai-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-lab%2Fauth0-ai-python/lists"}