All insightsApp Development

Build or buy software: how do you decide?

Buy what is solved, build what sets you apart, and make sure you can run what you build. How I decide build vs. buy, for apps and for AI agents.

· 6 min read ·

Sooner or later every project hits the same question: build it or buy it? The answers tend to be predictable. Finance says buy everything, the developers say build everything. Both are wrong often enough that neither is a rule.

The question I find more useful is simpler: where does the part of your work live that sets you apart?

Buy what is solved

Email, logins, payroll, payments, document signing, analytics. These are solved problems. No customer ever picked you because your password reset email was well engineered.

Buy them, set them up properly and spend your own time and money on the things that matter to your business. The same goes for AI: you don’t train your own language model. You use one that exists and pick it so you can swap it later.

Build what sets you apart

Build when the software holds the way you work and that way is the reason customers come to you. A pricing logic nobody else has, a process that is unusual enough that standard tools only fit with workarounds, data that must not leave your own systems.

For AI agents the line usually runs through the middle. The model, the mail server and the ERP are bought. What gets built is the part that holds your process: which cases the agent takes, which business rules it follows, how it connects to the systems you already have and where a person decides.

One condition before building: you have actually tried the available tools. “We haven’t looked yet” is not a reason to build.

The trap in the middle

The risky zone is a tool that almost fits. You buy it, spend months configuring it, build workarounds for the gaps and end up with something that is harder to maintain than custom code and still doesn’t do what you need.

That’s where buying gets more expensive than building. Not because the tool is bad, but because it was the wrong fit. A useful check is to think about what the software has to do in three years, not today. If the standard tool can grow with you, buy it. If the gaps will keep growing, build it, and build it properly.

If you build, own it

Building has its own trap. Software that only its developer can operate has turned a one-off project into a standing dependency. Every price change becomes a ticket, an invoice and a wait. That is good for the developer’s retainer and bad for you.

So when I build, a few things are agreed from the start:

  • The code belongs to you and is documented.
  • The things you change often, like prices, products and texts, sit behind an interface you can use yourself.
  • Nothing important depends on one person, me included.

Two of my own projects show what that looks like. Enkel Natur is a shop the founder, a physiotherapist and not a developer, runs herself. Adding a product or changing a price is something she does, not something she asks for. For Erikssonwood, a site that needed me for every update would have aged badly between forestry seasons, so it doesn’t.

You can still ask me to run it. Many companies prefer that for AI agents, because someone has to watch the results and retest after every change. The point is that it’s your choice, not a lock.

Where I would start

Write down which part of the work you want to change and which tools you have already tried. If a standard tool covers most of it, I’ll tell you to buy it. If it doesn’t, this is how I build custom apps, and for AI agents, how I build and run them.

Short answers

When should a company build software instead of buying it?

When the software holds the part of your work that sets you apart, when your process is unusual enough that standard tools only fit with growing workarounds, or when your data must not leave your own infrastructure. And only after you have actually tried the available tools.

Is it better to buy or build an AI agent?

Usually both. You buy the language model and standard parts such as the mail server or the ERP. You build the part that holds your process: which cases the agent takes, which rules it follows and when a person decides.

How do you avoid becoming dependent on the developer?

Agree that the code belongs to you, that it is documented, and that the things you change often, such as prices, products or texts, sit behind an interface you can use yourself.

Read something that raised more questions?

Good. That's usually where the interesting work starts. Book a free 30-minute call and we'll talk it through, without a sales pitch.

Book a call