# セットアップ方法

{% hint style="info" %}
**Github:** [**https://github.com/byreal-git/byreal-cli/**](https://github.com/byreal-git/byreal-cli/)
{% endhint %}

Openclaw内でByreal専用エージェントを起動するまで、わずか数分です：

{% stepper %}
{% step %}

### Openclawにスキルを追加

Openclawエージェントにスキルの追加を指示します：

> ***Add the byreal-cli skill from byreal-git/byreal-cli***

エージェントがインストールを実行し、完了するとByreal上のすべての機能を把握した状態になります。
{% endstep %}

{% step %}

### ウォレットの作成またはインポート

エージェントがトランザクションに署名するには、Solanaウォレットが必要です。まだ設定していない場合は、エージェントに以下を伝えてください：

> ***"Set up my Solana wallet for Byreal"***

既存のキーペアのインポートまたは新規生成の手順を案内します。秘密鍵は表示またはログに記録されることはなく、公開アドレスのみが表示されます。

{% hint style="info" %}
**注意：** エージェント用途には、デプロイする予定の資金のみを入れた専用ウォレットの使用を推奨します。
{% endhint %}
{% endstep %}

{% step %}

### 使用開始

ウォレットが接続されたら、自然言語で指示を出せるようになります：

> ***"Show me the top-performing pools on Byreal"***
>
> ***"Copy top farmer #2's MNT-USDC position"***
>
> ***"Swap 50 USDC for XAUt0 on Byreal"***
>
> ***"Check my open positions and tell me which ones are out of range"***

これで完了です！Openclawエージェントがここからすべてを処理します。

エージェントのByreal上での機能について詳しくは、次のセクションをご覧ください。
{% endstep %}
{% endstepper %}


---

# 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.byreal.io/ja-jp/byreal-ai-agent/how-to-set-up-ai-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.
