What about using Pub/Sub for AI Agent communications #32
Replies: 4 comments 3 replies
-
I literally came into the discussions to suggest Pub/Sub :) Upvoted. |
Beta Was this translation helpful? Give feedback.
-
I like this. |
Beta Was this translation helpful? Give feedback.
-
After reading through the discussion in this thread: #39 I'm now thinking that maybe the pub/sub is only for the top layers and then the lower levels are just order takers and are ephemeral in nataure... do something and then your done... but passing in the context that the discussion brought up. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, I've been thinking about the above recommendations and wanted to propose a multi-layered approach. Here's a quick overview: Why Multi-Layered? Proposed Layers and Technologies (Brief Overview):
Roles and communication styles of each level in the HAAS hierarchy: A. Supreme Oversight Board (SOB):
B. Executive Agents (Commanders):
C. Sub-Agents (Drones):
|
Beta Was this translation helpful? Give feedback.
-
Pub/Sub has been around for awhile (Meaning these agents will be well aware of the concept)... and I think David mentioned something like jms mq or something in the video today... however, I think a tool like Kafka makes more sense... and you could still use a vector database to search and find topics to listen and publish on. Then you'd have one. ai agent whose sole responsibility was to manage the topics. creation, update, delete and the insert into the vector database.
This setup allows for asynchronous, scalable, and reliable messaging across various AI agents which can subscribe to or publish on topics of interest. To enhance topic discovery and management, we proposed utilizing a vector database where topic descriptions are stored as vectors, enabling semantic search capabilities for AI agents to find relevant topics efficiently.
Topic controller agent. This agent's role includes curating new topics, ensuring uniqueness to prevent duplication, and updating topic descriptions and metadata. By doing so, it maintains an organized structure of topics, helps other AI agents in dynamically finding and subscribing to pertinent topics, and preserves the overall effectiveness of the communication system.
Beta Was this translation helpful? Give feedback.
All reactions