—Gal Forer,[1] University of California, Berkeley, School of Law; Satoshi Narihara, Associate Professor of Information Law, Kyushu University; Kuan-Wei Chen, Associate Professor, Graduate School of Law, Kyoto University; Doctor of Law, LMU Munich; Juan Carlos Covilla, Assistant Professor of Administrative Law, Pompeu Fabra University; Khadija Imranova, Kyushu University Graduate School of Law; and Miki Kadota, Assistant Professor of Constitutional Law, University of Tsukuba






Introduction
Law is generally understood as regulating conduct through rules and enforcement. Yet the idea of “law as architecture” emphasizes how law, in conjunction with digital technologies, can also shape the environments in which choices are made, whether those choices are framed as legal, social, economic, technical, or otherwise. As digital technologies, including artificial intelligence (AI), become increasingly embedded in social, political, and economic life, law is not merely regulating technology from the outside but increasingly shaping, incorporating, and operating through architecture.
This subject was at the center of the panel “From Law and Architecture to Law as Architecture? Rethinking the Function of Law in the Digital Age” at the ICON-S 2026 Annual Conference. Across diverse contexts, the discussion explored how law incorporates and operates through different forms of architecture to structure digital environments, as well as the possibilities and limitations of understanding law itself as architecture. Rather than treating law and code as identical, this post emphasizes a reciprocal relationship in which legal principles are embedded into system design while digital systems actively structure the environments within which rights, choices, and governance are exercised.
From Code as Architecture to Law as Architecture
Our starting point is Lawrence Lessig’s paper “The Law of the Horse: What Cyberlaw Might Teach” (1999) and his well-known book “Code and Other Laws of Cyberspace” (1999). Lessig conceptualized behavior as regulated through four interacting modalities: law (legal rules), social norms (community expectations), the market (prices and market forces), and architecture (the physical and digital environment). In cyberspace, architecture takes the form of code – meaning software and hardware, and the technical features they create – which structures what users can do and the conditions under which they can do it. Unlike a conventional legal prohibition, which may leave individuals physically capable of violating a rule and subsequently facing sanctions, the architecture or design of code can alter the conditions of choice itself. It may enable an action, constrain it, or make it technically impossible. Lessig’s framework therefore directs attention beyond formal legal rules toward the digital environments that structure practical possibilities.
In addition, Joel Reidenberg’s concept of “Lex Informatica” describes how technology and communications networks can establish rules governing information flows, creating forms of normative ordering through technology. Lee Tien develops the architectural account further by examining how architecture shapes the practical preconditions of action and emphasizing its implications for opacity, individual agency, and accountability. Sarah Schindler extends the same logic to physical architecture, demonstrating how roads, transportation systems, zoning, and other elements of the built environment can structure access and exclusion without an expressly discriminatory legal command.
However, in “Code Is Not Law” (2026), Reyes et al. return directly to Lessig’s “code is law” proposition and draw a boundary between regulation through architecture and law itself. Code may regulate behavior by imposing technical limits on what users can do, but the fact that it regulates does not necessarily make it law. This distinction separates architecture as a modality of regulation from law as an institutional and normative system, and it sharpens what is meant by a possible movement from “law and architecture” toward “law as architecture.” The argument need not be that the two have become interchangeable. The question in the AI era is how law may increasingly shape, authorize, control, and operate through architecture while remaining institutionally distinct from it.
Approached from that side, law appears as something other than a constraint arriving after the technology. Matti Hiltunen treats law as productive of socio-technical order, emphasizing how legal arrangements can participate in constituting technologies and enabling technological projects. Rohde and Parra-Herrera similarly conceptualize law as a constructive framework through which social orders are built, enabling some institutional possibilities while excluding others.
Other scholarship considers more concretely how governance choices can become embedded in digital systems. Gavin Sullivan uses the concepts of architectural regulation and “infra legalities” to examine how substantive governance choices may be incorporated into technical infrastructure. Alexandros Georgosouli considers the translation of legal rules into machine readable and executable “metarules,” while preserving a role for human interpretation. Scholarship on EU AI governance and “legal design patterns” similarly examines how legal principles such as transparency, traceability, contestability, interpretability, and human oversight may move from normative requirements into features of digital systems.
The digital constitutionalism literature approaches the same movement from the opposite direction. Where the scholarship above asks how legal requirements enter digital systems, Celeste and De Gregorio ask how constitutional values, once confined to state constitutions, come to be articulated in platform terms of service, internet bills of rights, and the regulatory frameworks that respond to platform power. Digital constitutionalism thus already treats constitutional principles as capable of migrating beyond formal legal texts into the architectures that structure digital life, even if its primary concern remains limiting power rather than building institutions.
The AI age, however, introduces a further step beyond Lessig’s original observation that architecture regulates. The question is no longer only how architecture regulates alongside law or how law regulates architecture, but whether law itself increasingly assumes architectural characteristics. Algorithms, AI models, interfaces, and automated workflows can shape legal systems and their enforcement, while law can shape the design of algorithmic systems by requiring safeguards of the kind described above to be incorporated into their operation. The relationship between law and architecture thus becomes more reciprocal.
Law as Architecture in Practice
The panel explored this theoretical question across different settings. In the context of online assemblies, the discussion highlighted how Lessig’s distinction between legal and architectural regulation becomes especially important when political participation moves into digital spaces. In physical spaces, even where an assembly is legally prohibited, individuals remain capable of violating that prohibition by occupying a space and using the violation itself to communicate a political message. In digital spaces, however, architecture may deprive individuals of the possibility of appearing, assembling, or remaining visible, or may even render acts of civil disobedience technically impossible. The concern is therefore not simply whether online assembly is legally protected, but whether the architecture of the relevant platform leaves meaningful space in which that freedom can be exercised.
The panel also examined digital democracy through the “Taiwan Paradox,” in which innovative mechanisms for digital participation operate on limited statutory foundations. vTaiwan’s internationally celebrated deliberative process has influenced policy and legislation, but its recommendations are not themselves legally binding. The Join petition platform requires agencies to respond to qualifying proposals, generally within two months, under administrative rules rather than statute. These initiatives raise questions about how to ensure continuity, clarify institutional responsibilities, and secure meaningful consideration of public input beyond the commitment of specific officials. This argument moves beyond understanding law primarily as a source of defensive rights in European digital constitutionalism, instead viewing it as infrastructure for legitimate and sustainable participation. Without such legal architecture, digital democracy risks creating accountability gaps, unstable deliberative processes, and opaque technocratic governance; law can therefore provide the organizational and procedural structures connecting technological innovation with constitutional legitimacy.
Similar questions arise in AI-driven public administration. Traditional administrative principles can increasingly become structural components of automated governance rather than merely external constraints on it. Transparency and explainability, for example, can be translated from abstract legal duties into requirements governing the design and operation of automated decision-making systems. Case law and soft law may likewise function as structural mechanisms for addressing bias, opacity, and accountability. Differences among national approaches across Europe are important in this context. The contrast between Estonia’s extensive use of automated decision-making across several sectors and Germany’s more cautious legal system, which prohibits automated discretionary acts, illustrates how different legal architectures may produce different forms of digital administration.
Brain-machine interfaces (BMIs) push the architectural question to an even more fundamental boundary: the distinction between thought and action. BMIs can translate brain signals into movements of external devices without independent bodily action. Whether a mental signal becomes legally relevant conduct may therefore depend partly on a technical confidence threshold selected by a developer. A threshold that is too low may externalize subconscious activity or fleeting impulses, while one that is too high may prevent intended actions and undermine agency. One proposed response is a legally defined externalization threshold incorporated into interface design. This example demonstrates how a legal distinction traditionally applied to conduct may instead become embedded in the brain-computer interface (BCI) architecture that helps determine when conduct occurs.
Finally, the architectural perspective can be extended beyond specific technologies, domestic legal systems, and borders. As the Chinese example of exporting digital infrastructure and related training abroad through initiatives like the Digital Silk Road (DSR) illustrates, regulatory influence may operate not only through the diffusion of formal legal rules but also through digital systems and the practices surrounding their implementation. This raises the possibility that architecture itself can become a vehicle through which regulatory influence travels across borders, alongside the more familiar diffusion of legislation and standards.
Some Key Takeaways
Several ideas connect these otherwise different examples. First, we suggest that Lessig’s distinction between law and architecture remains useful, but that the relationship between the two has become more nuanced in AI governance. Law and architecture continue to regulate behavior in Lessig’s original sense. Yet legal principles may also become embedded into the architecture of cyberspace.“Code Is Not Law” provides an important boundary here. The regulatory power of architecture does not itself make architecture law. Rather, the emerging question is how legal principles interact with and become incorporated into digital systems without eliminating the distinction between technological constraint and legal authority.
Second, architecture can change the fundamental conditions under which existing laws operate in cyber-physical environments. This point is illustrated by the examples of online assemblies and BMIs. Architecture may shape how political participation takes place or how mental activity is translated into external conduct.
Third, embedding legal principles into architecture places more emphasis on design decisions. If principles such as transparency, non-discrimination, freedom of thought, democratic participation, or human oversight must be converted into technical or institutional arrangements, the process of translation itself becomes consequential. The relevant question is no longer only what the legal rule requires, but also who defines and interprets the principles underlying it, whether legislators, judges, or public authorities, since different institutional actors may shape the meaning and application of those principles. It also matters who translates those principles into architecture, how competing constitutional values are balanced, and how the resulting design can be scrutinized or challenged. The discussions of digital democracy, automated administration, and BMIs each illustrate different dimensions of this challenge.
Points for Reflection
These observations leave several questions open. As legal requirements become more embedded into digital systems, how can law preserve the interpretation, flexibility, and contestability associated with legal decision-making? Who should determine how abstract legal principles are translated into technical specifications? Can embedding legal safeguards into system design strengthen rights by preventing certain harms before they occur, or can the same process reduce the space available for individual choice and resistance? The distinction emphasized in “Code Is Not Law” also raises a deeper institutional question: when architecture has substantial regulatory effects, where should the boundary between technological constraint and legal authority be drawn?
The transnational dimension adds another question. If regulatory influence can travel through digital infrastructure and algorithmic systems as well as through formal legal rules, conventional accounts of regulatory diffusion may capture only part of the picture. Understanding digital governance may therefore require examining not only which jurisdictions export legal rules, but also which digital architectures are adopted elsewhere and what choices those architectures carry with them.
Lessig’s insight that code can regulate and that law can regulate through code remains an essential starting point. The developments considered by us, however, suggest a relationship that increasingly operates in both directions. Architecture can shape legal systems and their enforcement, while law can seek to shape that architecture and, in some contexts, implement legal principles through it. The move from “law and architecture” to “law as architecture” should therefore not be understood as a claim that code and law have become the same thing. Rather, it provides a framework for asking how law, technical design, and institutional structures increasingly interact in constructing the environments within which rights, responsibilities, and choices are exercised. The challenge is to understand how this interaction can preserve the visibility, accountability, and contestability associated with law even as regulation increasingly becomes embedded in digital architecture.
Suggested citation: Gal Forer, Satoshi Narihara, Kuan-Wei Chen, Juan Carlos Covilla, Khadija Imranova, & Miki Kadota, Law as Architecture in the Age of AI? Int’l J. Const. L. Blog, Oct. 8, 2026, at: http://www.iconnectblog.com/law-as-architecture-in-the-age-of-ai/
[1] Corresponding author’s email: galforer@berkeley.edu. This blog post draws on the discussions of Panel 6.18, “From Law and Architecture to Law as Architecture? Rethinking the Function of Law in the Digital Age,” at the ICON-S 2026 Annual Conference, held at University College Dublin, Sutherland School of Law.