Fairlode guide · First published 12 October 2026

License a codebase for AI: buyer fit

Start with a description of what the software does, what development history exists and who can authorise a licence. A buyer needs to confirm whether that collection fits a specific use. You do not need to send code or grant repository access for Fairlode’s initial review.

Last checked

Describe the whole development record

A codebase is more than a line count. For an initial review, distinguish the current source from its development history. Does it include commits, issue discussions, pull requests, tests, documentation and release notes? Can a problem be followed through to a change and an outcome?

These are useful questions for describing the collection, not a promise that every element attracts payment. A buyer must confirm which parts matter for their use. A source snapshot and a linked development history are different collections. If issues, reviews or test results are missing, say so. Do not spend time reconstructing them before a buyer explains what it needs.

Do not send a repository or grant Git access just to find out whether there is interest.

What a published programme tells us

Checked on 8 November 2026: Mercor’s data programme lists GitHub repositories and their commits, pull requests and issues. This is evidence that a programme considers development records. It does not establish an offer for your repository, a minimum size or acceptance of a code-only collection.

Ask the prospective buyer which parts it needs together. A request for a complete operating history may not fit a business that can only consider licensing an older, separate application. Describe that limit before agreeing any technical work.

Who owns the code?

Table 1. First ownership of copyright in code. General information, not legal advice. Sources checked 14 October 2026.
Who wrote itNorthern Ireland and Great BritainRepublic of Ireland
An employee, in the course of employmentThe employer is the first owner, unless agreed otherwise (CDPA 1988, s.11(2)).The employer is the first owner, unless agreed otherwise (CRRA 2000, s.23(1)(a)).
A contractor or agencyThe author is the first owner (s.11(1)). A transfer needs a written assignment signed by or on behalf of the assignor (s.90(3)).The author is the first owner (s.23(1)). A transfer needs a written assignment signed by or on behalf of the assignor (s.120(3)).
Issue trackers and structured recordsA database made by an employee in the course of employment is treated as made by the employer for database right, subject to any agreement to the contrary (SI 1997/3032, reg. 14(2)).Same rule, subject to any agreement to the contrary (CRRA s.322(2)).

Sources: Copyright, Designs and Patents Act 1988, section 11; Copyright, Designs and Patents Act 1988, section 90; Copyright and Rights in Databases Regulations 1997, regulation 14; Copyright and Related Rights Act 2000, section 23; Copyright and Related Rights Act 2000, section 120; Copyright and Related Rights Act 2000, section 322.

Directors and founders can fall into either row depending on their arrangements with the company. Having access to a repository is not the same as having permission to license everything inside it.

Check what your company can authorise

Make an internal list of employee work, contractor work, customer-specific work and open-source dependencies. Ask the appropriate adviser to check assignments, customer agreements and dependency licences.

Keep an explicit list of exclusions. That might include customer data, production credentials, infrastructure configuration and material belonging to another organisation. Do not assume a licence to the main application covers every attached issue, document or comment.

Secrets and confidential design

A codebase can hold trade secrets. In the UK, the Trade Secrets (Enforcement, etc.) Regulations 2018 define a trade secret as information that is secret, has commercial value because it is secret, and has been subject to reasonable steps to keep it secret. In the Republic of Ireland, the equivalent rules are in the European Union (Protection of Trade Secrets) Regulations 2018. Showing secret material to a prospective buyer without controls can make it harder to show those reasonable steps, so agree confidentiality before any technical review and keep credentials and infrastructure configuration out entirely.

Current product or older version?

An older platform is not automatically low-risk. It may still contain code used in your current product, active customer customisations or confidential architectural decisions. A retired internal tool can also contain third-party material. Record the status accurately: active, maintained for existing customers, archived or never put into production.

An illustrative description could say: “An internal stock-control application with several years of Git history. Issues are linked to some changes, and tests are held separately. Customer-specific modules would be excluded; the extent of contractor contributions still needs checking.”

That tells a reviewer what exists, how the records connect and what is unresolved. It is a fictional example, not a dataset on offer. Do not copy its facts into your own description.

Prepare a short initial description

  • What the software does and the kind of organisation it serves.
  • Approximate number of repositories, years covered and commit range.
  • Whether it is used in production and whether development continues.
  • Which supporting records exist: issues, reviews, tests and documentation.
  • Any known ownership restrictions, without disclosing confidential clauses.
  • Who would need to approve an agreement.

Approximate answers are fine for an initial enquiry. Mark an unknown as unknown rather than guessing that the rights or records are complete. Do not export a repository to obtain a precise count if a broad band is sufficient.

Describe your code and development history. The first review is free and uses your description only.

Questions to settle before preparing an export

  • Is the buyer interested in the current source, development history or both?
  • Which links between issues, changes, reviews and tests must be retained?
  • Which exclusions would make the proposed collection unsuitable?
  • What will count as an acceptable sample, and who approves the sampling process?
  • Who would do and pay for preparation, and what happens if the collection is declined?

Record the answers against this particular collection. Interest in another company or a larger programme is not a substitute for a written scope.

Before a technical review

Ask who will access the material, what they will receive and why. Agree the confidentiality process and the permitted evaluation before sharing. Review the proposed licence with an adviser who understands software IP. Keep commercial interest separate from permission to train a model.

Read the training and evaluation guide before choosing which uses you would consider.

General information, not legal advice or a buyer offer. Have your own advisers review the rights, privacy and contract questions for your business.

Sources and further reading

Sources checked 14 October 2026.

Cite this page: Fairlode (Blue Canvas AI Ltd), 'License a codebase for AI: buyer fit', https://fairlode.com/guides/license-codebase-ai/, last checked 8 November 2026.

Start with a description.

We review what your business holds before any files or introductions are considered.

Describe your recordsExplore the other guides →