Artificial intelligence has left the lab and entered our everyday lives. A critical mass of countries are shifting from moralising AI to regulating it. What happens in the EU matters for the rest of the world. The EU's proposed AI Act is a first law on AI by a major regulator anywhere. International cooperation will be crucial to effectively regulating AI.