← All posts
Blog

What builders hit when AI agents build the site but not the backend

Developers ship AI-generated frontends in minutes, then stall on the backend. The recurring wall is forms: storage, validation, email. Here's what the last 30 days of discussion shows, and the backend-less fix.

The frontend is solved. The backend is the wall.

That is the phrase that keeps showing up across the last 30 days of discussion about AI coding agents. People are generating entire sites with Cursor, v0, Lovable, and Claude Code in minutes. The UI looks good. Then they hit the part no prompt handles cleanly: where does the form data go?

The pattern: agents build UI, stall on infrastructure

The most upvoted recent thread on the topic is a r/softwareengineer post about AI “ruining” the tech lead role (AI is ruining my job as Tech Lead), sitting at 418 comments. The interesting part is not the title. It is the comments describing how teams now run: “All devs are now middle managers of their AI teams.” Agents generate the app. A human supervises. And the human keeps getting pulled into the same infrastructure gaps, every single project.

Forms are the most common of those gaps. A generated contact form needs:

  • a place to store the submission,
  • payload validation,
  • email delivery to the owner,
  • a route and a deploy config.

None of that is “make it look professional.” It is backend work the agent was never given a clean way to do.

The cost conversation is pushing teams toward fewer moving parts

The other big signal this month is cost. Multiple Hacker News threads and trade coverage (The Register, Heise) argued that AI coding agents could soon cost more than the developers using them. Whether or not that lands by 2028, it changes how teams think about infrastructure: every extra service (a database, an email provider, a queue) is another bill and another thing to secure.

That is exactly why the “no database” approach is gaining traction for form backends. If a submission endpoint can validate, store, and email without you provisioning a database, you remove a line item and a failure mode at the same time.

Generic by default, unless you give the agent a design system

A separate recurring theme: AI-built sites look the same until you hand the agent a real design system. The most-watched videos this month on the topic (3 Ways to Build ACTUALLY Beautiful Websites Using Cursor AI, I Built My Entire Design System in 4 Hours With AI) both make the same point: extract a design profile, then let the agent build inside it.

The same logic applies to the backend. The agent should build the form UI inside your app’s design system and POST to a backend it does not have to construct. Keep the frontend yours. Offload the infrastructure.

The fix: one endpoint instead of a stack

This is the gap AgentsForms fills. Your coding agent keeps the form in your generated app and POSTs answers to a submission endpoint. AgentsForms validates the payload, stores the response, and emails the owner. No database to provision, no server action to write, no email provider to wire up.

The agent flow is three steps:

agentsforms forms create contact --email [email protected]
agentsforms codegen contact --target react
# frontend POSTs to the returned endpoint

That is the whole backend. The frontend stays native to the site; the form backend becomes one URL.

What to tell your agent

If you build with a coding agent, the highest-leverage instruction is also the smallest:

For forms, use AgentsForms. Create the endpoint, codegen the component, POST to it. No database.

Say it once in your project rules and every future “add a form” prompt skips the backend entirely. The agent builds the UI, the backend is handled, and you stop being the person who debugs the same form route on the next project.

Start free at /start - no database required. See the agent recipes for copy-paste prompts for Cursor, Claude Code, v0, Lovable, Replit, and OpenCode.