SaaS speed. Your code. 0 % of your revenue.

The subscription commerce engine for AI-built stores: your agent changes the offer and checkout in your code, while subscriptions, renewals and payment recovery come built in.

Your code on the engine
Your code sits on a stable API. Upgrades replace only the engine.

Open source · Apache-2.0 · Stable 1.x · npm 1.4.0 · in production at velipet.com

Your code sits on a stable API. Upgrades replace only the engine.
Why now

Your margin is shrinking. Subscriptions are how you keep it.

Ads cost more
Every new customer costs more to win than last year
Apps take a cut
Subscription apps charge monthly, plus a share of every order
Owning code got fast
Your AI agent now writes the store you used to rent
Agents start to buy
Your customers’ AI agents are starting to place the orders

Subscriptions are the business, so OpenLup gives you the whole engine, in your code, with no app fee and no revenue share.

Who it’s for

Built for brands whose subscriptions are the business

Replenishment
The same products, delivered again on the customer’s cadence
Curated boxes
A box assembled for each cycle, from your catalogue
Repeat order
The customer’s own basket, ordered again when they want it
The alternatives

Faster than renting, and the store stays yours

Six things decide a subscription store, in this order. Pick an alternative and see where it gives way.

Compare OpenLup with
Shopify Plus + RechargeWooCommerce + SubscriptionsMedusaBuilt from scratch with an agent + StripeOpenLup
1 · Speed with your agentYour agent’s code is checked against Shopify’s APIsDocs, and an MCP in developer previewDocs written for LLMsStripe’s docs and MCP; your money rules unprovenYour agent knows what is installed; changes checked before deploy
2 · Margin kept1.50 % + 20¢ an order, $149 a month, plus Plus$279 a year for the extension, nothing per orderNothing per order; self-hosted0.7 % of billing volume to Stripe Billing0 % of revenue, and no subscription app
3 · Subscriptions built inA third-party app, RechargeA paid first-party extensionA community plugin, or a recipe you finishYour agent writes renewals, retries and deliveryRenewals, recovery and self-service in the core
4 · You own itA rented store; subscribers live in the appYour code and data, on your hostYour code and data, MITEvery line is yoursApache-2.0; the whole store moves with you
5 · Upgrades, no forksUpgrades on Shopify’s and the app’s schedulePlugins carry 91 % of WordPress vulnerabilities (2025)Subscriptions live in plugins and forks you mergeEvery line is yours to maintainVersioned packages, checked before they ship
6 · Buying agentsAgent channels live; agent subscriptions not confirmedA UCP pilot; ACP limitedThird-party pluginsWhatever your agent buildsSix buying-agent guarantees live; protocol adapters next
1 · Speed with your agent2 · Margin kept3 · Subscriptions built in4 · You own it5 · Upgrades, no forks6 · Buying agents
Shopify Plus + Recharge201122
WooCommerce + Subscriptions122301
Medusa131311
Built from scratch with an agent + Stripe110300
OpenLup333332
How the levels are set

3 the engine tells your agent what is installed and checks its changes · 2 tooling checks code against platform APIs · 1 docs or MCP for agents · 0 nothing for agents 3 0 % of revenue, no app fee · 2 a flat fee, no share of orders · 1 a share of billing volume · 0 a share of every order plus monthly fees 3 in the core · 2 a paid first-party extension · 1 a third-party app, plugin or recipe · 0 you build them 3 your code and data under an open licence · 2 your code, key parts cloud-only · 1 a rented store, data exportable · 0 closed 3 versioned packages checked before deploy · 2 the vendor upgrades on its schedule · 1 plugins and forks you merge · 0 you maintain every line, or a plugin stack carrying most known vulnerabilities 3 subscription guarantees and agent protocols shipped · 2 one of the two shipped · 1 pilots or third-party plugins · 0 nothing shipped

What stays in your margin, layer by layer

Card processing is left out on both paths

LayerShopify Plus + Rechargefor a custom offer and checkoutOpenLupnpm 1.4.0 · Apache-2.0
Platform$2 300 a monthPlus, 3-year term; $2 500 on 1 year$0Apache-2.0
Share of revenueNot publishedA variable fee on sales above a threshold0 %Of every order, at any volume
Subscriptions$149 a month + 1.50 % + 20¢ an orderRecharge; or $499 + 1.25 % + 20¢In the core · 0 %Renewals, recovery, self-service built in
Apps around it$15–$299 a month eachBundles, loyalty, reviews, upsell, analytics; several scale with ordersYour own codeYour agent builds what your offer needs
HostingIncludedIn the Plus feeYour own hostingAt your provider’s price

Plus, because custom checkout steps and your own bundle logic are Plus-only; subscriptions alone run on any plan.

≈ 5 % of revenue
on the Shopify path at $80 000 a month, before card fees
≈ 2 % of revenue
at $1 000 000 a month; on OpenLup, 0 % plus hosting
How the stack is modelled

70 % of revenue from subscriptions; a $45 average order. App basket: Judge.me, Smile.io, Simple Bundles, AfterSell, Lifetimely, at their listed plans for that volume. Plus at $2 300 a month; Recharge at the plan that fits the volume. The Plus variable fee is left out: Shopify does not publish it. Card processing is left out on both paths.

Then building changed. With an agent, owning the store is as fast as renting one, and the hard part is already solved.

What’s in the box

Everything a subscription business needs, already built

Subscriptions
Customers subscribe, renew, pause and skip on their own cadence
Payment recovery
Failed payments come back as revenue, not as churn
Self-service
Customers pause, skip and swap without a support ticket
Operator panel
Your team sees what needs attention first, and acts
Transactional e-mail
Reminders, notices and receipts go out on schedule, on record
A working store
Guest checkout, renewals and recovery from one npm install
Subscription care
Save offers, reminders and win-back keep subscribers from leaving
Recovery and account
Customers repair a card and manage addresses themselves
Subscription editor
Customers change items and cadence, with the new price first

228 pgTAP files · 2 784 test files · 247 platform migrations · npm 1.4.0

Also in the tree

A neutral store starter to begin from; kernels for bundles, inventory, pricing, promotions, shipping, risk and company identity; and example adapters for payments, fulfilment and e-mail.

The full cycle

Every renewal runs itself, from the first order to the next

One system, nothing to glue together.
What your agent changes

Change what sells. The rest keeps working.

Yours, changed by your agentKept working by OpenLup
Brand look and identityCheckout to renewal, the subscription path
Copy, tone, configurator logicSubscriptions, dunning, mandates, recovery
Taxes, carriers, fiscal rulesMessaging with schedule and observability
ERP, WMS, CRM integrationsCustomer account and self-service actions
Pricing and promotion rulesOperator panel
Hosting choicePayments, fulfilment, invoicing behind ports
Runtime, migrations, scheduler, storage

Nothing is withheld. Limits are documented.

Built for your agent

Your agent ships changes that never break the money

Agents work within explicit human authority. A human is answerable for every line.

The engine answers
openlup-context tells your agent what is installed
Mistakes refused by name
Every refusal names the cause, the fix and the recheck
Proof, not “it compiles”
Money and delivery rules are proven by database tests

The properties that make a codebase legible to an agent.

We built OpenLup with agents, for agents, because we needed it: building commerce had to become different and faster.

Speed is only worth it if the money holds. Here it does.

What the engine guarantees

The subscription engine you build on never becomes a paid tier.

TypeScript
export type SubscriptionEngineErrorCode =
  | "invalid_timestamp"
  | "invalid_template"
  | "inactive_subscription"
  | "edit_window_closed"
  | "line_not_found"
  | "duplicate_line"
  | "invalid_slide_target"
  | "invalid_transition"
  | "terminal_cycle"
  | "missing_payment_method"
  | "dunning_not_exhausted";

Refusals are values. Nothing throws.

Loyalty

Customers stay longer when parcels never pile up

A late payment moves the next delivery later, never closer, so the cadence your customer chose holds.

28 days
the gap bought
17 days
what a day-11 recovery used to leave
28 days
what it leaves now
Pinned by a pgTAP test of the late-payment shift.
Why the clamp is load-bearing

The next cycle is the cycle’s own scheduled date plus its cadence plus the days the payment was late, and it never moves earlier. The clamp means a replayed payment webhook cannot pull a charge forward into a window the customer already paid for.

A late parcel moves the next cycle too

With delivery alignment on, the next cycle starts from the latest confirmed delivery plus the cadence, and renewals wait while a parcel’s outcome is unknown, so parcels never stack up. The mode is off by default.

Revenue kept

Failed payments stop costing you revenue

Retries, dunning and one-use recovery links are built in, and every ladder has a clear end.

Nothing repeats its last slot forever.
Paced to recover
Retries at 24, 72 and 168 hours, then a clear end
No wasted attempts
When the bank refuses the card, the ladder stops at once
One click back
A single-use recovery link, only for the card’s owner

Your next buyer may be an agent. It wants what your store already does.

Buying agents

Ready for your customers’ agents

When your customer’s AI agent buys, it gets the price up front, the same price at renewal, and a way out.

  • Will the renewal cost the same?

    The renewal price is the agreed price

    Every cycle charges frozen terms, locked until the customer changes them

    Live
  • What is the whole cost?

    One total, from the server

    Lines, discounts, shipping and tax in one quote; a mismatch is refused

    Live
  • Will a change cost what I was shown?

    A change applies only at the shown price

    Edits carry the accepted quote and refuse if the price moved

    Live
  • Can I retry safely?

    Safe to retry

    Every command takes a key; a retry never becomes a second order

    Live
  • Will anything charge without consent?

    Nothing charged without consent on record

    Renewals need matching mandate evidence; timing changes need confirmation

    Live
  • Can my person leave?

    Leaving is as easy as buying

    Cancel, pause, skip and resume are commands, not phone calls

    Live

Guest checkout: no account wall. Every refusal is a stable, machine-readable code.

NextProtocol adapters for buying agents, as a recipe on the same engine.

Yours, and never stuck

No fork to maintain. Upgrades arrive as a package update.

Upgrades like this used to be a SaaS privilege. Now they come with code you own: a package update in your repository, checked before it ships.

AdapterOn npmLaneProof scope
Supabase PostgreSQL (managed database)yesmanagedData gateway and job ledger for the managed rail. Fresh-install, upgrade and existing-store restore proofs for this rail remain partial.
Supabase AuthyesmanagedCustomer and operator sign-in on the managed rail. Operator sign-in smoke checks and a hosted settings readback remain open.
Supabase StorageyesmanagedBlob storage binding. Serving and access proofs remain open.
Portable PostgreSQL (self-host and Amazon RDS recipes)yesportableLocal self-host recipe receipt, local store transfer and restore witnesses, and one hosted RDS PostgreSQL 16 recipe run on a single synthetic instance. No hosted transfer or recovery has run, and none of this is production qualification.
NeonnoportableNo receipt yet. A Neon recipe receipt and Neon to Amazon RDS transfer and recovery are planned in the hostability round.
Generic OIDC and JWKS identityyesportableOpt-in access-token verifier. A real-issuer lifecycle witness passed on one disposable hosted origin; no production qualification.
S3-compatible object storageyesportable and managedLocal recipe with two gateway accounts and one hosted run on a single synthetic bucket in one region. No production qualification.
Vercel (Node functions, scheduled jobs, Blob)yesmanagedBlob binding and the reference default bundle with the managed database, without the Edge runtime. A Vercel host for the portable neutral store is planned in the hostability round.
Generic Node host and OCI imageyesportableLocal self-host receipt and one hosted run on a single synthetic VM with restart, drain and A to B to A rollback checks. No production qualification.
Netlify (independent PaaS candidate)noportableCandidate only, not yet measured. It is evaluated in the hostability round.
Resend emailyesportable and managedOpt-in adapter on the communications entry with offline conformance. No provider-account evidence.
Klaviyo marketing syncyesportable and managedOpt-in adapter with offline conformance only; account verification is pending.
Stripe paymentsyesportable and managedOpt-in injected-client adapter with a reference card-provider composition on the portable rail. Fake-client and offline proof only; no production qualification. Refund creation and split authorization and capture remain unavailable.
Tpay paymentsyesmanagedOpt-in example adapter with offline conformance proof only; no production qualification. No supplied portable composition; provider-account readiness awaits TEST readback.
OmniPack warehouse fulfillmentyesportable and managedOpt-in, default-off reference example behind the neutral fulfilment port; composed on portable and managed rails. Full offline certification; installed-package PostgreSQL witness. Exact absence, label create and void, provider-side cancellation and courier pickup are not available; no live provider qualification.
Polish company registries (VAT whitelist, GUS/CEIDG)noportable and managedNot packaged. A packaged example lookup adapter comes in the A5 adapter round.
External sales channels (normalized import)yesportable and managedNormalized ingest contracts and bindings. Real marketplace connectors are not planned in the current programme. No real connector ships, and conversion to a physical order refuses on the portable rail.

Proof scope as the OpenLup roadmap states it; passing conformance does not qualify a provider.

Runs where you run Node.js

TypeScript · Node.js 24 · PostgreSQL 16 · Vercel · Supabase · OCI image

Your Node.js and PostgreSQL host; providers plug in behind ports.

Where it runs

Three runtime bundles: Vercel with Supabase, Node with Supabase, Node with plain PostgreSQL. Support covers only the npm starter, PostgreSQL and the qualified image of a release. The starter defaults to sandbox; live providers need separate qualification. No hosting resources are supplied.

Policy

What is free today stays free

One-way ratchet
Open never becomes paid
.github/TIER_POLICY.md
Paid value, if ever
In the operational layer, never in withheld code
.github/TIER_POLICY.md
DCO, no CLA
There is no CLA, and there will not be one
.github/GOVERNANCE.md
AI contributions welcome
Disclosure, never a ban
.github/AI_CONTRIBUTION_POLICY.md
Support, said plainly
No SLA is sold; the code is yours to run
.github/SUPPORT.md
Fork is part of the offer
Apache-2.0, fresh-history root
.github/PUBLICATION_COMPLETENESS.md
Read the six sentences in full

Anything published under Apache-2.0 stays open. Permanently. Open never becomes paid. In the operational layer, never in withheld code. There is no CLA, and there will not be one. AI-assisted contributions are welcome. They are not banned, and they will not be banned. Nothing in this project carries a service-level agreement. The first public OpenLup root is a mechanically derived, fresh-history subset of the pre-split development repository, not a hand-assembled copy.

Commerce is strictly additive: paid work is built on top of a stabilized open core, never carved out of it. There are no tiers. Everything the project publishes is open.

It already runs a real shop. Yours is next.

Proof

Already trusted with a real shop’s customers and money

velipet.com, the author’s own subscription shop, runs on the same packages you install.

247
platform migrations
228
pgTAP files
2 784
test files
23
server domains
19
core entry points
3
runtime bundles

Measured on npm 1.4.0. velipet.com is the author’s shop, not an independent adopter; it adopts the published packages, and its changes go through OpenLup’s own review and releases.

Subscriptions are the business. They should not be a monthly app fee and a revenue share. I built OpenLup so a brand can own them.

Bart Roszkowski, author of OpenLup, co-founder of Vue Storefront (now Alokai)
What’s next

Your store gets better with every release

  1. CatalogueFirst sale, safe change and managementNow
  2. SettingsEvery setting, and what it changesNow
  3. U.S. marketOne-off and subscription ordersNow
  4. Provider recipesAdapters you copy and verifyNow
  5. Storefront railsYour UI on typed view contractsNext
  6. HostingHosting and provider portabilityNext
  7. Promotions: codes and acquisition scheduleNext
  8. A5 market adaptersNext
  9. Agent commerceAdapters for buying agentsNext

Questions

Will I have to run it myself?

Yes, on your own Node.js and PostgreSQL host, from the npm starter and the qualified application image.

How fast can I launch?

As fast as your agent builds your offer: checkout, renewals and recovery already run from one npm install.

What stays free?

Everything published under Apache-2.0, permanently. Subscriptions, renewals, dunning, mandates, recovery and messaging will not become paid tiers.

What do I build myself?

Your brand, storefront, catalogue and offer, your market’s taxes and carriers, your ERP and CRM integrations, your hosting.

Which providers work?

Payments, fulfilment, e-mail, auth and storage plug in behind ports, with example adapters for each and their proof scope written down.

Who runs it in production?

velipet.com, the author’s own subscription shop, on the published packages.

Can I contribute with an AI agent?

Yes. Disclose it and stay accountable for every line. An agent opens a pull request only with a maintainer’s explicit authority.

Can I fork it?

Yes. Apache-2.0 and a fresh-history root. The name and logo are not part of the licence, so a fork takes its own name.

Next step

Shell
npm install --save-exact @openlup/core@1.4.0

The subscription commerce engine for AI-built stores

Stable 1.x · npm 1.4.0