Given the absence of texts devoted to artificial intelligence (AI) in the legislation of Member States, the European Union has taken up the issue by means of three texts: the AI Act (adopted on 13 June 2024), establishing harmonised rules on artificial intelligence; the AI Liability Directive proposal, which introduces for the first time specific rules on damage caused by AI systems; and the updated Directive on Liability for Defective Products, which amends the framework laid down by the current Directive on Liability for Defective Products, adapting it to developments linked to new technologies, including AI. The AI Act aims to prevent risks and harm, and intervenes upstream of the damage, whereas the Directives aim to provide a framework for compensation in the event that the damage occurs.