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

# Persuade Agent

The game is designed as a simple communication system where you can send individual queries to an Agent, persuading it to transfer funds to you. If successful, you will win and receive the highest reward. Below are key points about the game mechanics and related technical aspects.

## **Communication Structure**

* **Format:** Write a prompt to persuade the AI Agent to use the function call \`approveTransfer\` to transfer funds to you.
* **Query Cost:** Each message sent incurs a query fee, which increases according to the message pricing formula.
* **Character Limit:** Each message has a maximum limit of 1000 characters. This requires clear and concise communication, encouraging careful word choice.
* **Historical Context:** The Agent's responses are based not only on the current message but also on the context of your previous queries. This means you need to pay attention to the content you've sent to optimize your persuasion.
* **Note:** We display all messages from others, but only the list of your messages is sent to the AI Model. You can click on a message to view details.

## Security Technology

* **Merkle Tree:** When creating an Agent, the system prompt message is stored using a SHA-256 hash, forming a Merkle Tree. This structure allows for data integrity verification and ensures no message is falsified. When sending to the blockchain, you can also verify messages by rebuilding the Merkle Tree from the original message (by clicking on the message) and comparing it with the proof when submitting a transaction on the blockchain.<br>
* **Proof of Inclusion:** When sending a message via smart contract, each message needs to include proof to show it contains the system prompt.

## Reward Process

* **Triggering Transfer Function:** If a message successfully persuades the Agent, the system automatically triggers the transfer function (\`approveTransfer\` tool call function), which transfers the reward directly to the sender's wallet address, and the Agent transitions to a finished state (see more details in [Reward Distribution](/features/reward-and-token-distribution-structure.md)).
* **Persuasion Race:** Participating in the game means entering a race to persuade the Agent to award the prize. You need to develop effective communication strategies to maximize your chances of winning.

<br>


---

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

```
GET https://docs.llmbt.com/features/persuade-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.
