All insights

Brownfield AI

Is vibe coding enough for mature SaaS?

AI writes the right shape. Your product decides the right rule.

Co-founder and CEO, Datics AIUpdated 6 min read

Short answer

No. Vibe coding a SaaS prototype is fine, but a mature product with paying customers needs more than plausible code. AI coding tools do not know your tenant boundaries, permission model, integration contracts or the customer rules buried in old branches. Keep the speed and add the harness around it: regression tests on critical paths, server-side permission checks, evaluation on real cases, human review and a staged rollout.

On this page
  1. 01What vibe coding means, and where it stops
  2. 02Where vibe coding SaaS changes go wrong
  3. 03The failure mode is confidence, not syntax
  4. 04What to add around AI-assisted work
  5. 05Prototype versus mature product
  6. 06What we see in production
  7. Frequently asked questions

01What vibe coding means, and where it stops

The term was coined by Andrej Karpathy in early 2025. Google Cloud describes it as a workflow where the developer stops writing code line by line and instead guides an AI assistant to generate, refine and debug the application through conversation. This is part of our larger guide, AI integration for SaaS.

Pure vibe coding for throwaway projects versus responsible AI-assisted development, where people review and test the code.
The difference is what has to surround the code once customers depend on it.

Google separates two versions of it. In "pure" vibe coding, the user trusts the output and, in Karpathy's framing, forgets that the code even exists. Google says this is best suited to rapid ideation and what Karpathy called throwaway weekend projects. The second version is responsible AI-assisted development, where the user guides the AI and then reviews, tests and understands the code before taking ownership of it. Even in Google's own description of the full application lifecycle, there is a step where a human expert reviews the application for security, quality and correctness before deployment.

That distinction is the whole argument. Nobody serious is saying "do not use AI to write code." The question is what has to surround it once the code runs inside a product that customers already depend on.

02Where vibe coding SaaS changes go wrong

A mature SaaS product carries years of decisions that are not visible in any single file. An AI coding tool reads the code you give it. It does not know:

  • Which tenant a record belongs to, and which cross-tenant read is a breach rather than a bug.
  • Which endpoints are contractually stable for integration partners.
  • Which fields are regulated, retained, or must never leave a region.
  • Which branch that looks redundant encodes a rule someone negotiated for one customer.
  • Which permission checks live in the server and which only live in the interface.

Outside research points the same way. Veracode tested more than 100 large language models on 80 curated coding tasks and found that, when given a choice between a secure and an insecure method, the models chose the insecure option 45 percent of the time. The models failed to secure code against cross-site scripting in 86 percent of relevant cases and against log injection in 88 percent. Veracode also reported that larger models did not perform significantly better than smaller ones.

Speed is not guaranteed in mature code either. In a randomized study by METR, 16 experienced open-source developers worked on 246 real issues in large repositories they had contributed to for years, averaging more than a million lines of code. With AI tools allowed, they took 19 percent longer. They had expected a speedup of 24 percent, and afterwards still believed they had been sped up by 20 percent. METR is careful to say this is a snapshot of early 2025 tools in one setting, not proof that AI slows most developers. The lesson for a SaaS leader is narrower: in a large, familiar codebase, feeling faster and being faster are different measurements.

03The failure mode is confidence, not syntax

Generated code compiles and reads well. That is exactly why it slips through review. The defects that reach production from AI-assisted work tend to be semantic: the right shape, the wrong rule. A query that forgets a tenant filter looks identical to one that remembers it, until a customer sees another customer's data.

Access control is where this hurts most. OWASP ranks broken access control first in its 2021 Top 10 and reports that 94 percent of applications were tested for some form of it. Its prevention advice reads like a checklist for reviewing generated code: access control is only effective in trusted server-side code, deny by default, implement the mechanism once and reuse it, and enforce record ownership rather than accepting that a user can create, read, update or delete any record.

The answer is not banning the tools. It is making your constraints machine-checkable, so that a wrong rule fails a test instead of failing a customer.

04What to add around AI-assisted work

We treat the following as the minimum harness before AI-assisted changes speed up on a product with paying customers. The order matters, because each step makes the next one safe.

  1. 01

    Regression coverage on critical paths first.

    Before you accelerate change on billing, permissions, tenancy or integrations, pin down what they do today with tests.

  2. 02

    Permission and tenancy checks enforced on the server.

    Never in a prompt, never only in the interface. Generated code should call the same shared check every time.

  3. 03

    Typed interfaces for tools and integrations.

    An agent or a generated call should not be able to invent a parameter or an endpoint.

  4. 04

    Evaluation sets from real historical cases.

    Use cases with known correct outcomes, so a change is judged against what the product must do, not what looks reasonable.

  5. 05

    Human review that knows the domain.

    Reviewers check rules, not formatting. Small pull requests make this possible.

  6. 06

    Staged rollout per tenant with useful logs.

    Logging should be good enough to explain any single action after the fact.

Once this harness exists, AI-assisted engineering becomes genuinely fast, because the guardrails catch the class of error that made teams cautious in the first place. Speed and safety stop competing.

05Prototype versus mature product

The same tool is a good fit in one setting and a risk in the other. The difference is what the code is allowed to touch.

Comparison of a prototype and a mature SaaS product across users, data, permissions, integrations, review and rollback
Vibe coding fits the left column; the right column needs the harness
ConcernPrototype or internal toolMature SaaS with paying customers
UsersThe builder and a few testersMany tenants with contracts and roles
DataSample or syntheticReal customer records, some regulated
PermissionsOften skippedEnforced on the server, per record
IntegrationsOptionalPartners depend on stable contracts
ReviewThe author runs it and looksDomain review, tests and evaluation
RollbackStart againStaged rollout and an audit trail

If a change sits in the left column, vibe coding is a fine way to learn quickly. If it touches anything in the right column, it needs the harness above.

06What we see in production

Most of our work happens inside codebases we did not write. Our CTO, Rana Umar Majeed, puts it this way: "We have spent years inside codebases we did not write, with customers who could not be disrupted. That constraint is the job, not an exception." Cursor is part of our engineering toolchain, so this is not an argument against AI coding tools. It is an argument about sequence.

For Summers & Company's AI platform, our data engineer first built a clean, testable ingestion pipeline for scattered public data, and only then the knowledge graph the platform's AI draws on. On a competitive inventory product for dealers, an early scraper pipeline with its own database had to become one crawling engine, with partial crawls reported, catalog mapping that can be undone and separate dev, QA and production per dealer network. Those are exactly the parts a prototype skips. On a multi-tenant fulfillment platform, we replaced only the legacy storefront layer that was blocking progress and left the rest alone. On a secure mobile key platform, we built new APIs into the existing identity and access control services one at a time, under the client's own technical lead.

The pattern is the same each time. We ship by pull request, changing only what the capability needs, and the checks around the change carry the risk instead of the reviewer's memory. When AI moves from writing code to taking actions inside the product, the same thinking applies, which we cover in how to add AI agents to an existing SaaS product and in why AI agents fail in production.

Frequently asked questions

Should mature SaaS teams stop using AI coding tools?

No. The tools are useful, and many teams already use them every day. The point is to put tests, server-side permission checks, evaluation and review around them, so that generated code is held to the same rules as any other change to a product customers depend on.

What should be tested first before speeding up AI-assisted changes?

Start with the paths where a silent mistake costs the most: tenancy filters, permissions, billing and the integrations partners rely on. Pin down their current behavior with regression tests, then let AI-assisted changes move faster on top of them, so that a wrong rule fails a test instead of failing a customer.

Is vibe coding acceptable for internal tools?

Often, yes, as long as the tool does not touch real customer data, production permissions or partner integrations. Google says pure vibe coding is best suited to rapid ideation and throwaway projects. Once an internal tool touches real data or permissions, it is no longer a prototype and should go through the same harness as the product.

How Datics helps

Datics specializes in Brownfield AI: production AI inside software people already rely on. A Build Sprint puts one outcome working in your product's staging in three weeks, for $10,000, and the fee counts toward production. Not sure what to build first? The Planning Sprint ranks it in two weeks, for $5,000.

›References (4)
  1. Google Cloud: What is vibe coding?
  2. Veracode: AI-generated code poses major security risks in nearly half of all development tasks
  3. METR: Measuring the impact of early 2025 AI on experienced open-source developer productivity
  4. OWASP Top 10 2021: A01 Broken Access Control

Related work

Case studies from our projects on the same subject.

CleanHaus

Property Management · Turnover operations SaaS

Hosts and cleaners manage rental turnovers in chat, within each person's permissions

Owners, managers and cleaners all talk in one property chat. Now an AI there acts for each of them, only within that person's role.

Brownfield AIAgentic workflowsPermission-aware
Read case study

OCCI

Other software · Enterprise data assistant evaluation

OCCI kept Copilot once its live job cost answers were checked against SQL

Leaders wanted plain language answers from their own job cost data. We tested their Copilot agent in their tenant and checked each answer against SQL.

Brownfield AIForward deployedEvaluated before launch
Read case study

Government payments software company

GovTech · Property tax collection platform

Tax offices kept collecting while our engineers moved into the new owner's team

A change of owner can stall a live product. Offices kept collecting while we moved the code to the new owner and joined its sprints.

Forward deployedInside a live productMulti-tenant
Read case study

Your customers already expect AI from your product.

Let us make it real inside the product you run today.