Disclosure up front: this post contains a referral link – Pangea pays me a commission on top, it doesn't reduce your payout. Everything else here is how the programme works as published on Pangea's own pages, plus what I've learned helping people go through it.

If you run (or ran) a software agency or dev shop, you probably have more private code lying around than you think – and most of it isn't client work. AI labs now license real, human-written codebases with full git history to train and evaluate coding models. Pangea brokers those licences, and it has a separate track for agencies.

This post is the agency-specific version: what in-house code typically qualifies, what clearly doesn't, and how to sort your GitLab/GitHub org in an afternoon.

The short version of the deal

  • Non-exclusive licence. You keep ownership and can keep using, modifying and deploying the code internally and with clients. The same codebase can be licensed more than once.
  • Indicative rates: $100 per million tokens of source code and $40 per million tokens of git history. These are illustrative – the real number is a per-repo estimate after you connect Git read-only, and it depends on analysis and buyer demand. Income is not guaranteed.
  • Payout: within 15 days after the buyer pays Pangea.
  • Timeline: preparation takes hours to a few weeks; licensing by a lab typically takes weeks to months, and not every repo gets chosen.
  • Privacy: grading runs on a separate copy; secrets, credentials and personal data are scrubbed from that working copy (code and history) before any buyer sees it, contributor identities are pseudonymised, and your originals aren't modified.

What agencies usually own (good candidates)

Go through your org and look for these:

  1. Internal tools – the admin panels, deployment scripts, billing dashboards, CRM integrations and time-tracking hacks your team built for itself.
  2. R&D and spikes – proof-of-concepts for pitches, framework experiments, the "let's try Rust for this" repo nobody deleted.
  3. Retired in-house products – the SaaS you tried to spin out in 2019, the white-label template that you sold licences of but kept IP for.
  4. Starter kits and boilerplates you built and own (as long as they were never published as public repos).
  5. Long-lived repos with real history. Labs value the evolution of code – refactors, bug fixes, reviews – not just the final snapshot. A five-year repo with thousands of commits is worth far more than a squashed export.

Older is better: code that started before 2025 is preferred, because newer code is more likely to be AI-generated. Repos started in 2025 or later get flagged for a closer look (you can add a note on how they were built).

What does NOT qualify

Be strict here – you sign a warranty that you own or have the right to license each repo, and that obligation is serious.

  • Client-owned code. If your contract assigns IP to the client (most do), the deliverable is theirs, not yours. Leave it out unless you genuinely hold the rights to license it – in practice that means the client's explicit written permission. When in doubt, leave it out.
  • Anything that was ever public, and forks of public projects.
  • Code under NDA, or containing confidential data or third-party rights you can't license.
  • Vendored libraries, generated files, binaries and data dumps don't count toward value anyway.

An afternoon triage for your org

  1. Export a repo list (name, created date, last commit, commit count, visibility).
  2. Tag ownership per repo: ours / client / mixed / unsure. Only ours goes forward. Ask whoever signed the client contracts about the mixed and unsure ones.
  3. Check visibility history – was it ever public, mirrored or forked from something public? If yes, drop it.
  4. Keep history intact. Don't squash, rewrite or "clean up" before submitting – removing history lowers the token count and the value, and the scrubbing is done on Pangea's copy anyway. Do tell them about anything sensitive you know of.
  5. Get the estimate by connecting Git read-only and selecting only the repos on your ours list. You can read the full agreement (and show it to your lawyer) before signing.

Who this fits best

  • Agencies with 5+ years of internal tooling and side products.
  • Dev shops that wound down a product line but still own the code.
  • Founders of shut-down startups who kept the IP after closing.

It fits badly if almost everything you've written is client-owned – then there's simply not much to license, and that's fine.

Links

Again: these are referral links – Pangea pays me a commission on top, it doesn't reduce your payout. Rates above are Pangea's published indicative figures, not a promise of income. Happy to answer questions in the comments.