# 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="https://78631494-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBRxB11GxZpcJ8bK8Tueq%2Fuploads%2FFy27UcG66KnCZ6xzqQGi%2FAIworker-NodeConnect-2024-03-19-2056.png?alt=media&#x26;token=093c58e0-dbd4-4de1-9910-fcfb5c08e7c7" alt=""><figcaption></figcaption></figure>
