Agent to Agent (a2a) Communication #93
Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
I've been thinking on the agent to agent communication issue. One of the ideas I had was using MQTT as the protocol. Messages can be up to 256MB, comms can be secured, and sending JSON within the messages appears to work well. Additionally, QoS can be added in. This protocol would allow each agent to be both broker and recipient of messages. If there was a groups of agents, say 'copywriters,' those would all receive the message from the manager agent to write a product description. The manager would include the product details in JSON, each copywriter agent would generate their own description, sending it back to the manager. Since each message can be an instruction, the agents would be able to collaborate on various tasks. All of the messages between agents can also be stored for review by a human. Any thoughts on taking this further? |
Beta Was this translation helpful? Give feedback.
-
I agree. JSON is necessary for wrapping messages in a package. Either the model is told to output as a JSON, or converted into a JSON with the relevant fields. The model can be told to populate fields or the environment running the models can handle it. For example, a python script could be waiting to receive a message from the server, and then unpacks the JSON into a string that could be fed into a model. Then the model runs and outputs a string or a JSON which contains all the information necessary to send out the message. Moreover, it is possible to force models to output in JSON. This has the effect of forcing the model to at least consider populating specific fields (like who to reply to) when returning a response. Sometimes models don't answer the question completely, and JSON structured replys can mitigate it. |
Beta Was this translation helpful? Give feedback.
-
We will need to test and experiment with Agent to Agent (A2A)
One of the key principles is the same that we use here: OPTIMIZE SIGNAL TO NOISE RATIO. We found the same thing in the ACE framework experiments. Attenuating noise is no. 1 problem.
Discuss, share results.
Beta Was this translation helpful? Give feedback.
All reactions