This book proposes a comprehensive legal framework for regulating Artificial General Intelligence (AGI), integrating insights from law, economics, and process management. Adopting a structured, future-focused, and risk-based approach to address the unique challenges of AGI regulation, this book validates the “singularity scenario” as a legitimate field of scientific inquiry. It critically examines the limitations of the EU Artificial Intelligence Act in governing AGI, and introduces a foundational four-level analytical model rooted in transaction cost theory. Through a detailed exploration of the what, who, and how of regulation, the book maps the risks associated with AGI, discusses the potential role of electronic legal personhood, and develops a practical legal framework aimed at ensuring AGI’s trustworthiness and alignment with human values. Ultimately, it argues for proactive, rather than reactive regulatory strategies in anticipation of the technological singularity. The book will be of interest to researchers in the field of the law of emerging technologies, artificial intelligence and regulation.