Nythrex

Guide · Contracts & ownership

Who really owns your code? Check these clauses.

Many founders discover who owns their product at the worst possible moment: during due diligence for an investment, when a vendor relationship ends badly, or when an acquirer asks for the IP chain. Paying the invoices is not the same as owning the result. Here’s what decides it.

By Nythrex EngineeringUpdated 5 min read

Your product

  • Source code
  • Cloud & infrastructure
  • Data & databases
  • Domains & app stores
  • Designs & docs
  • Prompts & AI models
  • Third-party accounts
Ownership isn’t one thing. Each of these needs to be legally yours and practically under your control.

The uncomfortable default

In many legal systems, the person or company that writes code is its first owner, and rights move to the client only through a written transfer. Rules differ by country. In Ukraine, for example, the Civil Code provides that property rights to a work created on commission belong to the creator and the customer jointly, unless the contract says otherwise (Article 430). In the US, software written by an independent contractor generally isn’t a “work made for hire” by default, so a written assignment is needed. The practical lesson is the same everywhere: don’t rely on defaults — write it down.

The five clauses that matter

  1. 1

    1. A present assignment of IP

    Look for wording that actually transfers the rights (“hereby assigns”), not a promise to transfer them later (“will assign”). It should cover code, designs, documentation and all other deliverables, and it should cover work by the vendor’s employees and subcontractors.

  2. 2

    2. When ownership moves

    “On completion of the project” is risky: if the project never completes, you may never own anything. Better: rights transfer for each milestone upon payment, so what you’ve paid for is yours.

  3. 3

    3. Background IP and reusable components

    Vendors reuse their own libraries and tools. That’s fine, as long as you get a perpetual, irrevocable, royalty-free licence to everything embedded in your product, including the right to modify it and to let another vendor maintain it.

  4. 4

    4. Open-source components

    Almost every product uses open source. The contract should require a list of components and licences, and should restrict licences that could oblige you to publish your own code (for example, certain copyleft licences used in distributed software).

  5. 5

    5. Exit and handover

    Define what happens when the relationship ends: notice period, delivery of all code and documentation, transfer of accounts, and a number of hours of paid knowledge transfer. The time to negotiate this is before you need it.

AI projects: the assets people forget

AI systems produce assets that don’t look like code but are just as valuable. Make sure the contract names them explicitly:

AssetWhy it mattersWhat to require
Prompts & configurationsEncode months of tuning; small changes shift qualityDelivered and version-controlled in your repository
Evaluation datasetsThe only way to prove quality and catch regressionsOwned by you, with the scripts that run them
Fine-tuned model weightsExpensive to reproduce; tied to your dataTrained in your provider account where possible; weights and training data yours
Embeddings & search indexesDerived from your data; rebuilding costs time and moneyStored in your cloud; export format agreed
Model-provider accounts & keysControl of usage, billing and data settingsRegistered to your company; vendor gets scoped access

A related question: can AI-generated code be protected at all? Several jurisdictions currently require human authorship for copyright. This is still developing law, but it is one more reason to define ownership of deliverables contractually rather than relying on copyright defaults.

Legal ownership vs practical control

Legally yours, practically theirs

  • The contract assigns IP to you…
  • …but the repository is in the vendor’s GitHub organisation
  • …production runs in the vendor’s cloud subscription
  • …the domain is registered to a vendor employee
  • …only the vendor can deploy

Yours in every sense

  • IP assignment per paid milestone
  • Repository in your organisation; vendor has member access
  • Cloud accounts owned and billed to your company
  • Domains, app-store and third-party accounts in your name
  • Documented deployment your own engineer can run

Vendor lock-in test

1 of 12

Is the Git repository in an organisation account your company owns?

Contract review checklist

Take this to your lawyer

0/9

At Nythrex, client ownership is the default: code, cloud accounts and data belong to the client from day one, we work through delegated access you can revoke, and every project is kept handover-ready. See how in How we work.

Frequently asked questions

Want a second opinion on your project?

Tell us what you’re building and where you’re stuck. We’ll reply within one business day with the most practical next step — even if that step isn’t us.

Start a project