
Anthropic shipped Claude Sonnet 5 on June 30 — their most agentic Sonnet yet, priced to run cheaply and built to plan, call tools, drive a browser and a terminal, and dispatch subagents. It's an engineering achievement. It's also an architectural hazard, and not because of anything wrong with the model.
We're moving from single-file autocomplete to autonomous swarms: loops that spin up subagents, write multi-file PRs, and refactor whole subsystems while you sleep. Point that machine at a codebase with weak boundaries and it will write features at machine speed. It will also write coupling, circular dependencies, and architectural rot at machine speed. You'll get a legacy-grade big ball of mud in weeks instead of years.
For years we treated Domain-Driven Design and strict bounded contexts as clean-code idealism. We praised them in architecture reviews and cut corners in practice — leaking database schemas and global state across modules — because a human developer could keep the whole thing in their head and route around the mess. That crutch is gone.
In an AI-native codebase, the primary constraint is no longer code production. It's the agent's context window and its cognitive load. If your codebase is a monolith of coupled logic, an agent implementing one small feature has to ingest the entire world to make a single safe change. Its context bloats, latency spikes, cost balloons, and hallucinations climb. Worse, the agent can't see the invisible guardrails a human keeps in their head, so it will couple everything to everything else in service of the immediate prompt. You get 10x velocity and a distributed big ball of mud to go with it.
Boundaries are the thing the agent can't invent
To get real leverage, your architecture has to supply the boundaries the agent won't create on its own. This is where Domain-Driven Design turns into something practical: the API for an agentic swarm.
When a codebase has strict bounded contexts, each domain module has its own isolated tables, a clear public contract, and no hidden dependencies. Now you can hand a Sonnet 5 subagent a single context and say: "Implement this feature here. You only need this API surface and this local schema." The agent's cognitive surface area collapses. Hallucinations drop toward zero. It compiles, tests, and deploys safely, because it's physically hard for its changes to leak into the rest of the system.
That's not a philosophical upgrade. It's the plumbing that makes autonomous, self-correcting development possible at all. This is exactly why, when we install ETC with a team, the boundaries and the enforcement come first — before a single feature runs through the pipeline — and the build fails loudly the moment an agent reaches across one. The capability comes from the model. The trust comes from the structure you put around it.
What technical leaders should do this quarter
Draw the bounded contexts now. Before you turn on agentic workflows, refactor into strict, domain-isolated modules with explicit interfaces. If you can't describe your system as a set of independent bounded contexts with clean contracts between them, your agents will turn it into spaghetti. Fast.
Move architecture upstream of the agent. Your senior engineers stop being code reviewers and become interface and context architects. Their job is to design the domain boundaries and define the contracts between them. Once the boundary is sealed and the interface is defined, the swarm can safely fill in the interior logic.
Enforce boundaries in CI, not in review. Use ArchUnit, module-boundary lint rules, or import restrictions in your pipeline. If an agent tries to import a package or touch a table outside its assigned context, the build fails immediately. Don't rely on human PR review to catch architectural leakage — at swarm speed, it won't.
The bottom line
The organizations that win the AI-native race won't be the ones whose agents write code the fastest. That's becoming a commodity. The winners will be the ones whose architecture is modular and well-bounded enough that a swarm can run autonomously, safely, and at scale inside it.
If you want the speed of an agentic swarm, build the boundaries to contain it first. The model brings the horsepower. You have to build the road.
Jason Vertrees is the founder of Heavy Chain Engineering (heavychain.org), which helps lower middle-market vertical SaaS companies and PE firms turn scattered AI usage into measurable delivery leverage — 85% faster feature velocity, six-to-eight-week projects shipped in days. If you want help building an AI-native engineering organization, book an AI Delivery Assessment (app.onecal.io/b/jason-vertrees/30-mins).