The Trillion-Dollar Agentic Workflow: Scaffolding, Memory, Commerce, Judgement
An open standard for skills, ninety-seven million MCP downloads a month, Stripe's ACP, Google's AP2, SAP's billion-euro tabular-AI bet. The architecture of the agentic enterprise in 2026, what survives the hype, and what a designer should notice in a brief that says 'we are building an agent.'
Jorge Luis Borges, “Funes el memorioso,” La Nación, Buenos Aires, June 1942
Borges, my compatriot, wrote about a young man from Uruguay called Ireneo Funes, who fell from a horse in his nineteenth year and became unable to forget. Funes could recall not only every leaf of every tree he had ever seen, but every shape of every cloud at every moment of every day of his life, and the exact angle at which each leaf had been hanging at each of those moments. The story is short and devastating. Borges’s narrator concludes that Funes “was not very capable of thought.” To think, the narrator argues, is to forget differences, to generalise, to abstract. A mind that retains everything is a mind that cannot reason about anything.
We are living, in 2026, inside the engineering problem that Borges set in 1942. The current generation of AI agents has the opposite problem of Funes, which is that they forget too quickly and too poorly, but the solutions emerging across the enterprise stack are converging on the same answer: do not store everything, store the right shape of the right thing, and engineer the forgetting as deliberately as the remembering. The “memory wars” inside the AI industry are a forty-second-row argument about how much of Funes’s pathology we want to install in production systems, and how much of his narrator’s discipline we want to build into the scaffolding around them.
This piece walks through the four architectural layers that the past eighteen months have produced (scaffolding, structured memory, commerce, governance), grounds each one in the actual standards and acquisitions of late 2025 and early 2026, and closes with the practitioner’s note: how to read a brief that says “we are building an agent” and what the four layers should already tell you. The frame I have leaned on heavily for the four-layer architecture is Nate B Jones’s analysis on his YouTube channel and Substack, which I cite throughout; the framing is his, the data and opinions are mine.
The Mech Suit: Why a Prompt Is Not a Workflow
The first failure mode of the current cycle is treating an agent as a language model with a chat interface. Jones calls the architectural correction a “mech suit”: the agent is the human pilot, and the scaffolding around it is what lets the pilot operate in production. The vocabulary that has stabilised over the past year, across the major frontier-lab platforms, looks like this:
- A prompt is a temporary instruction for a one-off task.
- A skill is a repeatable workflow encoded as a Markdown document the agent loads on demand.
- A plugin is a packaged combination of skills, tools, prompts and data connectors that ships as a single artefact.
- An MCP server (Model Context Protocol) is a typed connection to a live external system (a CRM, a code repository, a design tool) that the agent calls as it works.
- Hooks and scripts are deterministic code paths invoked when the workflow requires verifiable behaviour rather than model judgement.
Each of those primitives is a real shipping standard, not a metaphor. Anthropic published Skills as an open beta on 2 October 2025, then donated the specification as an open standard on 18 December 2025 at agentskills.io, with Claude.ai, Claude Code, the Claude Agent SDK and the Claude Developer Platform shipping native support. The Model Context Protocol, which Anthropic released in November 2024, was donated to the Agentic AI Foundation under the Linux Foundation in December 2025, co-founded with Block and OpenAI, on the back of more than ninety-seven million monthly SDK downloads and ten thousand active MCP servers in production.
Model Context Protocol adoption: monthly SDK downloads, November 2024 to Q1 2026 (millions)
The OpenAI Apps SDK shipped MCP support in Q2 2025, Microsoft followed with GitHub, Azure, Teams and the Microsoft 365 surface in Q3 2025, and Google added MCP support to the Gemini API and Vertex AI Agent Builder in Q1 2026. By the Digital Applied and The New Stack metrics, ninety-two per cent of new agent frameworks released during 2025 and the first quarter of 2026 (including LangGraph, CrewAI and AutoGen) ship with built-in MCP support as a default tool layer. This is the part of the architecture that has actually crossed the chasm; the protocol I was sceptical about in late 2024 is now the default I assume in any 2026 brief.
The under-rated primitive in the mech-suit list is hooks and scripts. The current cycle has spent more time arguing about which model is the best agent than about which checks should never be left to a model. Schema validation, JSON parsing, test passing, foreign-key integrity, idempotency keys: none of these belong to the model. They belong to deterministic code that runs around the model. The agents that ship reliably in production are the ones whose human builders have been ruthless about deleting the model from the hot path wherever a script will do.
The Memory Wars: Funes versus the Library
Borges’s other relevant story is “The Library of Babel,” in which every possible book exists somewhere in an infinite library, indexed by no one and findable by no system. The first generation of retrieval-augmented generation (RAG) tried to solve the agentic-memory problem by treating the corporate knowledge base as a Library of Babel: vector-embed every document, find the three most semantically similar chunks, glue them into the prompt. The practical experience of the past year has been that this is not enough.
Jones, summarising a series of analyses he published across late 2025, estimates that for sufficiently complex tasks the rediscovery of context and the loss of memory consume up to eighty-five per cent of an agent’s compute budget before useful work begins. The agents that work for an hour and then crash because they re-derived the same fact six times are the agents whose memory layer was Babel rather than Funes-with-discipline. The four memory primitives the industry is now standardising on are:
- Document trees / Page Index for structured documents where the relationship between sections matters (legal contracts, financial filings, regulatory submissions). Page Index reports 98.7 per cent accuracy on the FinanceBench benchmark for hierarchical retrieval; chunk-based RAG sits below 70.
- Tabular foundation models for the part of corporate knowledge that does not live in text. SAP’s billion-euro May 2026 acquisition of Prior Labs (a tabular foundation-model startup) and the parallel acquisition of Dremio (an agentic lakehouse) put a real number on this shift: SAP committed to invest over $1.17 billion in Prior Labs over four years.
- Graph retrieval (GraphRAG) for inherently relational knowledge such as supplier networks, root-cause analysis, fraud rings. Microsoft Research published the GraphRAG paper in mid-2024 and shipped a production-ready open implementation through 2025.
- Vector retrieval as the residual tool for unstructured search where the other three primitives do not fit. Vector was demoted, not deleted.
The honest summary is that “RAG” in 2026 is a category, not a technique. A serious memory layer asks first what contract the agent needs with the data (which fields, which permissions, which lineage), then chooses the primitive that satisfies the contract. The four-bucket framing I find most useful again traces to Jones, who emphasises that the contract precedes the database, not the other way around.
To think is to forget differences, to generalise, to abstract. In the overcrowded world of Funes there were nothing but particulars, and they were almost immediate particulars.
Agentic Commerce: Unbundling the Checkout
The third layer is the one I have been most surprised by in the past twelve months. As recently as mid-2025 it was reasonable to argue that AI agents were a chat-only product: hundreds of millions of weekly active users on ChatGPT alone, but almost none of them able to autonomously buy anything inside the chat. The architecture of online commerce was built around a human pressing a button on a page that displayed the product, the tax, the shipping and the total.
That changed on 29 September 2025, when Stripe and OpenAI co-published the Agentic Commerce Protocol (ACP), an Apache-2.0-licensed open standard for agents to assemble a purchase context and submit it to a merchant. Instant Checkout in ChatGPT went live the same week, initially for Etsy US sellers and Shopify merchants including Glossier, Vuori, Spanx and SKIMS. Salesforce announced ACP support on 14 October 2025; commercetools and PwC joined as launch partners.
Google’s parallel move came two weeks earlier. On 16 September 2025, the Agent Payments Protocol (AP2) was announced with more than sixty payments and technology partners (Mastercard, American Express, PayPal, Adyen, Coinbase, Salesforce, ServiceNow, Worldpay, JCB, UnionPay, Etsy). The architecture is materially different from ACP: where ACP focuses on the buyer-merchant-agent interaction, AP2 builds the trust layer through “mandates,” cryptographically-signed digital contracts that travel with the transaction as verifiable proof of what the user actually authorised. Mastercard committed to enabling all US cardholders by the 2025 holiday season; Visa shipped its own protocol via the Visa Developer Center in October 2025.
This is a protocol war fought across six layers (discovery, authorisation, credential, settlement, governance and liability), and it is not yet settled. The thing to notice is that the layer most under-resourced today is liability. If an agent books a non-refundable hotel room that meets the budget but violates the user’s unstated intent, who pays? AP2’s mandate model is the most rigorous attempt to make that question tractable, but the legal architecture lags the technical one by at least a year.
The Judge: Why Prompts Cannot Police Themselves
The fourth layer is governance, and the dominant architectural pattern is the LLM-as-judge. A second model, ideally on a different family from the actor agent, reads each proposed action and decides whether it aligns with the user’s intent and constraints before the action executes. The pattern works in production: Ramp’s documented LLM-judge system runs in shadow mode against human action sequences and is gated on by accuracy thresholds. The honest reason it works (and the reason a stricter prompt does not) is that the actor agent is optimising for task completion, which means it cannot also be the police of its own constraint set without compromising one objective for the other.
The classification I have started using in client work, again derived from Jones with my own modifications, splits agent actions into four risk buckets and demands a different coverage policy for each:
Recommended judge-coverage by agent action risk bucket
A 2025-2026 ZenML LLMOps survey of 1,200 production deployments recorded a three-tier pattern that I now treat as the reference architecture: deterministic checks (schema validation, JSON parsing, safety filters) run on 100 per cent of outputs at near-zero cost; lightweight model judges (DeBERTa-large, Galileo’s Luna) run on the bulk of traffic for hallucination and factuality checks; frontier-model judges handle nuanced scoring on the 10 to 20 per cent of traffic that warrants it. The crucial design rule, which a 2026 Agent-as-a-Judge paper formalised, is that the judge must not share the actor’s failure modes. A judge using the same model family as the actor on a similar prompt is correlated noise, not independent assessment.
The pattern I am most cautious about is the four-decision-scope judge, in which the judge can allow, block, request revision, or escalate to a human. The four-state decision is rigorous but expensive; most production systems I see start with allow/block and add revision later, and many never need the escalation path because the underlying tasks are bounded enough that human escalation arrives via failure rather than via the judge.
What Survives the Hype
I have spent enough hours of 2026 staring at agent demos to have an opinion about which parts of the four-layer story are durable and which parts are this cycle’s particular varieties of overclaiming. The durable parts are:
The protocols. MCP, ACP and AP2 are all going to outlive their launching organisations as standards, in the way HTTP outlived NCSA and TLS outlived Netscape. The donation of MCP to the Linux Foundation in December 2025 was the cleanest signal that the major labs have decided the protocol is the moat that everyone shares rather than a property of any one of them.
The memory taxonomy. The four-primitive (tree / table / graph / vector) framing of retrieval is the right shape; arguments about which is “best” will look as quaint in five years as arguments about SQL versus NoSQL in 2015 do today. They are different shapes for different jobs.
The judge pattern. Not the specific implementation, but the architectural separation between actor and judge. We will look back on the 2024-25 era of single-model agents with the same affectionate condescension we now have for the 2015-era practice of letting a single Rails controller handle authentication, authorisation, business logic, and database writes.
The parts that will not survive: the term agentic itself (which will be replaced by something less marketing-coded once the dust settles); the practice of measuring agent quality by the number of tools it can call rather than by the percentage of tasks it can complete unsupervised; the venture-capital fiction that every B2B SaaS product needs an agent surface to remain competitive.
What a Designer Should Notice in an Agent Brief
If you design or build products and you have an agent brief on your desk, the layers in this piece are the diagnostic kit. Read the brief once for what it says and a second time for what it leaves out.
Does the brief specify the memory contract? If it says “we want the agent to know the customer history,” that is a statement of intent, not a contract. The contract names the fields, the permissions, the lineage, the freshness window and the authoritative source. If the brief skips this layer, your first delivery is not a design; it is a contract document the team can use to write its skills.
Does the brief specify the governance layer? If it does not say which actions go through which judge with which classifier, the team is shipping an actor without a brake. You should not design the actor before the brake is specified, in the same way you would not ship a payment form without server-side validation. The cost of retrofitting the judge after launch is large; the cost of designing for it before launch is small.
Does the brief acknowledge the commerce layer? If the agent will spend any money on the user’s behalf (book a flight, buy a domain, top up a token balance), the AP2 mandate model and the ACP authorisation model are now production options. Asking which of them the team has chosen is a legitimate brief-shaping question.
Does the brief recognise that prompts are not workflows? An agent built on prompts alone is a Funes: it remembers everything, generalises nothing, and breaks the first time the environment changes. The skill-and-plugin layer is what gives the agent the discipline that Borges’s narrator was praising.
The trillion-dollar number in the title of this piece is industry shorthand for the consolidated implementation-layer market that Jones and the major-lab roadmaps are betting will form by 2030. I am suspicious of round trillion-dollar numbers in general, and I keep this one in scare quotes in my own notes. But the standards underneath it (open Skills, donated MCP, ACP, AP2, the LLM-judge architecture) are not hype. They are the infrastructure that the agent in your inbox tomorrow morning was, with high probability, built against. Recognising the four layers in your next brief is the part of design that does not get easier with a model upgrade.
Footnotes
-
Jorge Luis Borges, “Funes el memorioso,” first published in La Nación, Buenos Aires, 7 June 1942; collected in Ficciones, Editorial Sur, 1944. English translation in Collected Fictions, trans. Andrew Hurley, Penguin Classics, 1998. Borges’s narrator concludes the story with: “pensar es olvidar diferencias, es generalizar, abstraer.” ↩ ↩2
-
Nate B Jones, AI News & Strategy Daily (YouTube channel) and Substack newsletter. The four-layer scaffolding/memory/commerce/judgement frame and the specific phrase “mech suit” for agent scaffolding are Jones’s; the video “The Trillion Dollar Agentic Workflow Opportunity Is Here” is the most consolidated single statement of the framework. All numerical claims attributed below to specific reports are cited to those reports directly. ↩ ↩2 ↩3 ↩4 ↩5
-
Anthropic, “Equipping agents for the real world with Agent Skills”, engineering post, October 2025. Open-standard release: 18 December 2025 at agentskills.io. Coverage: AI Business; VentureBeat. ↩
-
Anthropic, “Donating the Model Context Protocol and establishing the Agentic AI Foundation”, December 2025. The 97-million-SDK-download figure and the 10,000-active-server figure are Anthropic’s own metrics published with the announcement. ↩ ↩2
-
Digital Applied, “MCP Adoption Statistics 2026: Model Context Protocol”. Cross-checked against the protocol’s Wikipedia entry. ↩ ↩2
-
The New Stack, “Why the Model Context Protocol Won”. ↩
-
For the foundational RAG paper, see Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” NeurIPS 2020. The simple chunk-and-embed pipeline was the dominant production pattern through 2024. ↩
-
Page Index, “Hierarchical document retrieval,” product page and accuracy benchmarks. The FinanceBench accuracy figure of 98.7 per cent is the vendor-reported metric. ↩
-
SAP press release, May 2026, covered by Blocks and Files; SiliconANGLE; CIO Dive. SAP committed to invest more than US$1.17 billion in Prior Labs over four years. ↩
-
Microsoft Research, “From local to global: A GraphRAG approach to query-focused summarization,” 2024 (preprint, later peer-reviewed). Open-source implementation. ↩
-
Stripe, “Stripe powers Instant Checkout in ChatGPT and releases Agentic Commerce Protocol codeveloped with OpenAI”, 29 September 2025. Protocol specification on GitHub. Salesforce support announced 14 October 2025. ↩ ↩2
-
PwC, “PwC and Stripe Launch Collaboration to Accelerate the Next Era of Agentic Commerce”. ↩
-
Google Cloud, “Announcing Agent Payments Protocol (AP2)”, 16 September 2025. Protocol documentation. Mastercard implementation: enabled for all US cardholders by 2025 holiday season; Visa shipped via
Developer Center, October 2025. ↩ ↩2 -
MindStudio, “LLM as Judge: The Agent Safety Pattern Every Builder Needs to Know”. Appinventiv, “LLM-as-a-Judge: The Enterprise Control Layer for Safe GenAI Scaling”. ↩
-
Ramp engineering writing on shadow-mode LLM judges in production. Summary in MLflow’s LLM-as-a-Judge documentation. ↩
-
ZenML, “What 1,200 Production Deployments Reveal About LLMOps in 2025”. ↩
-
“When AIs Judge AIs: The Rise of Agent-as-a-Judge Evaluation for LLMs”, arXiv:2508.02994, 2025. ↩