# AI-Worker Sync Mechanism

#### The Process of AI-Worker Interacting with Other Modules

1. **AI-worker Registration**: The AI-worker Owner submits module registration information, mortgages Tokens, sets internal incentive distribution parameters, and recruits miners to join.
2. **Register Node** synchronizes the registration information to the Reward Modules, collecting incentive parameters for each AI-worker.
3. **Rewards Node** synchronizes information with each AI-worker and carries out calculations, including Hashrate, Bandwidth, and stability parameters.
4. **AI-worker API Interface**: Sets API interface parameters for external stability testing and service interaction.
5. **API Node** exchanges API data for each AI-worker with the Rewards Node for subsequent incentive calculations.
6. **Rewards module** conducts a unified assessment of each AI-worker, calculating daily rewards to be sent to the Rewards Contract. **Quality Testing**: The first week after AI-worker registration and operation is the system testing period, primarily for assessing the AI-worker's service quality through a week of operation. No rewards are given during the testing and verification period.
7. **Rewards Contract** sends incentives to each AI-worker based on the received incentive parameters. AI-workers can freely withdraw their rewards.

#### AI-worker Service Testing and Monitoring

1. **AI-worker Service Testing**: After registration, the AI-worker undergoes a one-week testing period. Following a week of stable testing, the service quality results of this AI-worker in the entire network are obtained, and rewards are given based on the proportion of this result in the overall network service quality evaluation.
2. **AI-worker Service Monitoring**: Once the AI-worker is activated, the incentive ratio is adjusted daily based on the service quality test results from the previous day.
3. **Initial AI-worker Protocol Launch**: At the beginning of the AI-worker protocol, there are a total of 16 AI-workers. As the service stabilizes, the registration restrictions for AI-workers will be gradually lifted, allowing anyone to register without quantity limitations.

<figure><img src="/files/VZ1LZxKWXStwtfqRKk1y" 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.deagent.net/technical-architecture/ai-worker-sync-mechanism.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.
