This article analyses the repercussions of artificial intelligence on law and fundamental rights. In the face of negative, reactive or catastrophist visions, it proposes an approach based on the regulatory compliance from the design inspired by the methodology of data protection from the design and by default.