-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Add SLIM Protocol Support with Modular Protocol Architecture
Description
Add support for Cisco AGNTCY's SLIM (Secure Low-latency Interactive Messaging) protocol while implementing a modular protocol abstraction layer. This enables NEST agents to communicate via SLIM's gRPC-based, quantum-safe messaging while allowing future protocol additions (A2A, MCP, custom protocols) without core code changes.
The @agent-id routing mechanism will remain unchanged - it discovers agents via NANDA Index and automatically selects the appropriate protocol based on the target agent's capabilities.
SLIM natively supports unicast, anycast, and multicast communication patterns - design should accommodate these patterns for multi-agent coordination scenarios.
Implementation Approach
- Create
AgentProtocolabstract interface withsend(),receive(),get_routes()methods - Implement
SLIMProtocoladapter with gRPC client integration - Build
ProtocolRouterto manage protocol registration and message routing - Update
handle_message()to use protocol router for @mention resolution - Extend AgentFacts schema with
supported_protocolsand protocol-specificendpoints - Add config-driven protocol enablement
- Design protocol interface to support unicast, multicast, and broadcast patterns
Acceptance Criteria
-
AgentProtocolabstract base class created with support for different messaging patterns -
SLIMProtocolimplementation with gRPC client -
ProtocolRoutermanages protocol registration and routing - Agents can send messages via SLIM using existing
@agent-idsyntax - AgentFacts includes
supported_protocols: ["slim"]andendpoints.slim - Config file allows enabling/disabling SLIM via
protocols.slim.enabled - Protocol auto-detection works: discovers agent → checks supported protocols → routes via SLIM
- Design considers multicast/broadcast patterns (implementation can be future work)
- New protocols can be added by implementing
AgentProtocolinterface without modifying core - Documentation for adding custom protocol adapters
- Tests for SLIM message sending/receiving and protocol routing
References
Metadata
Metadata
Assignees
Labels
No labels