# Agent使用チュートリアル

Cherry Studio v1.7.0.alpha 版では Agent が導入され、Cherry Studio 内で Cherry Agent を使用できるようになりました。本チュートリアルでは、設定から起動までの一連の手順を案内します。

### 1. Anthropic タイプのプロバイダーを作成する

Anthropic エンドポイントをサポートする任意のサービスプロバイダーを使用できます。例として CherryIn を挙げると、新しい Agent サービスプロバイダーを作成し、キーとアドレスを入力して、任意のモデルを追加すれば完了です。

{% hint style="warning" %}
Agent モードは大量のトークンを消費するため、トークン使用量にご注意ください
{% endhint %}

{% hint style="info" %}
Claude Code を契約しているユーザーも、取得したモデルに key と url アドレスを入力できます
{% endhint %}

<figure><img src="/files/a50e766cc46ec68ea52e389f978b72a454288da7" alt=""><figcaption></figcaption></figure>

### 2. API サーバーを起動する

<figure><img src="/files/4e93c72aa745f6bfdf014230898ea0e7a765bc7a" alt=""><figcaption></figcaption></figure>

### 3. Agent を作成する

<figure><img src="/files/7d2aa538a1bbceb7a875171209920e0226b0bf51" alt=""><figcaption></figcaption></figure>

Agent を右クリックすると編集画面に入れます。ここで Agent の権限や、使用できるツールまたは MCP サービスを編集できます。

<figure><img src="/files/7e317dea20061983c0ed70e8ca2c89b03e372373" alt=""><figcaption></figcaption></figure>

### 結果表示

<figure><img src="/files/2f0efe9e84c3e3b14312553c2321098931275e1e" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.cherry-ai.com/docs/jp/advanced-basic/agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
