Blog

How to License Codebase Data to AI Buyers

Published November 16, 2026 · Bright Info

Codebase licensing rights, preparation and buyer offers

Licensing a codebase for AI use starts with two questions: which records can the company lawfully disclose, and what does a particular buyer want to do with them? A repository may include source code, commit history, pull requests, issues and linked documentation. These are different assets with different ownership, confidentiality and privacy constraints. Define the proposed license before comparing offers.

Before approaching a buyer

  • Inventory code and surrounding records separately. Do not assume company access means the company can license everything it holds.
  • Describe the asset without exposing source code, credentials, customer records or confidential details.
  • Compare offers for the same scope, duration, exclusivity and permitted uses. A higher headline payment may buy broader rights.
  • Resolve sensitive-data handling and delivery conditions before transfer. Deleting a repository later does not establish removal from a trained model.
  • Include counsel, engineering and preparation costs when evaluating the proceeds.

Contents

Define what the codebase license would cover

List the repositories, branches, time periods and linked systems under consideration. A current source snapshot is different from a full history export. Pull requests may contain employee identities, tickets may quote customers, and test fixtures may contain production records.

Separate the proposed asset into reviewable parts
PartQuestion to settle
Source and dependenciesWho owns each component, and do third-party licenses permit the proposed disclosure and use?
Commit and review historyDoes the proposed export reveal credentials, identities or confidential decisions?
Issues and documentationCan the company disclose customer content, designs and internal security details?
Linked chat and support recordsWhat additional privacy, confidentiality and contractual duties apply?

Ask the buyer to specify its intended use: training, evaluation, an executable environment or another purpose. Do not assume all buyers want the same export or that a license for one use permits the others.

Decide whether linked history belongs in the offer

A buyer evaluating engineering workflows may need the connection between an issue, a code change and its review. A buyer evaluating another task may have little use for that history. Preserve links where they serve the proposed use, but do not add unrelated records merely to increase volume.

Prepare a separate inventory for each component. Record its time span, approximate volume, available links, known exclusions and permission status. This lets a buyer explain what it needs and lets the seller compare a code-only offer with a broader license without confusing the two.

More history also means more material to review. A deep archive can contain obsolete secrets, customer commitments and third-party code that would not appear in the current working tree. Any commercial benefit must be weighed against that preparation burden.

What pricing evidence can tell you

This page does not establish a typical codebase price. Public programs describe different datasets and negotiated rights, and advertised amounts are not completed payments or offers for your repository. See the micro1 and Appen profiles for attributed program descriptions and their source limits.

Before using a reported transaction as a comparable, check what it included: code alone or several systems, exclusive or nonexclusive rights, one delivery or continuing updates, and whether preparation costs were deducted. If those details are unavailable, the figure is a weak basis for your valuation.

Build a valuation with stated assumptions

A Bureau of Economic Analysis working paper on data valuation discusses cost, market and income approaches and the difficulties of applying them to data. Development spending is an input to one approach, not proof that a buyer will reimburse it.

For an offer comparison, write down the licensed asset, permitted uses, duration, exclusivity, payment conditions and estimated preparation expense. Show alternative assumptions rather than presenting one estimate as a market quote. The company data valuation guide explains that distinction.

Prepare a reviewable export

Use a controlled copy for assessment. Keep the production repository and access permissions separate from the proposed delivery. Have the responsible engineering, privacy and legal owners agree on the scope before exporting records.

Preparation stages for reviewing a codebase license

1. Inventory rights and exclusions

For each repository and linked system, record the owner, relevant client agreements, employee or contractor assignments, dependency licenses and confidentiality restrictions. Mark unresolved items as excluded from the proposed offer until the responsible reviewer clears them. A contract with a buyer cannot create a missing permission.

2. Check current files and history for secrets

Scan the proposed export, including history, for keys, tokens, credentials and sensitive fixtures. If a secret has been exposed, revoke or rotate it first. GitHub's sensitive-data guidance explains that history rewriting has consequences and does not remove copies held in forks, clones or caches. Choose the necessary remediation with the repository owner; deleting a current file alone is not a complete response.

3. Assess identity across linked systems

Review names, email addresses, free text, timestamps and combinations of details that can identify a person. If consistent replacement codes are necessary for the agreed use, assess whether the linked records or retained lookup information still permit identification. Replacing names is not by itself evidence that the export is anonymous.

The European Data Protection Board distinguishes anonymisation from pseudonymisation. Pseudonymized data can remain personal data. Determine the applicable requirements with the responsible privacy reviewer before disclosure.

4. Keep unresolved material out

Exclude records whose disclosure rights or security consequences are unresolved. Examples to review include unreleased vulnerability details, regulated customer records and material covered by a confidentiality obligation the company cannot waive. Record the exclusion so that neither the description nor the contract promises those records.

5. Validate the agreed package

Create a manifest of included repositories, dates, formats and exclusions. Reconcile file and record counts against the approved inventory. Check that redaction has not broken the links the buyer actually needs. Agree acceptance tests and delivery controls before transferring the package.

Resolve risks in the license

Model use and deletion. Specify whether the buyer may train, evaluate, retain, sublicense or transfer the records. Deleting source files does not by itself establish that information used during training has been removed from a model. The EDPB's Opinion 28/2024 treats model anonymity as a case-specific assessment. Obtain a concrete description of the proposed use and controls rather than relying on a broad promise of anonymity or deletion.

People and contracts. Employee messages and customer material need their own rights assessment. Ownership of a system does not establish permission to disclose every record in it. The required legal basis, notice, consent or other condition depends on the circumstances and applicable law.

California privacy rules. The California Attorney General's CCPA guidance explains sale and sharing rights, applicability and exceptions. Whether a particular license falls within those rules cannot be determined from the word “de-identified” in a marketing description.

Commercial obligations. Define the payment trigger, acceptance tests, permitted recipients, exclusivity, liability, audit rights and termination obligations. Use the AI data licensing agreement checklist to prepare questions for counsel. This article is general information, not legal advice.

Compare bids on the same terms

Several offers can show whether counterparties value the same asset differently. They do not guarantee a higher price or a completed transaction. A broader license, stricter acceptance test or later payment can explain an apparently higher bid.

Give prospective buyers the same approved description and ask them to state price, data scope, intended use, duration, exclusivity, onward-transfer rights, payment conditions and preparation requirements. Keep bids for materially different assets separate. Compare expected proceeds after known costs as well as the headline amount.

What to ask a sell-side broker

A broker's role and fee should be explicit. Ask which counterparties it can approach, what information it will disclose, who handles preparation and which decisions remain with the seller. A directory listing is not evidence that the broker has a relationship with every company listed.

Discuss a codebase license with Bright Info

Bright Info describes its service as a sell-side brokerage: prospective buyers bid on a de-identified asset description, and the seller chooses whether to proceed. It describes a commission paid by the selected buyer on a completed deal and no upfront seller brokerage fee. Confirm the proposed engagement, any third-party expenses and the information required for assessment before sharing records.

Use the valuation intake to describe the company and systems under consideration. Do not submit source code, credentials or personal records through the intake.

The decision to make before an offer

Decide what the company is prepared to license before asking what it might earn. The approved scope should identify the records, permitted uses and exclusions. If a buyer requests more, assess the extra rights, preparation work and exposure as a new proposal. Declining an unsuitable license remains an option.

Linked records have different review requirements. See email licensing, Slack data licensing and CRM data monetization before including those systems. The data monetization guide provides the broader transaction context.

Questions about codebase licensing

Can a company really sell its source code to AI companies?

A company may be able to license code it has the right to disclose. Ownership, employee and client agreements, third-party licenses and confidentiality duties need review first. A license defines permitted uses; it does not create rights the seller lacks.

What makes codebase data more valuable?

Evaluate the language, repository history, links to issues and reviews, documentation, permitted uses and preparation effort. Whether a buyer values that context depends on its intended use. There is no verified universal premium for a particular language or number of years.

Do I have to hand over my data before I know the price?

Begin with aggregate metadata rather than a raw repository. Bright Info describes a staged process: any sample requires separate written authorization and rights and security review; bulk delivery follows a signed license. Confirm what the assessment requires and who receives each disclosure before granting access.

What does it cost to sell through Bright Info?

Bright Info describes a buyer-paid commission on a completed deal and no upfront brokerage fee to the seller. That does not establish that legal review, engineering preparation or third-party processing will be free. Confirm those costs and who bears them in writing.

Is de-identified data still regulated?

It can be. Pseudonymized records remain personal data where a person can be identified using additional information. Anonymity requires an assessment of the actual data and context. California privacy requirements can also apply to a disclosure for valuable consideration; applicability and exceptions need review for the proposed transaction.

Sources and scope

More from the blog

Find out what your company's data is worth

Bright Info runs a sealed bid among AI data buyers for your record. You pay nothing unless a deal closes.

Get your data valued