Code Licensing · Pangea.ai network

What makes a repository valuable to AI labs.

Frontier labs are licensing real-world source code and git history to train coding models. They have already read the public internet. What is left to learn is how software actually gets built: the commits, reviews, bug fixes and tests that only private repositories carry. This is what they look for, and what they pass on.

✓You keep ownership: keep using and shipping the code
✓You pick the repos: nothing else is touched
✓Non-exclusive: paid every time it is licensed
3+
Contributors. The hardest filter buyers apply
100+
Commits. Years of real development
10+
Merged pull requests. Real review, not solo pushes
10k+
Lines of original code. Serious scale

Rough thresholds, not hard gates. A repo below them is still worth submitting: falling short is not a rejection.

The market

Who buys, and why it pays.

Who buys

Frontier AI labs training coding models. Every deal runs through our partner under confidentiality; owners never deal with a lab directly, and neither side is disclosed.

What they train

Models have already read the public internet. What is left to learn is how real software gets built: the commits, reviews, bug fixes and tests that only private repositories carry.

Why it pays

A dormant client build, an internal tool, a product you moved on from: code you fully own becomes a licensable asset, without giving up ownership or use.

What buyers ask about first

Five things that make a repository strong.

In the order they ask them.

Production reality

Built for a company, a client or a product, with real users. Commercial applications, client systems, internal tools and backend services beat tutorials, templates and experiments.

Completeness

A whole project, not snippets: source with its tests, docs, configuration and dependencies. Context is what teaches a model how software fits together.

Development history

Years of commits, branches, merged pull requests and fixes. History shows the before and after of every change, which is exactly what coding models train on.

Engineering quality

Clean architecture, real tests, CI, consistent practice, meaningful commit messages. A mature production repo beats a freshly generated one holding the same amount of code.

Scarcity

Code the public datasets do not contain: enterprise systems, specialised industries, less common languages, legacy stacks and multi-service architectures. Rarity is the one dimension that cannot be manufactured after the fact.

Less valuable, whatever the line count

What drags a repository down.

×

Forks and mirrors

If the base is public, models have already trained on it; only original work carries value.

×

Tutorials & boilerplate

Coursework, templates and scaffolding are the most duplicated code on earth.

×

Generated bulk

Generated files, vendored dependencies and binaries are excluded from the count, so bloat does not move the number.

×

Thin history

A single contributor and a handful of commits gives a buyer little to learn from, however clean the code.

×

Third-party weight

A repo that is mostly someone else's open source is someone else's code.

0
Public repos accepted. Only original, private code carries value
100%
Of git history is priced. Sync the original, never a squashed export
8
Dimensions graded, architecture through to CI

Falling short is not a rejection

Repos below the bar are upgraded automatically
1
Missing scaffolding gets added
An automatic pass over the working copy adds what a repo lacks: a README, CI, a Dockerfile, an environment example, tests.
2
Tests are proven, not padded
The upgraded copy is installed and run in an isolated sandbox. Any test that fails, or passes without exercising your code, is thrown away.
3
Your original is untouched
It is kept exactly as it arrived, your repositories are never written to, and you get the full list of what was added.

Rights decide everything

The one requirement with no workaround
Even excellent code cannot be licensed if ownership is unclear. Only code you fully own — with no client claim, NDA restriction or contributor owed payment — can be offered.
  • You pick the repositories. Exactly the ones you choose are copied for grading; nothing else is touched, and you can revoke access at your provider at any time.
  • Scrub first, surgically. Strip secrets, credentials and client identifiers before syncing. Keep the core logic: the source is what is valued, and removing it lowers the number.
  • Nothing moves without you. No repository is offered to anyone without your signature, and grading commits you to nothing.
Up next
Pricing & Grading
What a repository is worth, how it is scored, and when you get paid.
Pangea.ai
Code Licensing programme. Thresholds and criteria are indicative of what buyers look for; final listing decisions rest on our partner's analysis. Buyers are confidential and are not disclosed. Questions? Contact jazlin@pangea.ai.
Code Licensing · Pricing

How a repository is
priced, graded and paid.

Size sets the price, quality decides the sale. Grading is free and private, the estimate obliges you to nothing, and you are paid every time the code is licensed.

$100/M
Per million tokens of source code at head. Your share, indicative
$40/M
Per million tokens of git history. Your share, indicative
$0
To sync, grade and list. Nothing is deducted from your share
Net 15
Paid within 15 days of buyer funds landing

These are indicative, deliberately conservative estimates of the owner's share, not guaranteed payouts. Final value depends on the sale and on buyer demand.

The mechanics

Count, grade, licence.

1 · Count

Source tokens at head plus the unique tokens across git history. Generated files, vendored dependencies, binaries and third-party code are excluded before anything is priced.

2 · Grade

A model reads the code against a fixed rubric; the repository is never built or run. The same scorer is used before and after syncing, so the grade is consistent throughout.

3 · Licence

Non-exclusive by default: you keep using and shipping the code, and the same repository can be licensed to more than one lab and paid for each time.

Scored dimension by dimension

What the grade measures.

The grade tells buyers what they are getting; the price is set by size at the rates above. When a repo grades below the bar, the working copy is upgraded automatically, and you get the full list of what was added.

Architecture & robustness

Clear layering, real error handling, validated input.

Docs & onboarding

A README a new developer can actually run from.

Code cleanliness

Consistent style, no dead code, linted.

Dependency health

Lockfile committed, lean and current dependencies.

Test coverage

Real tests on real behaviour, run in CI.

Security hygiene

No committed secrets, enforced authorization.

History & maintenance

Meaningful commits, releases, an active repo.

CI/CD maturity

Lint, type-check and tests on every pull request.

Minutes
To a value and a grade for every synced repo
2–3 wks
For a graded repo to go in front of the labs it fits
2 wks–3 mo
Lab decision window, tracked on your dashboard

Raising the number

What actually moves valuation and sale odds
1
Sync the original, not an export
History often carries the larger half of the price; a squashed, shallow or freshly re-initialised copy throws those tokens away.
2
Bring the whole team's work
Multi-contributor repositories with real pull requests clear the hardest filter buyers apply; a solo mirror of the same code does not.
3
Keep the tests in
Test suites raise the grade, and they are the first thing buyers check after contributors.
4
Scrub surgically
Strip secrets and client identifiers; keep the core logic, because removing source lowers the price directly.
5
Sync everything you own
Assessment is free and private, it costs nothing, and it obliges you to nothing.

Terms in plain words

The standard agreement, summarised
OwnershipStays yours; keep using and shipping the code
Standard licenceNon-exclusive · can pay repeatedly
ExclusivityOccasional · premium terms · your call
Who sees the codeReview team; a buyer after signing, in confidence
WithdrawingAny time before a licence · 30 days' notice after
PaymentWithin 15 days of buyer funds landing
CostNone · the rates are what you are paid
Free, private, obliges you to nothing

Getting a number for your repos.

Request access

Ask for access and you're walked through the setup: one agreement, already countersigned, then you connect GitHub, GitLab or Bitbucket yourself and select exactly the repositories you want assessed.

Your code never passes through an inbox. Access is scoped to the repos you select, nothing else is touched, and you can revoke it at your provider at any time.

What comes back
A value and a grade for every repo you select, in minutes.
  • Token counts for source and history, third-party weight excluded
  • A grade across all eight dimensions, with the gaps named
  • A total at the standing rates, and what would lift it
Figures are priced at the standing rates. They are not an offer: the final figure depends on the sale and on buyer demand.
Nothing moves without you

Find out what your back catalogue is worth.

Grading is free and private, your originals are never written to, and you can revoke access at any time.

Pangea.ai
Code Licensing programme. Rates shown are the code owner's share and are indicative, deliberately conservative estimates, not guaranteed payouts; token counts and final value depend on our partner's analysis, the sale, and buyer demand. Questions? Contact jazlin@pangea.ai.