> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/gitbook-agent/what-is-gitbook-agent.md).

# GitBook Agent とは？

GitBook Agent は、あなたと並んで作業する AI のチームメイトです。ドキュメントを正確に、完全に、最新の状態に保つのを手助けします。GitBook Agent は GitBook に深く統合されているため、使うために新しいワークフローは必要ありません。

{% hint style="info" %}
AI アシスタントを使ってローカルでドキュメントを編集している場合は、 [GitBook の skill.md ファイル](/docs/documentation/ja-gitbook-documentation/getting-started/ai-documentation/ai-coding-assistants-and-skillmd.md).
{% endhint %}

### GitBook Agentでできること

GitBook Agent には次のことができます：

* **プロンプトに基づいてドキュメントを書く：** GitBook Agent に、ページの更新、製品名の変更、その他必要な変更を依頼できます。
* **コンテンツを GitBook にインポートする：** GitBook Agent のチャットサイドバーに、PDF や Microsoft Word 文書などのファイルを添付します。GitBook Agent はコンテンツを抽出し、セクション内のページに整形します。
* **より大きな変更を計画して実装する：** 必要なことを説明してください。GitBook Agent が変更リクエストを作成し、編集内容を説明し、フィードバックに対応し、一緒に作成した計画を実装します。
* **スタイルガイドに従う：** チームの執筆ルールを [スタイルガイド](/docs/documentation/ja-gitbook-documentation/creating-content/styleguide.md)、そして GitBook Agent はコンテンツの作成やレビュー時にそれを信頼できる情報源として扱います。
* **カスタムのサイトレベル指示に従う：** リンクの追加方法や避けるべきブロックタイプなど、サイト固有の指示を GitBook Agent に与えます。
* **ドキュメントを翻訳する：** 翻訳したいコンテンツを選び、言語を選択すると、GitBook Agent がドキュメントをローカライズします。
* **コメントから呼び出す：** ページ上の任意のブロックにコメントを追加し、 `@gitbook`と入力して、GitBook Agent に必要なことを伝えます。
* **変更リクエストをレビューする：** 変更リクエストのレビュー担当として GitBook Agent を追加できます。ドキュメントのリンターとして機能し、スタイルガイドの問題を検出し、エラーの提案や修正を行えます。

#### 自動ドキュメント提案

{% hint style="warning" %}
**自動ドキュメント提案は早期アクセス中です**

次を参照してください: [自動ドキュメント改善](/docs/documentation/ja-gitbook-documentation/gitbook-agent/automatic-docs-improvements.md) 詳細を見るには。
{% endhint %}

GitBook Agent は、チームが製品や顧客のニーズを理解するために使うシグナル、つまりサポートの会話、チケット、接続済みツールからのスレッドにも接続できます。

このコンテキストがあれば、GitBook Agent は不足している部分を特定し、更新を提案し、ドキュメントの変更を自動生成できます。

ドキュメントが製品とともに進化していけば、顧客は必要なときに適切な情報を受け取れます。

### GitBook Agent の機能を確認する

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>GitBook Agent で書く</strong></td><td>プロンプトからコンテンツを作成する、または 1 つのブロックを編集する</td><td><a href="/pages/056d4d54fb57eafaa7dd77c46051432d19b07d11">/pages/056d4d54fb57eafaa7dd77c46051432d19b07d11</a></td></tr><tr><td><strong>GitBook Agent でレビューする</strong></td><td>GitBook Agent に、スペル、文法、スタイルを確認するよう依頼する</td><td><a href="/pages/56d8c0a5316af738cb2ada7644589fc0f538d4cb">/pages/56d8c0a5316af738cb2ada7644589fc0f538d4cb</a></td></tr><tr><td><strong>ドキュメントサイトを翻訳する</strong></td><td>GitBook Agent は自動更新されるローカライズを作成できます</td><td><a href="/pages/1a7c49b5a9850056c5818eef2c3c6aa37e41bb38">/pages/1a7c49b5a9850056c5818eef2c3c6aa37e41bb38</a></td></tr></tbody></table>

### スタイルガイドとカスタム指示を追加する

GitBook Agent は、チームのスタイルガイドやサイト固有の指示で設定できます。

GitBook Agent は、そのサイトのコンテンツを作成または編集するたびにこのコンテキストを使用します。

スタイルガイドまたはカスタム指示を追加するには、サイトの **設定**の下にある **一般** をサイトのサイドバーで開き、 **Agents**をクリックします。カスタム指示フィールドに指示を追加してください。

この画面は変更リクエストからも開けます。GitBook Agent のチャットウィンドウを開き、次に **アクションメニュー** <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/3489a3405c2f5c8e7f31c02ff44e42d2e3e8dbf6" alt=""></picture> をクリックし **GitBook Agent を設定** <picture><source srcset="/files/CG9bVSmdbJnQxrYiNbRI" media="(prefers-color-scheme: dark)"><img src="/files/477fc6b8be7ea4395872753916f62023abc28604" alt=""></picture>.

#### カスタム指示の例

GitBook Agent の設定に追加できるカスタム指示の例を以下に示します。

{% code overflow="wrap" %}

```
あなたは Stripe のテクニカルライターです。明確で直接的な言葉を使い、華美さよりも正確さを優先してください。ガイドでは、必ず 1 文の要約で概念を導入し、内容をよく構成されたセクションに分けてください。クイックスタートでは、必ずステッパーを使い、各ステップはアクションを先頭にして簡潔にしてください。
```

{% endcode %}

### よくある質問

<details>

<summary>GitBook Agent は私のデータをどのように使用しますか？</summary>

お客様のデータのプライバシーを守るため、当社のデータ保護方針に従っています。

GitBook Agent は、AI モデルの学習にお客様のデータを使用しません。GitBook Agent を提供する目的でのみ、お客様が GitBook Agent に追加した情報を OpenAI と共有します。詳細は OpenAI のプライバシーポリシーをご覧ください。

</details>

<details>

<summary>GitBook Agent の料金はいくらですか？</summary>

GitBook Agent はベータ版の間、すべてのプランで無料です。Pro ではなく、トライアルも利用していない場合、無料利用には週 10 メッセージが含まれます。

[翻訳](/docs/documentation/ja-gitbook-documentation/gitbook-agent/translations.md) は月額追加機能として別料金です。 [料金セクション](/docs/documentation/ja-gitbook-documentation/gitbook-agent/translations.md#pricing) で詳細をご覧ください。

</details>

<details>

<summary>GitBook Agent の出力のデフォルトのトーンを上書きできますか？</summary>

はい。GitBook Agent のデフォルトの個性とトーンを上書きできます。

より詳細な出力や、特定のスタイル・トーンが必要な場合は、サイトレベルの指示や変更リクエスト内のプロンプトで GitBook Agent に伝えてください。

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/gitbook-agent/what-is-gitbook-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
