{"id":22767132,"url":"https://github.com/auth0-lab/auth0-ai-js","last_synced_at":"2025-04-15T00:35:56.345Z","repository":{"id":266114662,"uuid":"895128915","full_name":"auth0-lab/auth0-ai-js","owner":"auth0-lab","description":"AI JS","archived":false,"fork":false,"pushed_at":"2025-04-12T02:57:02.000Z","size":2948,"stargazers_count":7,"open_issues_count":8,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T03:34:31.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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":"2024-11-27T15:59:02.000Z","updated_at":"2025-04-12T02:54:56.000Z","dependencies_parsed_at":"2025-02-15T22:24:35.299Z","dependency_job_id":"13de2d74-3325-499e-9326-36a5c82d704e","html_url":"https://github.com/auth0-lab/auth0-ai-js","commit_stats":null,"previous_names":["auth0-lab/auth0-ai-js"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-lab%2Fauth0-ai-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0-lab","download_url":"https://codeload.github.com/auth0-lab/auth0-ai-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986060,"owners_count":21194020,"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":"2024-12-11T13:17:08.152Z","updated_at":"2025-04-15T00:35:56.333Z","avatar_url":"https://github.com/auth0-lab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth0 AI for JavaScript\n\n\u003e [!WARNING]\n\u003e Auth0 AI is currently **under heavy development**. We strictly follow [Semantic Versioning (SemVer)](https://semver.org/), meaning all **breaking changes will only occur in major versions**. However, please note that during this early phase, **major versions may be released frequently** as the API evolves. We recommend locking versions when using this in production.\n\n[Auth0 AI](https://www.auth0.ai/) helps you build secure AI-powered\napplications.\n\nDevelopers are using LLMs to build generative AI applications that deliver\npowerful new experiences for customers and employees. Maintaining security and\nprivacy while allowing AI agents to assist people in their work and lives is a\ncritical need. Auth0 AI helps you meet these requirements, ensuring that agents\nare properly authorized when taking actions or accessing resources on behalf of\na person or organization. Common use cases include:\n\n- **Authenticate users**: Easily implement login experiences, tailor made for\n  AI agents and assistants.\n- **Call APIs on users' behalf**: Use secure standards to call APIs from tools,\n  integrating your app with other products.\n- **Authorization for RAG**: Generate more relevant responses while ensuring\n  that the agent is only incorporating information that the user has access to.\n- **Async user confirmation**: Allow agents to operate autonomously in the\n  background while requiring human approval when needed.\n\n## Packages\n\n- [`@auth0/ai`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai) -\n  Base abstractions for authentication and authorization in AI applications.\n\n- [`@auth0/ai-genkit`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-genkit) -\n  Integration with [Genkit](https://firebase.google.com/docs/genkit) framework.\n\n- [`@auth0/ai-llamaindex`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-llamaindex) -\n  Integration with [LlamaIndex.TS](https://ts.llamaindex.ai/) framework.\n\n- [`@auth0/ai-langchain`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-langchain) -\n  Integration with [LangchainJS](https://js.langchain.com/docs/introduction/) framework.\n\n- [`@auth0/ai-vercel`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-vercel) -\n  Integration with [AI SDK](https://sdk.vercel.ai/) framework.\n\n- [`@auth0/ai-redis`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-redis) - \n A secure [Redis](https://redis.com/)-based data store implementation for Credentials and Authorization requests.\n\n- [`@auth0/ai-components`](https://github.com/auth0-lab/auth0-ai-js/tree/main/packages/ai-components) -\n  A library of React components to help integrate `@auth0/ai` with a UI.\n\n## Running examples\n\n## Prepare the workspace\n\n1. Install depedencies for the workspace\n\n   ```sh\n   npm install\n   ```\n\n2. Run [Turbo](https://turbo.build/)\n\n   ```sh\n   npm run build\n   ```\n\n3. Follow the examples instructions below\n\n### Examples list\n\n- [**Async User Confirmation**](./examples/async-user-confirmation/README.md)\n- [**Authorization for RAG**](./examples/authorization-for-rag/README.md)\n- [**Authorization for Tools**](./examples/authorization-for-tools/README.md)\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-js/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-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0-lab%2Fauth0-ai-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-lab%2Fauth0-ai-js/lists"}