Skip to content
Agentic SaaS development

Agentic SaaS Development: Multi-Tenant Subscription Products

Updated

Most subscription products do not break at the interface. They break where several companies share one database, where billing state says one thing and the product does another, or where a plan change only half applies. AI coding agents now produce screens, endpoints and tests quickly, so the cost of a SaaS has moved: the expensive mistakes sit in the tenant model, the billing handlers and the entitlement checks, and those still need someone to design them on purpose.

Curiosive is a software studio in Ankara, Türkiye, building with AI coding agents under senior engineer review. We work with teams across European and US time zones, using Claude Code and Cursor inside the repository and Playwright for end-to-end tests. Below is how that applies to a multi-tenant subscription product: what agents write, what engineers keep, the tax and data rules the billing and storage layers have to be built for, and what it does to cost.

24
published portfolio projects
5+
years building for production
12
countries the work runs in
100%
of code read by a senior engineer
1 day
to hear back, from the engineer

What a coding agent produces in a multi-tenant SaaS codebase

Once the tenant model and billing design exist, much of a SaaS codebase is repetition around them, and that is the work we give to agents. An engineer writes a scoped task with acceptance criteria and the boundaries the agent must not cross, for example: add a CSV export to the reports screen, scoped to the current tenant, without touching the auth middleware or the billing module. The agent reads the existing schema and route handlers, then writes the CRUD screens, the admin views, the Drizzle migrations, the request validation on Hono endpoints and the tests around them. It runs the type checker, linter and test suite before proposing a change, and a senior engineer reviews every diff before it merges. Agents never merge their own work, and continuous integration re-runs the checks on every change. Reveal’s published case documents a connected Next.js web application, browser extension and admin dashboard using Hono, Drizzle ORM and PostgreSQL. It establishes product scope and stack, not which historical changes were authored by coding agents.

Tenant isolation in the SaaS data model is an engineering decision

Define which records belong to each customer account and where access is checked in the actual product. Include background jobs and support workflows in that model. Agree acceptance checks that attempt to read, update and delete another account’s records, and review the affected data-access changes. A stack name or a universal table pattern does not establish working isolation for every application.

Billing webhooks, plans and entitlements in a SaaS product

A frequent defect in subscription products is billing state kept in two places: a customer cancels and keeps access, or a payment fails and nobody notices. We treat the payment provider's events as the source of truth and make webhook handlers idempotent, for example by recording each event ID in the same database transaction as its effect, so a redelivered event is not processed twice. Plan and entitlement logic sits in one module that the API, the front end and background jobs all consult, instead of each checking a plan name. Trials, upgrades, downgrades, failed payments and cancellations are tested as separate scenarios. Checkout and plan changes also need an authentication path: the PSD2 rules let payment providers skip strong customer authentication for a remote payment of no more than EUR 30 only while payments since the last authentication stay within EUR 100 or five consecutive transactions. PicKey (pickey.ai), with subscription billing, and Inspire Film (inspire.film), with per-title entitlement, both depend on this layer.

EU VAT and e-invoicing rules a SaaS billing system has to handle

Cross-border subscription billing puts tax rules into the data model. Under EU VAT rules, a business customer in another EU country usually pays the VAT itself through the reverse charge, although there are important exceptions. Electronic services sold to consumers are taxed in the customer's country, although below a EUR 10,000 threshold they may be taxed where the seller is established, and the One Stop Shop lets a seller declare that VAT through a single EU country. The billing system therefore has to store, for each customer, whether it is a business or a consumer and where it is. Directive (EU) 2025/516 adds that from 1 July 2030 invoices are to be issued as electronic invoices under the European standard. Cross-border reverse-charge supplies fall under its new digital reporting requirements, so Member States may not accept paper or other formats for them, and reverse-charge invoices must be issued no later than 10 days after the chargeable event. It is worth confirming the specifics with an accountant.

Cost and timelines for agentic SaaS development

Scope agent-assisted work against the SaaS account model, affected workflows and acceptance checks. Implementation speed does not establish a cost saving or a weekly production release. Agree capacity, review responsibilities and any call schedule in writing. Work runs as AI-accelerated development, starting from $2,000 per month, with scope agreed in writing. They are starting points, not quotes: scope and budget are agreed in writing after a discovery call, with no long contract to begin. The code is yours from the first commit, in repositories and hosting accounts opened in your name or connected to accounts you already hold.

Account and access decisions come before implementation volume

The SaaS service page scopes customer accounts, permissions, billing workflows and operational ownership. This page explains coding-agent assistance within that work. If the immediate aim is to test one product assumption, agree an MVP scope before committing to a larger subscription roadmap.

Questions

The things people ask before starting.

Can AI coding agents build a whole SaaS product on their own?

No, not one that paying customers should depend on. Agents write the volume: CRUD screens, admin views, migrations, tests and wide refactors. Engineers design the data model, tenant isolation, authentication, authorisation and payment paths, and a senior engineer reviews every diff before it merges. Agents never merge their own work, and continuous integration re-runs the type checker, linter and tests on every change.

Can a studio in Türkiye work on a SaaS product that holds EU or UK personal data?

Yes, with a transfer tool in place. As of 2 October 2026 Türkiye has no EU adequacy decision, and EDPB guidelines treat remote access from a third country as a transfer when the criteria are met, even for support. Standard Contractual Clauses under Decision (EU) 2021/914 are one such tool. UK adequacy regulations do not cover Türkiye either; UK transfers can use the ICO's IDTA or its Addendum, as the EU clauses alone are not valid there.

Does the EU Data Act apply to a SaaS product we sell in the EU?

Usually, because its recitals place SaaS among data processing services. Since 12 September 2025 switching terms need a written contract, a notice period of at most two months and a transitional period of at most 30 calendar days. Until 12 January 2027 switching charges are capped at costs directly linked to the switch, then banned. Services mostly custom-built for one customer, not offered at broad commercial scale, are exempt from some duties, including those charge rules.

Does the EU AI Act affect a SaaS product with a built-in AI assistant?

Yes, usually through its transparency duties. Since 2 August 2026, Article 50 requires AI systems that interact with people to be designed so those people are told they are dealing with an AI system, unless that is obvious. Generative AI systems placed on the market before that date have until 2 December 2026 to meet the machine-readable marking duty in Article 50(2).

Does a SaaS company have to collect sales tax from customers in US states?

It depends on the state, because each state sets its own sales-tax treatment of SaaS. South Dakota v. Wayfair (2018) ended the physical-presence rule and upheld a law requiring out-of-state sellers to collect sales tax once they deliver more than $100,000 of goods or services, or make 200 or more separate transactions, in the state each year. California will tax prewritten SaaS from 1 January 2027, while custom software stays exempt, so billing needs per-state tax logic.

How it starts

What happens after you write to us.

  1. 01

    You describe the product

    One paragraph on what you are building, roughly when you need it, and who it is for. No brief, no form with fifteen fields.

  2. 02

    You get a reply within a day

    From the engineer who would do the work, not a sales team. If we are not the right fit we say so, and where possible we point you somewhere better.

  3. 03

    You get a scoped plan

    Scope, price and timeline in writing before anything is committed. You decide with the numbers in front of you.

No long contract to begin, no lock-in to our tooling, and the code is yours from the first commit.

Start a conversation
Contact

Looking for an engineering partner for the long haul?

A short note about the product, the timeline and who it is for is enough to start. You will hear back from the engineer who would do the work, not a sales team.

Ankara / Türkiye · Working across European and US time zones