AI Agents
23. November 2026The Backend After the Demo
Whether an agent connected the app to services or wrote the infrastructure itself, the demo can look the same. The engineering responsibility isn't.

Ask a coding agent for a small membership application and it may produce a convincing first version: a signup screen, profiles, some data storage, a payment flow, and a dashboard. You can click through it. It looks like software.
At this point, two very different things can be true. The agent may have connected the application to services someone already operates. Or it may have written much of the infrastructure as application code, using libraries and patterns it selected along the way.
The demo can look nearly identical. The engineering responsibility isn't.
What did we actually acquire?
When an agent generates an authentication handler, we've acquired source code. Someone now needs to understand what it does, how sessions expire, how permissions are checked, how accounts are recovered, and which assumptions survive the next feature request.
When the application uses a maintained authentication service, we've acquired a dependency on that service. We need to understand its contract, limitations, pricing, and failure modes, but we aren't responsible for implementing its internals.
Neither choice is free. Both involve trust. They place responsibility in different places.
A generation-first workflow can blur the distinction because code arrives so quickly. The time to see a working screen drops, while the cost of operating the underlying decisions remains distributed into the future.
This matters even when the agent writes good code. Good code can still be code your product didn't need to own.
Where custom code earns its place
Consider an application that administers assessments. It needs people, courses, submissions, grades, roles, and permissions. These are familiar application concepts. It also needs grading behavior that belongs to this particular product: perhaps a scoring rubric, accommodations, or a method for combining multiple assessments.
The second category deserves custom development. The first often does not.
The distinction isn't simply browser versus server. Some custom behavior has to execute on a trusted server because it uses information a student must never see. A quiz answer key is an obvious example. Returning the authoritative grade may also require privileged access to application records.
One approach is to write and operate an entire backend application containing both the common services and the grading logic. Another is to use an application platform for identity, data, and permissions, then supply the grading behavior at a narrow extension point.
At Uniweb, a small JavaScript compute function can run outside the browser. It receives mapped inputs and returns a result; an integration applies that result through the engine's governed write path. The function is deliberately constrained: it cannot call the network or load arbitrary packages. Larger integrations belong in external services. That's a boundary, not an attempt to make every kind of code run in one place.
The product still needs thoughtful design and testing. But the agent is no longer generating an entire application server to make one business rule executable.
The apparent freedom of a generated stack
It's tempting to regard generated infrastructure as independence. The code is in the repository; surely that means we control it.
Sometimes it does. Direct control over SQL, database indexes, deployment details, and runtime behavior is worth a great deal in applications with unusual requirements. A customized stack may be exactly the right choice.
But code ownership and useful freedom aren't interchangeable. Owning five services, the glue between them, and the upgrade path for each one also creates obligations. The freedom to change every layer comes with responsibility for every layer.
The reverse tradeoff applies to managed platforms. Uniweb's React/Vite framework is open source and its components are developer-controlled. The Application Engine is proprietary. Using it means accepting its entity model and backend interfaces instead of direct control over the database. That is a meaningful decision, not something to wave away with a claim of "no lock-in."
Supabase takes a different approach, centered on PostgreSQL and services around it. Next.js provides substantial full-stack capabilities. AI builders increasingly connect to managed databases and authentication rather than generating all the pieces themselves. This is not a choice between Uniweb and primitive tools. It's a choice about where to place the boundary between product code and infrastructure.
A different question for the coding agent
Instead of starting with "build my app, including a backend," it may be more productive to ask:
Which parts of this application express its particular rules and experience? Which parts are established infrastructure? What needs a trusted execution environment, and what should remain external?
Those questions aren't new to software architecture. AI makes them more important because an agent can produce a large amount of plausible implementation before we've settled them.
We're developing Uniweb with that distinction in mind: an open-source React framework, a reusable Application Engine, visual editing, and managed delivery that support the application without prescribing its particular experience.
An agent's output is most valuable when it adds something the product didn't already have. Generic application infrastructure is often not that thing.