Where Not to Replace Your Tech Stack with AI (For Now)

Updated

Cartoon: an excited executive at his laptop says, “Let’s vibe code replacements for every piece of software we currently pay for.” A holographic AI replies, “That would be unethical—the technical debt will bankrupt the company.”

The short version

AI can now build a working version of almost any business tool, and for plenty of them that is the right call. The better question is who will run, secure and fix it for the next five years.

Some parts of a tech stack are rails. They’re foundational, and have to go right every time. They work the same way at every company, and they change under you when banks, tax authorities, email providers, and regulators change their rules. Payment processing, sales tax and email delivery are the clearest examples. Replacing a rail with something homegrown saves a subscription fee and adds a permanent responsibility.

The interface is not the system

AI is excellent at the part of software you can see. A storefront theme, a dashboard, a report, a form, a quoting screen, graphics, and content. You can ask for one, look at it and judge it in a minute. That speed is real, and it is why so many teams now ask whether they can replace a tool they pay for.

What you cannot see from a screen is everything underneath. The data model, logins and permissions, background jobs, connections to other systems, logging, backups, upgrades and uptime. A prototype and a production system look the same in a demo. They stop looking the same in the first month of real traffic, the first time someone leaves the company and the first time a dependency changes.

Security is a good place to see the gap. Veracode tested more than 100 models on 80 coding tasks and found that AI-generated code introduced a security flaw in 45% of cases. Its 2026 report puts the average security pass rate at 56%, virtually unchanged from the year before, even as models got better at writing code that runs. Working code and safe code are different things, and a screen does not show which one you have. It is the same trap as vibe coding in production.

A useful test is what happens when the system is down or wrong for a day. For a beneficial system, someone is annoyed and works around it. For a mission-critical system, money stops moving, orders ship wrong, customers are charged twice, or a regulator asks for records you do not have. The interface can look identical in both cases. The consequences do not.

Rails, the parts that have to go right

A rail has three traits. It has to work correctly every time. It works the same way at most companies, so there is nothing about your business to encode in it. And the rules behind it change outside your control. Building your own copy means carrying work that a vendor spreads across thousands of customers.

Payments are my first example of a rail. Card data, fraud checks, chargebacks, bank rules and card network rules all sit behind one button. PCI DSS 4.0.1 added requirements for the scripts on a payment page, and those became mandatory on March 31, 2025. Redirecting to or embedding a processor's hosted form narrows what you have to validate, though the page around it is still yours. Writing your own form does the opposite.

Sales tax is the second. The US has over 13,000 tax jurisdictions, each with its own rates, product rules and filing schedules, and the rate depends on the delivery address. A ZIP code is not enough, because addresses in the same ZIP code can fall in different jurisdictions. A wrong rate on one order is a rounding error. A wrong rate on every order in a county is an audit.

Email delivery is the third. Senders of more than 5,000 messages a day to Gmail or Yahoo are treated as bulk senders. They must pass SPF, DKIM and DMARC, offer one-click unsubscribe and keep spam complaints under 0.3%. Sender reputation builds slowly, can drop fast, and attaches to the domains and addresses you send from. That is why Autessa, which sells a platform for building business software with AI, uses email marketing as its example of something to buy rather than rebuild.

Taking things a step further, an ecommerce cart has to bring all of these together. Many ecommerce checkout processes reconcile payments, shipping rates, taxes, discounts, coupons, real-time inventory, loyalty points and gift cards in one transaction, and every piece has to agree before the customer sees a total. Each is a rail of its own, so a flaw in any of them shows up in the cart.

None of this is exotic. It is dull, exacting work, and the dull, exacting parts are where a copy built for one company has the least to gain.

Where building with AI makes sense

None of this is a case for buying everything. Building with AI is the better answer in several situations, and the pattern is consistent. The thing being built sits mostly on the interface side, it is specific to how your company works, and a failure is annoying rather than expensive.

Freedom is the first reason. Off-the-shelf software is built for the average customer. If your process is not average, you spend years bending it into someone else's workflow, and a small purpose-built tool can fit better on day one.

Customization is the second. A storefront theme is a good example. It controls how the store looks and feels, it can be reviewed in a browser, and it can be swapped out if it goes wrong. The payment and tax logic it sits on top of stays with the platform.

An ERP reporting layer or a custom interface on top of ERP data is similar. The ERP remains the system of record, and your new screen reads from it. If the screen is wrong, you fix the screen.

Price is the third. Some vendors charge enterprise rates for features most customers use a fraction of. When a tool is mostly a database with a few screens, a basic CRM for a small team, an internal request tracker or a quoting form, an AI-built version can be a sensible alternative.

The test is whether you would be comfortable if it were offline for a day.

The fourth is what Autessa calls Continuous Fit: once changing a system costs less than working around it, the software can keep changing with the business instead of the business adjusting to the software. Traditional software packages are expensive to change. A tool you can reshape in an afternoon is a real advantage for workflows that shift every quarter, such as an intake process, an internal approval flow or a dashboard that follows the current sales motion.

Some good candidates share a few features.

  • Storefront themes and landing pages, where the platform keeps the checkout and the tax logic.
  • Reporting, dashboards and custom views on top of an ERP or accounting system that stays the system of record.
  • A basic CRM or contact tracker for a small team that does not need deep integrations.
  • Internal tools such as request forms, approval flows, quoting calculators and onboarding checklists.
  • One-off automations and data cleanups, especially ones you can run, check and discard.
  • Prototypes you plan to throw away, built to find out what you actually need before you buy something.

Where the savings do not cover the technical debt

The subscription is the visible cost of buying software. The invisible cost of building it is everything that comes after launch. Someone has to patch it, watch it, back it up, answer for it in an audit and rewrite the part that breaks when a vendor changes an API. Those costs are small in month one and they never stop.

The examples below are systems where the fee you would save is small next to that ongoing cost.

SystemWhy it is a railWhat you take on by building it
Payment processing integrationCard rules, fraud, chargebacks and PCI scope are the same for everyonePCI responsibility for the page around the form, fraud exposure, and processor changes you must track
Sales tax calculationRates depend on the delivery address and the product type, across 13,000+ jurisdictionsRate and rule updates, address matching, filing and audit exposure
Ecommerce cart and checkoutIt must reconcile payments, shipping, taxes, discounts, coupons, inventory, loyalty points and gift cards at onceEvery rail underneath it, plus the edge cases where they disagree
Email marketing and deliveryInbox providers judge you on authentication and sender reputationSender reputation, bounce and complaint handling, unsubscribe compliance, and the risk of landing in spam
General ledger and full P&LAccounting rules, audit trails and period close have to be exactAuditability, controls, reconciliation, and trust from your accountants, lenders and investors
Identity and single sign onLogins and permissions protect everything elseCredential storage, session security, recovery flows and breach exposure
Payroll and benefitsWithholding rules and filings change by state and by yearFiling deadlines, penalties and employee data protection
Hosting, backups and recoveryUptime and restores only matter on the day they are neededOn call coverage, patching, tested restores and security monitoring

A reporting layer on your ERP is a good build. Your entire P&L is probably not. The first reads numbers that something else has already validated. The second creates the numbers, and your auditors will ask how they were produced.

A basic CRM is fine. The trouble starts when you ask it to connect to your email, your calendar, LinkedIn, your payment processor and your billing system. Each connection is a separate integration with its own credentials, rate limits, permission rules and change schedule. You now own a small integration platform. Every connection can break quietly, and each one needs a person who understands it. That is the point where the saving from skipping a CRM subscription usually disappears.

Email is the quiet one. A homegrown sender can work in testing and still land in spam, because mailbox providers judge reputation built over months. If your sending relies on IP addresses that partners have allowed on their own systems, a change to your setup can break those arrangements without any error on your side.

The test I would apply to each one is simple. Estimate the annual fee. Then estimate the hours per month that someone would need to spend keeping a replacement secure, current and compliant, plus the cost of one serious failure. If the second number is anywhere near the first, you are not saving money. You are moving the cost from a line item to a person's calendar.

What agentic commerce says about rails

The past year gives us a live case study from companies with far more engineering talent than most of us have.

OpenAI launched Instant Checkout on September 29, 2025, built on the Agentic Commerce Protocol it co-developed with Stripe. At launch it handled single-item purchases from US Etsy sellers. It had no multi-item carts, no promo codes, no shipping promises and, according to The Information, no system for remitting state sales tax.

By early March 2026 OpenAI was pulling back. It told Digital Commerce 360 that Instant Checkout was moving to Apps, where purchases can happen more seamlessly. Checkout shifted to merchants' own apps and sites, and ChatGPT concentrated on search and product discovery. The promise had been over a million Shopify merchants. Shopify's president said only about a dozen had gone live, and another account puts the count near 30. Either way, it was a tiny share of the merchants expected.

The explanations differ, and not all of them are neutral. OpenAI has said little beyond evolving its approach. Forrester's view is that inventory was missing from the plan and checkout is the hardest part of commerce to replicate. Gartner's Bob Hetu said OpenAI underestimated how hard enabling transactions would be, and Walmart reported that in-chat checkout converted about three times worse than sending shoppers to its own site. Payments vendor Nuvei, which has something to sell here, argues that tax, compliance and dispute handling across jurisdictions were not solved.

The Forbes author adds a business angle, that OpenAI was stretched across several priorities and may prefer ads and referrals to running checkout.

A C-suite executive at a large specialty retailer had listed the gaps to Modern Retail in October 2025. A working checkout would need real-time inventory visibility, coupon and promotion handling, customer data collection, loyalty program integration and in-store pickup. Those are the rails, and a chat window did not make them go away.

The pattern that has emerged is to discover in AI and buy on the merchant's own site. Shopify now makes products from millions of stores discoverable across ChatGPT, Copilot and Gemini, which is a catalog feed and not a homegrown checkout. Separately, Google launched the Universal Commerce Protocol (UCP) in January 2026 with Shopify, Etsy, Wayfair, Target and Walmart, as a standard way for AI agents to complete purchases while the retailer stays the seller of record.

Two takeaways matter for the rest of us.

  • If the companies with the most resources could not make commerce rails disappear into a chat interface on the first try, a single organization should be cautious about rebuilding them.
  • The rails are moving. Standards, protocols and platform rules will keep changing, and the value of a mature platform is that someone else absorbs those changes. When agentic checkout settles, merchants on established commerce platforms will likely get it as an update. Those with homegrown carts will get it as a project.

I’ve spoken on stages around the globe about ecommerce strategy and, even in the last year, sat through talks at events such as Shopify Unite, Shopware’s Shoptoberfest and Meet Magento conferences, and I still don’t know how agentic commerce will end up. That is the point. Betting your checkout on a protocol that is still changing is a bad trade when a vendor can carry that bet for you.

The gray area, and who will own it

Most real decisions fall between the clean examples. A customer portal, a quoting tool that touches pricing, a lightweight billing screen, a CRM with two integrations. Reasonable people will disagree on each, and the right answer depends on your team, your industry and how much a failure would cost.

A few questions help me sort them.

  • What happens if it is wrong or down for a day. Annoyance points toward building. Lost revenue, legal exposure or customer harm points toward buying.
  • Does it touch money, regulated data or customer identity. If so, expect security and compliance work that a prototype does not include.
  • How many other systems does it depend on, and how often do they change. Every integration is a standing obligation.
  • Is it a source of competitive advantage, or just a cost of doing business. Build what makes you different. Buy what everyone needs.
  • Can a vendor spread the cost of rule changes across thousands of customers. If yes, they will keep up more cheaply than you can.
  • Who will own it in three years. Name a person or a team, not a department.

That last question is the one that gets skipped. Software built by AI is often delivered fast and then treated like a finished object. It is not. Someone needs to review dependency updates, apply patches, rotate credentials, test restores, answer questions from users and decide what to change next. If the person who prompted it leaves, the knowledge leaves too.

This connects directly to the speed of security incidents. A homegrown tool that no one is watching will not get patched when the next advisory arrives.

Before you build, write down a short ownership plan.

  • A named owner and a backup.
  • A budget in hours per month for upkeep, not just for the build.
  • A review schedule for security updates, access and backups.
  • An exit plan, meaning how you would move to a vendor if the tool outgrows its first purpose.
  • A trigger for revisiting the decision, such as a new integration, a compliance request or a spike in usage.

If you cannot fill in that list, buy the tool. If you can, building may be a good choice, and AI has made it cheaper and faster than it has ever been. The goal is not to avoid building. It is to build the things you are willing to keep, and to hand the rest to people whose full-time job is keeping them running.

FAQs

Should we stop building software with AI?

No. AI is a good way to build interfaces, internal tools, reports and prototypes. The caution is for rails and mission-critical systems, where the work after launch costs more than the subscription you would save.

What is the difference between a beneficial system and a mission-critical one?

A beneficial system makes work easier, and a failure is an inconvenience. A mission-critical system moves money, protects data or meets a legal obligation, and a failure costs revenue, trust or compliance. The same screen can sit on top of either kind.

Can we build a custom store theme but keep the platform checkout?

Yes, and that is usually the sensible split. The theme controls appearance and can be reviewed in a browser. The platform keeps payments, taxes, inventory and security patches.

Why not build our own email sender if we only email a few thousand people?

Volume is not the only issue. Mailbox providers judge authentication, complaint rates and sender reputation, and reputation takes months to build. Providers set stricter rules for bulk senders, and a small list can still end up in spam if the setup is weak.

Does AI-generated code have more security problems than human code?

Veracode's testing found security flaws in 45% of AI-generated code samples, and its 2026 report says pass rates have barely moved. Those are tests of generated code with no added review. Human review, scanning and testing close much of that gap, which is part of the upkeep cost.

Is the Universal Commerce Protocol worth building toward now?

That depends on your platform. If you run on Shopify or another established commerce platform, the platform is likely to handle protocol changes for you. If you run a homegrown cart, you take on every spec change yourself.

How do we decide who owns an AI-built tool?

Name a person and a backup before the build starts. Budget hours each month for patching, access reviews and backups. If nobody can commit to that, buy the tool.

What if we’re a software company publishing a platform?

Leverage AI to enhance your product development. At the same time, be cautious about trying to use AI to replace every piece of software in your business operation. Before you know it, your developers, project managers, and other technical team members will be working on maintaining software that’s commercially available at cost-effective prices, and your product roadmap will be delayed.

How can Teal Oak help?

Robert Rand, Founder and Principal Consultant, is an experienced CTO who has led software, partner and vendor selection at multiple companies. If you want help sorting which parts of your stack to build, buy or keep, or planning who will own the tools you build, Robert can help. Similarly, if you need help finding the right development team or AI vendor, Robert can assist you in putting together a winning strategy and plan.

Sources

About the author

Robert Rand is the Founder and Principal Consultant of Teal Oak. He has led partnerships, alliances and go-to-market teams at SaaS, cloud hosting and iPaaS companies, and at a digital marketing and web development agency. Most recently he served as Chief Partnership Officer at iPaaS.com.