# 如何設定

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

只需幾分鐘即可在 Openclaw 中執行您的個人 Byreal 代理：

{% stepper %}
{% step %}

#### 步驟 1：將技能添加到 Openclaw

告訴您的 Openclaw 代理添加技能：

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

代理將安裝它，完成後即可了解它在 Byreal 上的所有功能。
{% endstep %}

{% step %}

#### 步驟 2：建立或匯入錢包

您的代理需要 Solana 錢包來簽署交易。如果尚未配置，告訴代理：

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

它將引導您匯入現有金鑰對或生成新的。您的私鑰永遠不會顯示或記錄，只會顯示您的公開地址。

{% hint style="info" %}
**注意：** 對於代理使用，我們建議使用專用錢包，僅存入您打算部署的資金。
{% endhint %}
{% endstep %}

{% step %}

#### 步驟 3：開始使用

錢包連接後，您可以開始用自然語言指示代理，例如：

> ***"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 代理從這裡開始處理一切。
{% 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/zh-tw/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.
