Back to Blog
Generalby Stephen DeLorme

Business logic is cheap. Infrastructure is not.

Business logic is cheap. Infrastructure is not.

A few weeks ago, I shut down the BTCPay Server and WordPress site that powered ATL BitLab's commerce. This was a hugely important part of our tech stack, which enabled member subscriptions, event tickets, donations, and merchandise sales.

It's surprising how easy it was to do, considering both of these open source projects used to give me warm and fuzzy feelings.

I first discovered WordPress when I was working in my first job as a professional web designer, during college. From my desk in the art department of an industrial chemical plant, I maintained websites for a lot of different company brands. I found myself writing the same types of code over and over again, which led me to explore templating, DHTML, and PHP+MySQL. Eventually I realized all the work had already been done for me in the software package WordPress, which I could of course extend and modify if I needed things outside of its core capabilities.

And this is where I learned an important rule:

If somebody has already solved it, don't rebuild it.

Fast-forward into the future and I discover bitcoin, and eventually BTCPay Server. If I can draw some comparisons between BTCPay and WordPress, BTCPay also has a very engaged community of open source contributors and a way for people to extend the core functionality with plugins. It's become the de facto payments solution for bitcoin, covering use-cases like point-of-sale, donations, ecommerce, etc.

Side note: ecommerce is just regular commerce now, right?

Building the BitLab store

When I needed to build a store for ATL BitLab years ago, the choices were obvious. If somebody else has already solved it, don't rebuild it. Self-host a WordPress site. Install WooCommerce. Hook up Stripe for credit card payments. Install BTCPay Server WooCommerce plugin, then point it at a BTCPay that I self-host. Point that BTCPay at a Strike account --

Wait, what? Why BTCPay and Strike? Well, a business has fiat expenses to pay, so Strike makes it easy to go between lightning and a US bank account. And BTCPay has a plugin that allows you to connect your Strike account. And WooCommerce has a plugin that allows you to connect BTCPay Server. And if somebody else already solved it, don't rebuild it.

Let's pause on that for a moment: I've got a piece of software running that is only acting as a bridge between 2 other pieces of software. That's another software package running on a linux server, needing it's own set of regular updates, with it's own little pruned bitcoin node syncing chain state, in addition to all the other software packages I am running.

  1. WordPress
    Self-hosted server
  2. WooCommerce
    Store plugin, with more plugins added for subscriptions
    1. Stripe
      Card payments
    1. BTCPay for WooCommerce
      Bridge plugin
    2. BTCPay Server
      Self-hosted, with its own pruned bitcoin node
    3. Strike plugin for BTCPay
      Bridge plugin
    4. Strike
      Lightning to a US bank account
  • Software I hosted or kept updated
  • Plugin that only joins two others
  • Infrastructure
The old ATL BitLab store.

All of this to avoid re-building a solution.

It's worth noting that none of the individual choices were wrong. Each software and service in this stack solved a clear problem. But blindly following the advice "if somebody has already solved it, don't rebuild it" can lead to an overly complex system. And that's exactly what happened to me.

The year of the agent

Enter 2026: the year of the agent. It's not that we didn't have agents before this year, it's just that we reached a critical mass of broadly useful agents this year.

It's gotten to the point where software buildouts are pretty effortless. Having a background in web development, I'm also thinking about how something is going to be hosted and deployed when I start a build. It's become commonplace for me to just be like "yeah, I want to build a website, with a sign-up and login system that uses email magic links, and once I'm logged in I can see my account history...".

I can rattle off all the tools I want my agent to use, for example "Next.Js, Vercel, Supabase, Cloudflare Turnstile, Mailgun API", and it will just work.

And one day I realized that the old maxim "if somebody else solved it, don't rebuild it" had changed for me.

My tolerance for "rebuilding" has increased. It's become more expensive, more stressful, and less convenient to use certain software packages and platforms now, and rebuilding just the functionality I need is actually the better approach.

But what happens when something breaks?

This is the point where some people will call BS on me. "Stephen, the whole point of relying on vetted open source software is that you get security updates and bug fixes. What happens if I ask an agent to build a shopping cart and it breaks six months later?"

And it's a valid take. "Just ask agents to build it" won't solve all your woes.

But consider for a second the cost of juggling third party updates. A security incident happens in an upstream dependency, so you need to wait for that dependency author to implement a fix, followed by the library that uses that dependency, followed by the actual software package you use. Or you are running multiple software packages as part of your stack that need to be hosted differently, and you update one while forgetting the other. Or your life would get easier if only you had this one feature, and you are waiting and praying that the software package maintainers will decide to build your cool idea.

All of that when you could have just had your project code in a git repo and asked an agent to add a feature or fix an issue.

Either approach will cost you. The burden of software maintenance still exists. But one approach liberates you to run things your way. Keeping it within your own codebase gives you more freedom over how that maintenance is performed.

What makes something better for my web stack with agents?

The best way I know how to put this is "raw infrastructure". I'm no longer interested in products that have a lot of business logic baked into the product. I just want access to the infrastructure that's hard for me to build and maintain on my own.

Previously, these sorts or raw infrastructure products would have been a harder sell for me. These products usually take the form of a developer API, which is another way of saying "requires engineering time".

But agents are really good at using developer APIs. So in 2026, it doesn't cost us engineering time, it mostly just costs us tokens.

I'll give you some examples. Mailchimp has a lot of cool features for managing email lists and creating beautiful emails from templates. But I already have an agent doing frontend work on my site, so it's no big lift to ask the same agent to make some email templates in the same design style. And while we're at it, I can ask the agent to wire up the website to the Mailgun API, so that when somebody signs up we can send them an order email, or even fire off an email campaign from a database of customers.

WooCommerce, and the WordPress project upon which it is built, has a ton of bells and whistles I have never used and probably never will. On top of that, to make WC work with a membership-driven business like ATL BitLab, I need to add additional plugins for handling subscriptions. It gets complicated, and it's a clear example of the opportunity cost of using third-party software packages. In a general purpose software project, FOSS maintainers are busy writing bug fixes for features that some users love but I will never use, meanwhile I am filling the gaps with third-third-party plugins that only partially solve my problems. Instead, I can ask an agent to rebuild the core functionality I need within a Next.js site and use Supabase as my database. I can stop running a server to host a WordPress site, and any feature I want to add to my store is just a prompt away, whether it requires a simple a frontend tweak or a database migration.

For me, BTCPay Server had a bunch of things I never used. Order history was sort of irrelevant because it was just acting as a bridge between WooCommerce and Strike. The point of sale terminal and tip jar were nice features, but not worth the burden of hosting BTCPay for me. I realized that I just needed something that can reliably make Lightning payments and convert to fiat. Tip jars and point-of-sale terminals are frontend features that my agents rebuilt on the BitLab site. The actual infrastructure, what Strike does, it what's most valuable to me in this situation.

  1. The ATL BitLab site
    One Next.js codebase in a git repo. The business logic lives here.
    • Memberships
    • Event tickets
    • Donations
    • Merchandise
    • Tip jar
    • Point of sale
    • Supabase
      Database
    • Mailgun
      Email delivery
    • Strike
      Lightning to USD
  • My code
  • Infrastructure
The new ATL BitLab store.

Infrastructure is a moat

A lot of people want to say things like "SaaS is dead" for engagement. Then other people counter-engage with "well, SaaS is not dead and here's why". I'm not going to participate in that debate. I want to reframe it like so: business logic is cheap, and infrastructure is not.

Why isn't infrastructure cheap, when software is becoming so cheap to produce? Well, think about it:

  • You could ask an agent to clone Mailgun or Amazon SES. But would it have a high deliverability and good sending reputation among Email Service Providers?
  • You could ask an agent to setup a Postgres database for you. But how reliable is that database, and do you have backups covered?
  • You could ask an agent to build you a lightning payment solution with Lightning Dev Kit. But is your little node well connected, and do you have the liquidity to receive payments and convert them to USD?

The things that make these products more defensible are not nice packaging. It's the harder to replicate qualities, which come from the time-consuming work of building out a service that solves an operational problem.

For me, this insight changes the way I shop for tools and services. I don't live in the same world I did 17 years ago. I find myself desiring products that cut out all of the fluff and keep things simple.

And as a builder, it makes me think about what kinds of infrastructure still needs to be built.

So now I bounce the idea back at you: if business logic is cheap and infrastructure is expensive, what features of your product are the most robust against disruption?