Back to AI Research

AI Research

The Third Restructuring of Software Form: From the... | AI Research

Key Takeaways

  • The Third Restructuring of Software Form: From the Three-Tier Architecture to Storage, Models, and Agents proposes that software architecture is evolving fro...
  • Software form has undergone two paradigm shifts since its inception: Software 1.0, in which instructions determine behavior, and Software 2.0, in which data determines behavior (machine learning).
  • The authors define the terminal form of software as a composition of three specific roles:
  • **Generalized Database:** A unified abstraction for all persistent state, memory, and knowledge.
  • It serves as the system's "past," providing auditability and transactionality.
Paper AbstractExpand

Software form has undergone two paradigm shifts since its inception: Software 1.0, in which instructions determine behavior, and Software 2.0, in which data determines behavior (machine learning). This paper argues that a third shift - Software 3.0, in which context and reasoning determine behavior - is now underway, and contends that its terminal form converges to three elements: a generalized database (the unified abstraction of all persistent state and memory), a large model (the intelligence core that performs reasoning and generation), and an agent (the execution loop connecting the first two). The core argument is as follows: in the traditional three-tier architecture, the user-interface layer will be absorbed by the model's ability to generate interfaces on demand, the business-logic layer will be re-partitioned along "expressibility x criticality" into model reasoning and storage constraints (with residual deterministic logic retained as tools), and only the data layer will be elevated into the sole persistent infrastructure. We formalize this convergence thesis, present a minimal reference architecture, report evidence from real prototypes and a live model, and systematically analyze both the conditions under which it holds and the boundaries where it fails - determinism, cost, security, and verifiability delimit the thesis's domain of applicability. We argue that the thesis holds in task domains that are expressible, verifiable, externally stateful, and tool-complete, and that it will reshape the roles of developers, the database industry, and the software-engineering discipline.

The Third Restructuring of Software Form: From the Three-Tier Architecture to Storage, Models, and Agents proposes that software architecture is evolving from a three-tier model into a system composed of three core elements: a generalized database, a large model, and an agent. The authors, Wei Lin, Tao Zhou, Zhaofei Xie, and Changgui Hong, argue that as the cost of using models to reason and generate behavior decreases, traditional software layers will be absorbed or elevated, leaving only storage, intelligence, and execution as the essential components of software.

The Convergence of Three Elements

The authors define the terminal form of software as a composition of three specific roles:

  • Generalized Database: A unified abstraction for all persistent state, memory, and knowledge. It serves as the system's "past," providing auditability and transactionality.

  • Large Model: The "present" of the system, acting as the intelligence core responsible for reasoning, decision-making, and generating interfaces or actions.

  • Agent: The "future" of the system, functioning as an execution loop that connects the model to the database. It manages the plan, memory, and tool-use cycle.

Collapse of the Three-Tier Architecture

The paper argues that the traditional three-tier architecture—user interface, business logic, and data—is being restructured. The user interface layer is expected to dissolve into on-demand generation by models, though the authors note that critical information must still be presented through deterministic projections of stored data.
Business logic is re-partitioned into three categories: 1. Model Reasoning: Expressible, non-critical rules handled by the model. 2. Storage Constraints: Critical, declaratively expressible rules (such as uniqueness or foreign keys) embedded directly into the database. 3. Deterministic Tools: Critical, non-declarative logic (such as complex optimization solvers) that remains as verified code.
The data layer is elevated to the sole persistent infrastructure, as it provides the necessary foundation for the model to maintain long-term state and ensure system reliability.

Evidence from Prototypes

To test the role of the database as an arbiter of correctness, the authors implemented a prototype for an intelligent production-scheduling system. Using SQLite, they enforced machine exclusion and precedence rules as database constraints. Even when the "planner" (a simulated model) introduced errors into its proposals, the database rejected all violations, maintaining a feasible schedule. This suggests that the system can guarantee correctness through storage constraints, regardless of the quality of the model's reasoning.

Boundaries and Limitations

The authors emphasize that this thesis is not a universal solution. They identify specific conditions under which the approach holds: the task domain must be expressible, verifiable, externally stateful, and tool-complete. The thesis is limited by factors including:

  • Determinism: Some logic cannot be fully absorbed by models or declarative constraints.

  • Cost: The overhead of agentic loops and model calls must be considered.

  • Security and Verifiability: The authors acknowledge that models can hallucinate, which is why they argue that critical logic must be anchored in deterministic storage constraints rather than relying solely on the model's output.

Comments (0)

No comments yet

Be the first to share your thoughts!