async def set_agent(self, msg, context):
        """Mark a client as the RPC agent for a service."""

        service = msg.get('name')
        client = context.user_data

        self.service_manager.set_agent(service, client)