Disclosure: I'm a Pangea.ai referral partner. The links at the end are referral links; if you license code through them, Pangea pays me a commission on top of your payout, not out of it. Nothing here is a promise of income.
In my last post I explained how AI labs license real-world code. This one is the checklist I wish I'd had before sending it to people: what qualifies, what doesn't, and what to expect.
Why labs want this code
Coding models are trained and evaluated on real production code, and on the git history behind it: how features shipped, how bugs got fixed. Labs have become strict about AI-written code, so human-written code with a long commit history is what they're after.
How the licence works
- Non-exclusive: you keep ownership and keep using, modifying and shipping the code. The same repo can be licensed more than once; how often depends on demand.
- Read-only access: you connect GitHub, GitLab or Bitbucket and pick individual repos.
- Scrubbing: secrets and personal data are stripped from the review copy, in both code and history, before any buyer sees it. Your repo is untouched.
Eligibility checklist
✅ Private and never public (an old Internet Archive capture or an npm/PyPI release counts as public)
✅ Written by people. Pre-2025 code is the strongest fit. Code from 2025 onward is flagged "low likelihood" until you explain how it was built (not an automatic rejection).
✅ Your own work, or code you hold full rights to license
✅ Real products (SaaS, backends, internal tools, full apps) with full git history connected directly; a flattened copy loses most of the value
❌ Client-owned code without the client's written OK
❌ Forks, renamed copies, duplicates, or thin wrappers around public templates
❌ WordPress sites, themes and plugins
❌ Data dumps, generated output, or repos that are mostly vendored code
For agencies specifically
Most agency code belongs to clients, and that stays out unless the client agrees in writing. What usually qualifies is what you own outright: internal tools, accelerators and boilerplates you built yourself, R&D, and retired in-house products. Pangea tells partners there's current demand for legacy production code (COBOL, Fortran, JCL), Kotlin, TypeScript/React/Next.js and playable game projects. That's their statement, not a guarantee.
The money, honestly
- Published indicative rates: $100 per million tokens of source code, $40 per million tokens of git history. They're in the agreement and can change on 30 days' notice (not retroactively).
- Pangea's site shows a per-repo ballpark, but it's explicitly illustrative. Your real number comes from connecting Git. Pangea also publishes a counter you can run locally to check token counts.
- Grading takes hours to about 4 weeks; licensing typically takes 2–16 weeks and isn't guaranteed.
- You're paid within 15 days after a buyer pays.
Responsibilities and exits
- You warrant that you own the code, and that warranty is uncapped. If it's wrong, you may have to return payments and cover claims. Only submit what you're sure about.
- You can withdraw a repo any time before it goes to labs. Afterwards, you can opt out of future deals with 30 days' notice; completed licences stay valid.
- You get the full agreement to review (ideally with a lawyer) before signing.
Links
- Individuals / companies: https://pangea.ai/code-licensing/companies?id=1340
- Agencies: https://pangea.ai/code-licensing/agency?id=1340
Disclosure again: these are referral links. Pangea pays my commission on top; it doesn't reduce your share. Questions welcome in the comments.