You are here:
< All Topics
Table of Contents

PAI-NET is a distributed private network of bots, allows transfer PAI-CODE protocol commands to all the bots within the same PAI-NET.

PAI-NET networks components:

PAI Communication Manager

This module is responsible for all PAI-BOTS communications.

PAI-BOT communication protocol is PAI-CODE, meaning PAI-BOT can receive and send messages (PAI-CODE commands) via the PAI-CODE port.

Every PAI-BOT is registered to PAI-NET decentralized messaging system to support better control and network scalability.

PAI-NET Message

The PAI-NET Message encapsulates the message that the bots sending and receiving. 

The message defines the following structure:

Field nameTypeDescription
message-idTextThe message identifier (UUID)
from-bot-idText The ID of the sender bot
to-bot-idText The receiver bot ID
creation-dateDate The creation date time stamp 
delivery-dateDateThe date when the message received 
expiration-dateDateexpiration date for the message, if the message is being received after the expiration date it will not be executed
pai-codeTextThe actual message PAI-CODE command that should be executed


PAI-NET is a decentralized network therefore, the messaging system should be decentralized especially within the data layer which is mostly messages. 

In order to support decentralization PAI introduces a special network architecture which comprised of special bots called Net-Bot. The Net-Bot uses like a small post office that enables communication. 



PAI-CONSOLE is the desktop of the Bot distributed O/S, it enables system admins to control, program, maintain the bots.

The PAI-CONSOLE is a PAI-BOT Module that can be learned by any bot.