// How production AI apps are built
What does a production-ready AI app need?
A production-ready AI app needs ten things beyond working screens: accounts and roles, payments confirmed by Stripe webhooks, access rules on every table, automatic checks on AI output, cost limits per user and overall, background jobs that survive failures, error alerts, pages search engines can read, tested backups, and code, domain and data in the owner's name.
Want it done for you? AI MVP Development: from €2,500, fixed quote in 24h →

By Gabriel Cazaciuc, Founder & lead developer, Netcraft Digital
Last updated
Key facts
- Review rounds on an AI worksheet
- Up to 3; the last one on Claude Opus 5.5
- Source: FișaEdu, our product, Nov 2026
- Site sections generated at once
- 8, each as a durable workflow
- Source: Netcraft Studio, our product, Nov 2026
- AI product searches per gift list
- 8 per day, behind a bot check
- Source: Joylist, our product, Nov 2026
- Invoices per Stripe payment
- Exactly one, guarded by a Postgres lock
- Source: Our Stripe → Keez invoicing, Nov 2026
What makes an AI app different from a normal web app in production?
Two things: the AI can be wrong while looking right, and every use costs money. A normal web app either works or throws an error. An AI feature returns a confident answer that may be false, and each request spends tokens that someone has to pay for.
We run three AI products of our own in production: FișaEdu (AI worksheets for Romanian schools), Netcraft Studio (an AI website builder) and Joylist (a gift registry with an AI shopping assistant). This checklist is what all three needed before real users could rely on them. Most items are ordinary production work. Four of them (output checks, cost limits, durable jobs and the MCP question) exist only because the app uses AI.
What is on the checklist?
| Area | What “done” means | How we do it in our products |
|---|---|---|
| Accounts and roles | Each user sees only their data; roles checked on the server | Per-site roles in Netcraft Studio: a viewer can only read |
| Payments | Access granted only after a verified Stripe webhook | Each Stripe event recorded once in Postgres; duplicates ignored |
| Data access | Rules on every table and API route, not in the browser | Access rules per collection in Payload CMS |
| AI output checks | Wrong answers caught before users see them | Second-model review, a blind solver, nightly re-checks |
| Cost limits | Per user, per day and global caps; bot check on costly calls | Joylist: 8 searches per list per day, Cloudflare Turnstile |
| Durable jobs | A failed step is retried alone; the user is refunded if the job fails | Vercel Workflow steps; credits held until the job ends |
| Monitoring | Failures reach you before users complain | Alerts on failed AI generation and on payment incidents |
| SEO | Public pages rendered on the server, with a sitemap | FișaEdu: a sitemap with over 1,000 URLs and structured data |
| Backups | A restore you have actually tried | Managed Postgres; hosting and backups are part of our care plan |
| Ownership | Code, hosting, database and domain in the owner's accounts | Studio domains are registered in the customer's name |
How should accounts and data access work?
Every permission check runs on the server, on every request. Hiding a button in the interface is not a permission. In Netcraft Studio, every action on a site goes through one function that checks the user's role on that site: reading needs “view”, anything else needs “edit”. The same check applies when the request comes from Claude or ChatGPT through the MCP connector, so an AI assistant can never do more than the person who approved it.
If your app was started in Lovable or Bolt on Supabase, the equivalent is row-level security on every table. That is the most common gap we find in AI-built apps.
How do payments stay correct?
Access is granted when your server receives a signed webhook from Stripe, never because the browser landed on a success page. Each event is recorded once, so a retried webhook cannot grant a plan twice. Renewals that fail get a grace period that matches Stripe's retry schedule. For FișaEdu and this site, a daily job also issues exactly one legal invoice for every payment.
Details, including failed renewals and EU invoicing: Stripe subscriptions and automatic invoicing for an MVP.
How do you stop the AI from showing wrong content?
You check the output with something other than the model that wrote it. On FișaEdu, a worksheet goes through a review, and the multiple-choice items are solved a second time by Claude Opus 5.5 without seeing the answer key. If it picks a different answer, the exercise is rewritten. Every night, a scheduled job re-checks published worksheets in up to three rounds.
The full method, layer by layer: How to stop an AI app from showing wrong content.
How do you keep AI costs under control?
Pick the model per task, limit how often each user can trigger a paid call, and record the cost of every call. On FișaEdu, Claude Sonnet 5.5 writes and checks worksheets, the more expensive Opus 5.5 runs only in the last review round, and short hints run on a small, cheap model. On Joylist, a cheaper Gemini model reads shop pages and Claude Sonnet 5.5 only picks the products.
Routing, fallbacks, quotas and cost reports: Controlling AI costs in production.
What happens when a long AI job fails halfway?
With durable workflows, only the failed step runs again, and the rest of the work is kept. A Netcraft Studio site takes a few minutes to generate, with eight sections written in parallel. Each step's result is saved, so a model timeout on one section does not throw away the other seven. If the whole build fails, the credits the user paid are given back once.
How we structure these jobs: Long-running AI jobs that don't fail halfway.
What should the backend and admin panel be?
For most MVPs we use Payload CMS on Postgres inside the Next.js app. It gives the team an admin panel on day one, with access rules written in code. Our own CRM, offers, contracts and invoice ledger run on it. When a query is on a hot path, we write it directly in SQL next to Payload.
Why, and how it compares to Supabase and Firebase: Payload CMS as the backend of an MVP.
Should your app work inside Claude and ChatGPT?
Only if your users already work in an AI assistant and your product has actions worth doing from a chat. All three of our products have an MCP server. FișaEdu's and Joylist's are public and read-only. Netcraft Studio's lets a user build and edit a site from Claude, behind OAuth, with read and write scopes and a confirmation step before anything is deleted.
When it is worth it and how to do it safely: Make your product usable from Claude and ChatGPT.
What about monitoring, SEO, backups and ownership?
They are ordinary production work, and they are the items most often skipped. In our products, a failed AI generation sends an alert. In Netcraft Studio, a payment with a wrong amount, a refund, a dispute or a failed renewal raises a billing alert, and a failed renewal also emails the customer. The invoicing job reports every payment that still lacks data.
Public pages are rendered on the server so search engines and AI assistants can read them. FișaEdu keeps its worksheet catalog open without an account for that reason. Backups only count if someone has restored from one. The code, hosting, database and domain should be in your accounts from the first day, not the agency's.
How do you check a builder against this list?
Ask how they handled each item in an app that is live today, and ask to see it. A builder who has run AI products in production will answer with specifics: which model checks which output, what the daily cap is, what happens to the user's money when a job fails.
Questions to ask before you hire
- Where is access checked: in the browser or on the server?
- What grants a paid plan: the success page or the Stripe webhook?
- What checks the AI output, and is it a different model from the writer?
- What stops one user or a bot from spending your AI budget in a night?
- If a generation fails after 3 minutes, what is kept and who is refunded?
- Who gets an alert when payments or AI calls fail?
- Whose name are the domain, GitHub repository and database in?
Our fixed prices for an MVP that covers this list are on the pricing page, and the scope of a launch is described on AI MVP development.

