A prompt builds a demo. Enterprise software needs more.

AI coding agents can build a working app in a weekend. That is a proof of concept, not enterprise software. The four gaps are domain knowledge, architecture, security and GDPR compliance, and this is how to close them.

By the Vedira engineering team. Published .

Part 1 of a series: Building enterprise applications with AI agents

Many founders have had the same experience this year. They describe an idea to an AI coding agent on Friday evening, and by Sunday they have a working app: screens, a database, a login page, even a deployment. It feels as if software development has been solved.

It hasn’t. What they have built is a proof of concept (POC). That is valuable, because it shows the idea can work and it gives investors and users something to react to. But a POC and an enterprise application are different things, and the distance between them is where most of the real work, cost and risk sit.

This is the first part of a series on building enterprise applications with AI agents. Here we look at what a prompt-built app leaves out. The later parts go into how to close each gap.

What a demo proves, and what it doesn’t

A demo answers one question: can this work? An enterprise application has to answer many more.

A weekend POC An enterprise application
Users You, a few testers Hundreds or thousands, with different roles and rights
Data Sample data Real customer, financial or personal data
When something fails You refresh the page Failures are detected, contained and recovered from
Integrations None, or one API ERP, CRM, identity provider, payments, reporting
Security Works if nobody attacks it Has to hold up when someone does
Compliance Not considered GDPR, sector rules, audits, contracts
Change Rewrite it if needed Maintained and extended for years by different people

AI agents are very good at the left-hand column. The right-hand column depends on knowledge the agent does not have unless someone gives it.

Gap 1: Domain knowledge, or what “correct” means

An AI agent writes code that does what the prompt says. It cannot know what the prompt left out.

Every serious business domain has rules that are obvious to people inside it and invisible to everyone else. In financial reporting, for example, totals must reconcile after rounding, sign conventions decide whether a cost is shown as positive or negative, and the rules change with each new reporting year. An app that ignores those rules can look perfect in a demo and still produce figures that an auditor rejects.

The same is true in healthcare, logistics, insurance or HR. Someone has to define what “correct” means before the agent can build it. That means turning domain knowledge into clear specifications, edge cases and test examples. Part 2 of this series is about how to do that.

Gap 2: Architecture, or how it holds up over time

A prompt-built app is optimised for the next prompt, not for the next five years. The questions that decide whether it survives in production are architectural:

  • Scale. What happens with 100 times the users or data? Which parts become slow or expensive?
  • Integrations. How does it connect to the systems the business already runs, and what happens when one of them is down?
  • Failure and recovery. Are there backups, retries and monitoring? Can you restore yesterday’s data?
  • Maintainability. Can another developer understand and change the code next year, or does every change break something else?

AI agents will happily generate an architecture, but they will not weigh these trade-offs for your business unless an experienced engineer frames the decision and checks the result.

Gap 3: Security, which generated code often gets wrong

Code that works is not the same as code that is safe. Problems that turn up often in quickly generated applications include:

  • API keys, passwords and other secrets written directly into the code
  • Endpoints that return data without checking who is asking
  • Access control enforced only in the user interface, not on the server
  • Missing input validation, which opens the door to injection attacks
  • Outdated or unnecessary dependencies pulled in without review
  • No logging, so nobody can tell afterwards what happened

Broken access control has topped the OWASP Top 10 list of web application risks for years. It is exactly the kind of flaw a demo never reveals, because in a demo every user is trusted. Security has to be designed in from the first specification, then checked with code review, automated scanning and tests. Part 4 covers how.

Gap 4: Compliance, especially GDPR in Europe

For any application that handles personal data of people in the EU, the General Data Protection Regulation (GDPR) applies. A prompt-built app usually ignores it entirely. Enterprise software has to answer questions such as:

  • Data residency. Where is personal data stored and processed? Transfers outside the European Economic Area need a legal basis.
  • Data protection by design. Is only the necessary data collected, and is it protected by default?
  • Rights of individuals. Can you find, export, correct and delete one person’s data when they ask?
  • Retention. Is data deleted when it is no longer needed?
  • Audit trails. Can you show who accessed or changed what, and when?
  • Third parties. Which external services, including AI model providers, receive the data?

Fines under the GDPR can reach €20 million or 4% of worldwide annual turnover, whichever is higher. Depending on the sector, other rules come on top, and for some uses of AI the EU AI Act does too. These are not features you add at the end. They shape the data model and the architecture from day one.

So is building with AI agents worth it?

Yes, absolutely. We use AI agents in our own development every day, for writing code, generating tests and reviewing changes. They make experienced teams much faster.

But the speed comes from combining the agent with people who know the domain, the architecture, security and the law. Without that, AI simply produces more code, faster, with the same blind spots. With it, you get enterprise-grade software in a fraction of the time it used to take.

AI multiplies expertise. It doesn’t replace it.

A quick check before you call an AI-built app production-ready

  1. The business rules are written down, with edge cases and examples, and tested.
  2. Someone has decided how the system scales, integrates and recovers from failure.
  3. No secrets are in the code, and every endpoint checks who is calling.
  4. Access control is enforced on the server.
  5. Dependencies are reviewed and kept up to date.
  6. You know where personal data is stored and which third parties receive it.
  7. You can export or delete one person’s data on request.
  8. Important actions are logged, and the logs are protected.
  9. Backups exist and a restore has actually been tested.
  10. Another developer can understand the code and change it safely.

If several of these are unchecked, you still have a POC. That is fine, as long as everyone knows it.

If you are turning an AI-built prototype into a product your customers and auditors can rely on, talk to our engineers. See also how we approach AI automation and information security.

Tell us what you need to build

Send a short description of the software or automation you need. The engineers who read it are the people who would build it.