Back to Feed
Agents / Efficiency & Inference

Redesigning Software as Storage Models and Agents

Original: The Third Restructuring of Software Form: From the Three-Tier Architecture to Storage, Models, and Agents

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 1 concepts

Key Takeaways

  • Traditional three-tier architectures can be restructured by partitioning business logic into storage constraints, model-based reasoning, and deterministic tools.
  • Storage layers provide a critical safeguard for model outputs, achieving a 100% catch rate for invalid scheduling proposals in testing.
  • The architecture relies on an agent execution loop, where success depends on the ability to objectively verify task results.
  • Deterministic logic remains necessary for safety-critical systems, high-frequency transactions, and low-latency requirements.

Summary & Methodology Analysis

The paper formalizes the transition to Software 3.0 by defining a system as a composition of a generalized database, a large model, and an agent. The collapse mechanism partitions business logic based on expressibility and criticality. Logic that is highly critical but difficult to express declaratively is offloaded to tools like OR-Tools CP-SAT, while other tasks are handled by the model. The reference architecture uses a stateless intelligence core, a heterogeneous persistent storage layer, and an agent execution loop to process requests. In a prototype using Python and SQLite with 10 machines and 200 operations, the storage layer acted as a gatekeeper for the model output. When tested with Qwen-Plus, the storage layer successfully identified and rejected all twenty infeasible scheduling proposals, ensuring the persisted state remained valid. The model relies on probabilistic reasoning, which is a technique where the system predicts likely outputs based on statistical patterns rather than strict logical rules. The paper identifies critical boundaries for this architecture. It is not suitable for systems where errors are unacceptable, such as aerospace applications or medical dosing, as the model cannot provide the necessary formal guarantees. Furthermore, the architecture requires a feedback loop that relies on objective verification. If a task result cannot be verified, the agent cannot detect model hallucinations, which are instances where the model generates confident but false or nonsensical information. Finally, the paper notes that for high-frequency or extreme low-latency scenarios like trade matching or real-time recommendations, freezing logic into dedicated, non-model-based implementations remains the only viable choice.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is Software 3.0?

It is a proposed architecture that collapses traditional three-tier software into a converged system of storage, models, and agents.

Q2. Does this architecture replace all traditional code?

No. The paper asserts that deterministic tools and hard-coded business logic are still required for critical, high-frequency, or low-latency operations.

Q3. How does the storage layer improve system reliability?

It acts as a constraint layer that validates the outputs produced by the model, preventing infeasible data from reaching the persistent state.

Q4. How did the authors test the reliability of model-generated schedules?

They tested a live Qwen-Plus model on a three-job, three-machine instance and found that the storage layer achieved a 100% catch rate for invalid scheduling proposals across twenty trials.

Q5. What role does OR-Tools CP-SAT play in this architecture?

It is used to handle combinatorial objectives, such as minimizing makespan in job shop scheduling, which are critical but not easily expressed via model reasoning.

Q6. What are the primary limitations for using this architecture in production?

It is unsuitable for high-frequency transactions, low-latency requirements, and safety-critical domains where error-free performance is mandatory.

Q7. Why does the agent loop fail when results cannot be verified?

Without objective verification, the agent cannot detect when the model hallucinates, causing the entire feedback loop to collapse.

Q8. Can this architecture be used for financial settlements or medical software?

No. The paper states that for these scenarios, business logic must be guaranteed by formally verifiable code or database constraints rather than model reasoning.

Q9. What software tools were used in the prototype?

The authors used Qwen-Plus as the model, OR-Tools CP-SAT for constraint solving, and SQLite for the storage layer.

Flag an issue

What is wrong with this summary?

What is wrong?