AI agents can now write almost any boilerplate a framework used to save you. So does your framework still matter?

Yes, but not for the reason you picked it.

Most of us chose a framework so we’d write less code. That reason is mostly gone. An agent will happily write the router, the auth middleware and the data layer from scratch. What hasn’t gone away are three other jobs a framework was doing all along:

  1. It tells the agent how to build.
  2. It tells the reviewer what to check.
  3. It’s something you have to keep patched in production.

When code is cheap, those three jobs matter more, not less.

Key takeaways

The case for dropping your framework

In February, Alain Di Chiappari’s “Software Engineering Is Back” took off on Hacker News with a blunt claim: “Coding agents have replaced every framework I used.”

His argument is that the one real thing frameworks did was automate boilerplate. Agents do that now, and the rest is someone else’s structure you didn’t need. “A simple Makefile covers 100% of my needs for 99% of my use cases.”

He’s right about the boilerplate. It’s free now. But saving typing was only one of a framework’s jobs.

Job 1: It tells the agent how to build

Without a framework, an agent still makes architecture decisions. It just makes them again on every prompt, and not always the same way.

One developer removed Next.js from a project and let agents work without it. With no conventions to follow, the agents put code in inconsistent places. Paul Kinlan saw something similar: agents repeated the same logic across screens instead of reusing it.

With a framework, those decisions are already made. Harminder Virk, who created AdonisJS, built a production checkout flow and admin area in one evening with Claude. He credits the framework: auth, sessions, jobs and project structure were settled, so the model wasn’t choosing between patterns on every prompt. He has a stake in that conclusion, but it matches what the Next.js experiment shows from the other side.

Framework teams are now building for agents directly. In January, Vercel tested agents on Next.js 16 APIs that aren’t in their training data. With no help, agents passed 53% of tasks. With an 8KB docs index in AGENTS.md, they passed 100%. Both Next.js and Svelte now ship MCP servers and docs written for agents.

There’s one catch. If you don’t choose a framework, the agent will, and it chooses by popularity. A peer-reviewed study of eight LLMs found they favor popular libraries over suitable ones, reaching for one the task didn’t need in up to 45% of cases. In web development, most tools default to nearly the same stack: Next.js or Vite, Tailwind and shadcn/ui.

Job 2: It tells the reviewer what to check

In Code Is Cheap Now. Production Isn’t., I argued that AI moved the bottleneck from writing code to reviewing and running it. In one Carnegie Mellon and Stanford study, PR volume grew 3.1× while the reviewer pool grew 1.5×.

That review queue is where a framework earns its keep. A reviewer reading a PR in a Next.js, Rails or AdonisJS app checks it against conventions they already know: where routes live, how data loads, how auth works. A reviewer reading an architecture the agent invented has to learn that architecture from the diff first. Every PR becomes a one-off, and the queue gets slower.

I haven’t seen a study that measures this directly, so treat it as an argument rather than a measurement. But it’s why one reply to Di Chiappari, “The Leg Was Never Broken”, calls frameworks “coordination protocols.” Code shaped around one person’s thinking works until someone else has to review or maintain it.

Job 3: It’s something you have to keep patched

On December 3, 2025, React disclosed React2Shell (CVE-2025-55182), an unauthenticated remote code execution flaw in React Server Components. It affected Next.js 15 and 16, and apps created with create-next-app defaults were vulnerable out of the box.

Fixing it meant updating React or Next.js, then rebuilding and redeploying every affected app. Even the stopgap broke things: Cloudflare’s emergency WAF rules caused an outage of their own before they were corrected.

React2Shell had nothing to do with AI, and that’s the point. When an agent scaffolds an app for you, you still sign up for the framework’s releases, security advisories and end-of-life dates. Someone on your team has to own those. It’s the same lesson as PHP2Shell: the fix arrives fast, but getting it running everywhere doesn’t.

What did change: switching got cheaper

The skeptics have one strong point. Airbnb used LLMs to migrate about 3,500 test files from Enzyme to React Testing Library in six weeks, against an original estimate of a year and a half. If agents can move you between frameworks that cheaply, lock-in matters less.

But that migration worked because both ends were well-known libraries and the tests could verify every file. Even then, about 900 harder files needed many rounds of prompt tuning, and engineers fixed fewer than 100 by hand. Moving between two documented frameworks is the easy case. Moving off an architecture an agent invented and nobody documented is the hard one.

Di Chiappari is also right that not everything needs a framework. A script, a prototype or a tool only you will use can skip one.

What to do

  1. Choose your framework on purpose. Accept the agent’s default if it fits, but write down why.
  2. Write your conventions down for the agent. Put your framework version, patterns and rules in AGENTS.md or your equivalent. Vercel’s evals show this works better than leaving docs for the agent to find.
  3. Keep the framework current. Agents already lag behind the newest APIs, and the further behind your app falls, the more an upgrade costs when a security advisory forces one.
  4. Watch its security advisories like your own code. Know which apps run which version, and make sure you can rebuild and redeploy all of them in a day.

So, does it still matter?

Yes. Frameworks were never mainly about typing less. They’re agreements about where things go, how things work, and who fixes what when it breaks. Agents made the typing free. The agreements matter more than ever, because your agents, your reviewers and your on-call engineers all have to share them.

FAQ

Do AI coding agents make frameworks obsolete? No. They make boilerplate obsolete, not the framework. Without a framework’s conventions, agents place code inconsistently, and reviewers have to learn a new architecture from every diff.

Which frameworks do AI coding tools prefer? Popular ones. A study of eight LLMs found they favor widely used libraries even when unnecessary. For web apps, most tools default to Next.js or Vite with Tailwind and shadcn/ui.

How do I get AI agents to use a framework’s newest APIs? Give them the docs in context. In Vercel’s evals, agents passed 53% of tasks on new Next.js 16 APIs by default and 100% with an 8KB docs index in AGENTS.md.

What was React2Shell? CVE-2025-55182, a critical unauthenticated remote code execution flaw in React Server Components, disclosed on December 3, 2025. It affected Next.js 15 and 16, was exploited within hours, and left 77,664 IP addresses vulnerable three days later.