## 3 Results: AGA Logic Variables for Scene Description and Dialog Communications
### Communication Module and the Dialog Protocol
The message-receiving agent is to take into account instructions transferred by the administrator and requests received from other agents, which may quickly change states of homeostasis contours. Only after this is the agent supposed to activate decision-making procedures, which may cause a series of actions and need various run times. As the embedded modules of the agent somehow suppose an optimized mode of work, the realistic way is to run verification procedure after the completing of the next work cycle [85,86]. If some agent receives the initiating signal in a new phrase, the dialog scheme of two agents can include a vast spectrum of procedures and AI algorithms as follows:  
* To check the received initial parole in the list of fixed and additionally generated ones;
* To extract potentially danger data to be immediately sent to homeostasis module,
* To check the presence of the declared sender name and its authority in the AGA function, describing allowed classes of actions for the contacting agent,
* To verify the presence of all declared content parts in the received phrase;
* To compare the requested by external agent set of vocabularies with the allowed one;
* Either to begin the new dialog or to continue the already opened one; if necessary, to send denial reply;
* To send content of the received phrase to the decision-maker and to wait for its reply;
* To work out the reply phrase and to assign a one-time random hash value to it, using the reserve list of hash values, preliminarily filled in by quasi-random numbers;
* To analyze the reason for errors in the dialog and to choose adequate actions. The proposed further scheme of dialog communications, combining AGA control of vocabularies and the binary calculation of total check coefficients, is based on Tables 3 and 5 and is given in Figure 10. All phrases, \(\mathbf{W}_{ij}\), are subdivided into initiating dialog requests and reply to them. According to Table 5, all phrases in the request and reply messages include the header with several obligatory fields and content parts. Indexed values, \(\mathbf{W}_{ij}\), define some sampling of words, which are chosen from the corresponding set of vocabularies by the communication module and the decision-making module. The external communication module of administrator and agents adds hash value into the phrase, which can be either the fixed initial access password, \(w_{1,2}\), or the assigned one-time quasi-random hash value, \(w_{1,3}=h_{ij}\). In Figure 10, it is supposed that the communication session is a new one, and sender of the phrase initiates the dialog, so that the first field \"format\" in the header of the phrase should contain the initiation word, \(w_{1}^{K}\) = \"Hi\". It further activates the input of initial access parole, \(w_{1,2}^{K}\), written in the vocabulary \(V_{1,2}^{K}\). This set (or list) of fixed passwords is intended only for the initiation of new sessions, as during the already opened communication session, interacting agents should add one-time hash values taken from the preliminary generated list, \(L_{hash}\). Other components of the phrase \(\mathbf{W}_{11}=\left\{\begin{array}{ll}w_{1,1}^{K},&w_{1,2}^{K},\dots\right\}\) are the triples, \(\left(w_{1,4}^{K},w_{2,4}^{K},w_{3,4}^{K}\right)\) and \(\left(w_{1,5}^{K},w_{2,5}^{K},w_{3,5}^{K}\right)\), describing all given addresses and senders. Such an 8-bit triple can support 16,777,216 agents. ```
**Algorithm 1**Cont. ```