# Cách thiết lập

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

Chỉ cần vài phút để chạy Byreal agent cá nhân trong Openclaw:

{% stepper %}
{% step %}

### Thêm skill vào Openclaw

Yêu cầu Openclaw agent thêm skill:

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

Agent sẽ cài đặt và sau khi hoàn tất, agent sẽ hiểu tất cả khả năng trên Byreal.
{% endstep %}

{% step %}

### Tạo hoặc nhập ví

Agent cần ví Solana để ký giao dịch. Nếu chưa có ví được cấu hình, yêu cầu agent:

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

Agent sẽ hướng dẫn bạn nhập keypair hiện có hoặc tạo mới. Private key không bao giờ được hiển thị hay ghi log, chỉ có địa chỉ công khai.

{% hint style="info" %}
**Lưu ý:** Với mục đích sử dụng agent, chúng tôi khuyến nghị dùng ví riêng biệt chỉ với số vốn bạn định triển khai.
{% endhint %}
{% endstep %}

{% step %}

### Bắt đầu sử dụng

Sau khi kết nối ví, bạn có thể bắt đầu ra lệnh bằng ngôn ngữ tự nhiên:

> ***"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"***

Vậy là xong! Openclaw agent xử lý mọi thứ từ đây.

Tìm hiểu thêm về khả năng của agent trên Byreal trong phần tiếp theo.
{% 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/vi-vn/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.
