Skip to main content
Building products with AI

Building products with AI

What to own when you build an AI product with an outside team

Three things you need to keep control of: your code, your data, and the trained models. Here's why each one matters.

· 5 min read

When you hire someone to build an AI product for your business, you're making a bet on a relationship. But relationships end. Teams get acquired. People move on. The question is not whether you'll need to switch partners someday, but whether you'll be able to.

There are three things you need to own outright: your code, your data, and your models. Miss any one of them, and you'll be stuck.

Own the code

The source code is the instruction set that makes your product work. If you don't own it, you can't modify it, you can't debug it, and you can't move it to another team.

A dental clinic in Kelowna hired a developer to build a tool that reads patient intake forms and flags missing information before the appointment. The code worked well for six months. Then the developer stopped responding to emails. The clinic couldn't fix a bug that was causing forms to time out on slow internet. They couldn't hire someone new to help because they didn't have the code. They were stuck.

If the clinic had owned the code, they could have hired a second developer in a day and been back to normal in a week.

Owning the code also means you can see what it does. You can check for security holes. You can make sure it's not sending your data somewhere you didn't agree to. You can add features yourself or hire someone local to add them. You're not dependent on the original builder's timeline or mood.

When you sign a contract, use these words: "The client owns all source code and retains the right to modify, copy, and distribute it."

Keep your data

Your business data is your competitive advantage. It's the record of what you've learned about your customers, your operations, and your market. If the builder owns it, you're renting access to your own information.

A property manager in Surrey hired a team to build a tool that predicts which tenant complaints will escalate to disputes. The tool works by learning from 15 years of complaint records. After three months, the property manager wanted to switch to a different team to add new features. The original builder said they could do it, but the new team would need to pay a licensing fee to access the trained model, or start over with fresh data. The property manager was trapped.

If the property manager had kept the data, they could have handed it to the new team on day one.

Keep your data in a database you control. Use a standard format like CSV or SQL, not a proprietary system that only the builder can access. Make sure you have regular backups. When the contract ends, you should be able to download every record in a few minutes.

When you sign a contract, use these words: "The client retains full ownership of all business data and receives a complete export in standard format within 30 days of project end."

Retain the models

A trained model is the mathematical pattern that the AI learned from your data. It's what lets the tool make predictions or decisions. If you don't own it, you're paying the builder a monthly fee to use your own learning.

An accounting firm in Burnaby built a tool that reads invoices and extracts key information like vendor name, amount, and due date. The tool worked well. But the builder charged $500 a month to host the model and serve predictions. If the firm wanted to run the model on their own servers, or use it with a different tool, they couldn't. The builder kept the model as a service they controlled.

If the firm had owned the model, they could have run it themselves for the cost of a small server, maybe $50 a month.

You need two things here. First, get the trained model file itself, in a standard format. Second, get the code that runs the model. This is called the "inference pipeline". Together, they let you run predictions on your own hardware without paying the builder.

When you sign a contract, use these words: "The client receives the trained model and all inference code in standard format, and retains the right to run the model on any hardware or platform."

How to negotiate without sounding paranoid

You're not being difficult. Every professional builder expects this. It's standard in software development. If a builder pushes back hard, that's a signal.

A plumber in Richmond hired a software company to build a tool that helps technicians write quotes on the job site. The plumber asked for ownership of the code. The software company said no, they always keep the code as insurance. The plumber walked away and found someone else. Six months later, the first company went out of business. The plumber was glad he'd asked.

Frame ownership as a practical matter, not a legal threat. Say: "We need to be able to fix bugs fast and add features without waiting for you. What does ownership look like in your standard contract."

Most builders have a template. Read it. If it says you don't own the code or data, ask them to change it. If they won't, keep looking.

Where to start

  • Write a one-page spec of what you want to build, then add three sentences at the end: what you'll own (code, data, models), when you'll own it (on day one, or on project end), and what format you need it in (GitHub repo, CSV export, standard model file). Share this with every builder before you talk price.
  • Ask your candidate builders this exact question: "If we part ways, what do I own and what stays with you." Write down their answer word for word. If it's vague, ask them to put it in writing. Vague answers are a bad sign.
  • Before you sign anything, have someone who understands software (a technical co-founder, a CTO, or a consultant) read the contract and mark up the sections on code ownership, data ownership, and model ownership. Spend an hour on this. It will save you months of trouble later.

Have an AI product in mind?

We build and ship the whole thing, the same way we build our own products. From first prototype to a live product your customers pay for.