AI agents are on the 2026 trend lists of Gartner, InfoQ and Thoughtworks, with new terms such as harness, sandbox and gateway. I asked AI research agents to compile a report from about 130 sources: vendor engineering posts, trend reports and developer surveys.
The report asked two questions. What was new in software architecture in 2025 and 2026? And which architecture styles have been used the most across the history of software?
The short answer: most of the new agent architecture is an old style applied to a new component.
2025: the agent became a system
Before 2025, the main thing a team designed in an AI feature was the prompt. In 2025 it became a model that runs in a loop, calls tools, and connects to other software through open protocols.
- A standard tool protocol. The Model Context Protocol (MCP), first published in November 2024, lets any AI application call tools on any MCP server. In December 2025 the Linux Foundation formed the Agentic AI Foundation with MCP as a founding project, and its announcement counted more than 10,000 published MCP servers.
- Context engineering got a name. In September 2025 Anthropic defined it as the set of strategies for curating and maintaining the optimal set of tokens (information) while the model runs. In plain words: decide what the model sees at each step.
- Durable execution became a platform feature. Code runs in saved steps and resumes after a crash. Cloudflare released its Workflows engine for general use in April, Vercel released its Workflow Development Kit in October, and AWS announced Lambda durable functions in December.
2026: the layer around the agent became the product
By 2026 the open question was no longer how to build one agent. It was how to run agents safely, for hours, at a known cost.
- Harness engineering. The harness is everything in an agent except the model: the loop, the tools, the permissions and the checks. OpenAI wrote about it under that name in February 2026. The same month, LangChain reported moving its coding agent from 52.8% to 66.5% on the Terminal Bench 2.0 benchmark by changing only the harness and keeping the model fixed.
- Session, harness, sandbox. In April 2026 Anthropic described splitting an agent into three parts: a session (an append-only log of everything that happened), a harness (the loop that calls the model), and a sandbox (where code runs). A crashed harness resumes from the log, and credentials stay outside the sandbox.
- A stateless tool protocol. The July 2026 revision of MCP introduced a stateless protocol core. Any request can land on any server instance behind a plain load balancer, which is a component that spreads requests across servers.
The ten classics
The research found no authoritative popularity ranking of architecture styles, so this order is a judgement. It weighs how widely each style is used, how long it has been in use, how many later styles came from it, and how many standard reference catalogues list it.
- Layered (n-tier). Code sits in layers, and each layer calls only the one below.
- Client-server. A client asks, and a server that owns the data answers.
- Monolith. The whole application is built and deployed as one unit.
- Event-driven. A producer publishes an event, and any number of consumers react.
- Microservices. Many small services, each with its own data and its own deployment.
- Pipe-and-filter. Data flows through a chain of steps.
- Model-view-controller. Data, screen and input handling are kept apart.
- Service-oriented architecture. Large business services are shared across a company.
- REST (Representational State Transfer). Resources with addresses, a few standard verbs, and no session on the server.
- Microkernel (plug-in). A small core, with every other feature added as a plug-in.
Mark Richards calls the layered style "the most common architecture pattern". Microservices, which receives far more attention, is fifth.
The map
The research report states two of these matches: the session log and the gateway. The other rows are an interpretation, not a measurement.
| New in 2025 and 2026 | The classic underneath |
|---|---|
| An agent calling tools through MCP | Client-server |
| Stateless MCP | One rule from REST: no session on the server, so any server can answer |
| The session log | Event sourcing, from the event-driven family: an append-only log that can be replayed |
| An agent gateway (one entry point that enforces policy and records cost) and a registry (a list of approved agents and tools) | The gateway and service registry that microservices use |
| Tools and skills (packaged instructions for one task) that plug into a harness | Microkernel: a small core plus plug-ins |
| Agents calling other agents | Service-oriented architecture: services that publish what they do, so that others can find and call them |
Three parts match older ideas that are not among the ten: the harness is a control loop with feedback, the sandbox is isolation, and durable execution is the workflow engine.
In the diagram, MCP is the Model Context Protocol, and A2A is the Agent2Agent protocol, through which one agent hands a task to another.
How much agents are used
In a Stack Overflow pulse survey of about 1,100 developers and working professionals in April 2026, 59% used agents at work, compared with 31% in the 2025 Developer Survey. In the same survey, 63% rarely or never let agents run entirely on autopilot. Use has roughly doubled, and most of it is still supervised.
What to do with this
- Learn the classics first. If you understand layers, client-server boundaries, event logs and pipelines, most of the 2026 agent stack will look familiar.
- Name the classic, and you can look up its known problems. For example, an append-only log brings ordering and replay problems, and a gateway is one point that every request depends on.
- Read trend lists as a measure of attention, not of use.
AI disclosure: I commissioned the research. AI research agents compiled the report and wrote this text, and an AI agent compared each linked sentence with its page.

