You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document specifies the Agent Gateway Protocol (AGP), a protocol designed to
49
-
support real-time interactive AI applications at scale. AGP extends gRPC with
50
-
publish-subscribe capabilities to enable efficient many-to-many communication
51
-
patterns between AI agents. The protocol provides mechanisms for connection
48
+
This document specifies the Secure Low-Latency Interactive RealTime Messaging
49
+
(SLIM), a protocol designed to support real-time interactive AI applications at
50
+
scale. SLIM leverates gRPC and add publish-subscribe capabilities to enable
51
+
efficient many-to-many communication patterns between AI agentic applications
52
+
(AI models, tools and data). The protocol provides mechanisms for connection
52
53
management, stream multiplexing, and flow control while maintaining
53
54
compatibility with existing gRPC deployments.
54
55
@@ -62,8 +63,8 @@ compatibility with existing gRPC deployments.
62
63
63
64
64
65
As AI systems become more sophisticated and interconnected, there is a growing need
65
-
for protocols that can support real-time interactive applications at scale. The Agent
66
-
Gateway Protocol (AGP) addresses this need by:
66
+
for protocols that can support real-time interactive applications at scale. SLIM
67
+
addresses this need by:
67
68
68
69
* Extending gRPC with publish-subscribe patterns
69
70
* Supporting bidirectional streaming between agents
@@ -72,7 +73,7 @@ Gateway Protocol (AGP) addresses this need by:
72
73
73
74
## Protocol Overview
74
75
75
-
AGP builds on gRPC's core features while adding:
76
+
SLIM builds on gRPC's core features while adding:
76
77
77
78
* Native support for pub/sub messaging patterns
78
79
* Enhanced stream multiplexing capabilities
@@ -86,7 +87,7 @@ AGP builds on gRPC's core features while adding:
86
87
+-------------------+
87
88
| Application |
88
89
+-------------------+
89
-
| AGP Services |
90
+
| SLIM Services |
90
91
+-------------------+
91
92
| Pub/Sub |
92
93
+-------------------+
@@ -97,18 +98,22 @@ AGP builds on gRPC's core features while adding:
97
98
98
99
## Core Components
99
100
100
-
* Gateway Nodes: Handle routing and message distribution
101
+
* Messaging Nodes: Handle routing and message distribution
101
102
* Topics: Named channels for pub/sub communication
102
103
* Streams: Bidirectional communication channels
103
104
* Services: Application-specific RPC definitions
104
105
105
-
### Gateway Nodes
106
+
### Meassging Nodes
106
107
107
-
Gateway Nodes are essential components of the Agent Gateway Protocol (AGP) architecture. They handle routing and message distribution between agents and manage the communication infrastructure. Gateway Nodes are composed of two main tables: the connection table and the subscription table.
108
+
Nodes are essential components of the SLIM architecture.
109
+
They handle routing and message distribution between agents and manage the
110
+
communication infrastructure. Meassaging Nodes are composed of two main tables: the
111
+
connection table and the subscription table.
108
112
109
113
#### Connection Table
110
114
111
-
The connection table maintains interfaces with neighboring nodes and local applications. It is responsible for:
115
+
The connection table maintains interfaces with neighboring nodes and local
116
+
applications. It is responsible for:
112
117
113
118
* Establishing and managing connections with other Gateway Nodes
114
119
* Maintaining active connections with local applications
@@ -117,16 +122,21 @@ The connection table maintains interfaces with neighboring nodes and local appli
117
122
The connection table entries include:
118
123
119
124
* Node ID: Unique identifier for the neighboring node or local application
120
-
* Connection Status: Current status of the connection (e.g., active, inactive, error)
121
-
* Connection Parameters: Details such as IP address, port, and security credentials
125
+
* Connection Status: Current status of the connection (e.g., active, inactive,
126
+
error)
127
+
* Connection Parameters: Details such as IP address, port, and security
128
+
credentials
122
129
123
130
#### Subscription Table
124
131
125
-
The subscription table is used to map topic subscriptions to neighboring nodes. It manages the distribution of messages based on topic subscriptions and ensures efficient routing of pub/sub messages. The subscription table entries include:
132
+
The subscription table is used to map topic subscriptions to neighboring nodes.
133
+
It manages the distribution of messages based on topic subscriptions and ensures
134
+
efficient routing of pub/sub messages. The subscription table entries include:
126
135
127
136
* Topic: The name of the topic to which the subscription applies
128
137
* Subscriber Node IDs: List of node IDs that have subscribed to the topic
129
-
* Subscription Status: Current status of the subscription (e.g., active, inactive)
138
+
* Subscription Status: Current status of the subscription (e.g., active,
139
+
inactive)
130
140
131
141
The subscription table is responsible for:
132
142
@@ -135,17 +145,19 @@ The subscription table is responsible for:
135
145
* Handling subscription updates, additions, and removals
136
146
* Ensuring efficient and reliable message delivery
137
147
138
-
By maintaining these tables, Gateway Nodes facilitate seamless communication and message distribution in the AGP network, enabling real-time interactive AI applications at scale.
148
+
By maintaining these tables, Meassaging Nodes facilitate seamless communication and
149
+
message distribution in a SLIM network, enabling real-time interactive AI
150
+
applications at scale.
139
151
140
152
# Security Considerations
141
153
142
154
143
-
The Agent Gateway Protocol (AGP) relies on the Messaging Layer Security (MLS) protocol
155
+
SLIM relies on the Messaging Layer Security (MLS) protocol
144
156
to provide end-to-end security for group communications between agents.
145
157
146
158
## MLS Integration
147
159
148
-
AGP uses MLS for the following security properties:
160
+
SLI uses MLS for the following security properties:
149
161
150
162
* End-to-end encryption for all agent communications
0 commit comments