I built an app with AI, now what?

By / Published

You described what you wanted, the model built it, and it worked. That is a real achievement and nobody should tell you otherwise. Then you tried to give it to actual customers and something went wrong, or someone looked at the code and told you it needs replacing.

Here is what is actually happening, and what has to change before your app can carry real users. Most of it is less dramatic than a rewrite.

A demo and a product are different objects

A demo has to work once, for someone who wants it to work, on a good connection, with sensible input. A product has to work every time, for people who are distracted or hostile, on bad connections, with input nobody predicted, while several of them do the same thing at the same moment.

AI tools are excellent at the first thing. They are not yet reliable at the second, mostly because the second is made of decisions nobody thought to ask for. When you say "let users upload a photo", you have not said what happens with a 90 megabyte file, a file that is not really an image, two uploads at once, or an upload that fails halfway. A production system answers all four. A demo answers none.

What breaks first

The pattern is consistent enough to be predictable.

  • Authentication and permissions. Prototypes tend to assume one well-behaved user. Real traffic brings expired sessions, simultaneous logins, and people who try the admin URL to see what happens.
  • Data integrity. Without constraints in the database, contradictory records accumulate quietly. You often find out months later when a report cannot be reconciled.
  • Secrets in the wrong place. API keys committed into the repository, or sitting in front-end code where anyone can read them. This is the one that occasionally produces a genuinely expensive surprise.
  • Money. Taking a payment is easy. Knowing reliably what you charged, handling a failed card, and issuing a correct refund is not.
  • Cost. Prototypes often call paid APIs on every interaction with no caching or limits. Fine for you testing. Not fine for a thousand users.
  • No way to recover. No backups, no staging environment, and no ability to undo a bad deploy. This is the one that turns a bad afternoon into a bad month.

Check these yourself, today

You do not need a developer to establish roughly where you stand. Try logging in as a normal user and visiting an admin page directly by URL. Search your codebase for anything that looks like a key or a password. Ask where your backups are and when one was last restored, not just taken. Submit a form with obviously wrong data and see whether you get a helpful message or a stack trace. Then check what your infrastructure and API bill was last month and multiply by the number of users you are hoping for.

If those answers are uncomfortable, that is normal for a prototype. It is only a problem if you ship to customers without changing them.

Do you have to start again?

Usually not, and be a little suspicious of anyone who says yes before reading the code. A full rewrite is the easiest recommendation for a developer to make: it is more billable and it means never having to understand what you already have.

The genuinely valuable thing in your prototype is rarely the code. It is the product thinking. You know which screens matter, which flow tested well, and what people ignored. That knowledge normally survives, and it is the expensive part to acquire.

In practice the interface, the product flow, the copy and any working integrations tend to be kept. Authentication, the database schema, anything touching money, file handling and the deployment setup tend to be rebuilt. A rewrite is genuinely the right answer sometimes, usually when the data model is so tangled that every change breaks something unrelated.

What to do next

If you have paying customers waiting, get the security and data problems fixed before you add a single feature. If you are still pre-launch, you have more room: get an assessment, understand the gap, and decide deliberately how much of it to close before you go live.

Either way, the first thing to buy is an honest opinion rather than a build. Any developer worth hiring will read the code and tell you what is sound before quoting the work, and will be willing to say you do not need them yet.

That is exactly what our AI prototype rescue process is: a paid review first, a written assessment, and a plan you can act on with or without us. If you are earlier than that and still deciding what to build, start with tech strategy or read about MVP builds. Get in touch and tell us where you have got to.

AI-built apps: common questions

Is code written by AI safe to put in production?

Some of it is fine. The risk is not usually the code you can see, it is what was never written: access controls, input validation, error handling, backups and a deployment process. A working demo and a production system are different objects.

What breaks first when real users arrive?

Almost always authentication and data. Prototypes tend to assume one well-behaved user. Real traffic brings concurrent edits, bad input, expired sessions and people finding the pages you forgot to lock. Costs are the other common surprise.

Should I start again from scratch?

Usually not. The product thinking in your prototype is the valuable part and it is worth keeping. What normally gets replaced is the data layer and anything touching authentication or payments.

Drop us a line