> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Genkit SDK

> AI Identity for B2B Genkit SDK を使用すると、開発者は Genkit で構築した AI agent のワークフローを簡単に統合し、保護できます。

## [Auth0 AI for Genkit](https://github.com/auth0/auth0-ai-js/tree/main/packages/ai-genkit)

このSDKは、[Genkit](https://firebase.google.com/docs/genkit)でAI Identity for B2Bを利用するための構成要素を提供します。OpenFGAを利用するためのRAG Retriever、非同期のユーザー認証を実装するためのツール、サードパーティ接続のアクセストークンを取得するためのツール、[OpenFGAベース](https://openfga.dev/)のツール認可機能が含まれています。主な機能は次のとおりです。

* OpenFGAを利用するためのRAG Retriever
* [OpenFGAベース](https://openfga.dev/)のツール認可機能と再ランキング機能

```bash wrap lines theme={null}
npm install @auth0/ai-genkit
```

## サンプルアプリケーション

Genkit向けのサンプルアプリケーションをぜひご覧ください。

> **[AIサンプル](https://github.com/auth0-samples/auth0-ai-samples)**
>
> 生成AIアプリケーションでAuth0の認証・認可機能を活用する方法を紹介した、
> スタンドアロンのサンプルアプリケーションのリポジトリです。
> 各サンプルでは、AI Identity for B2Bの機能を1つずつ取り上げて実演しています。

> **[Auth0 AI SDKサンプル](https://github.com/auth0/auth0-ai-js/tree/main/examples)**
>
> Auth0のJavaScript AI SDKに付属するサンプルアプリケーションです。
> SDKの推奨実装パターンを確認できます。

## ガイドとチュートリアル

TypeScript で Genkit を使うためのガイドをご覧ください。

> **[Google カレンダーの空き状況を確認する](/ai/docs/ja-jp/how-tos/check-google-calendar-availability)**

> **[GitHub リポジトリを一覧表示する](/ai/docs/ja-jp/how-tos/list-github-repositories)**

> **[Slack チャンネルを一覧表示する](/ai/docs/ja-jp/how-tos/list-slack-channels)**
