# Sell source code repositories to AI labs

Abaka publishes up to $1M per repository, Mercor up to $500K for legacy code. What makes a private repository eligible, the four buyer checks, and cleanup.

Updated 2026-12-04. Source: https://dataexit.co/records/source-code-repositories

Labs want private production code with its full history: pull requests, reviews, issues and linked commits. The history is the point. A reviewed pull request that fixes a reported bug is a ready-made task for a coding agent: here is the problem, here is the codebase, here is the change a professional made, here are the tests that pass afterwards.

## What the programs publish

| Program | Requirement | Published payout |
|---|---|---|
| Abaka AI Project Reborn | 500+ pull requests, 3+ contributors, handwritten code from 2023 or earlier | Up to $1M per repository |
| Mercor: Legacy & Specialist-Language Codebases | Companies of 15 to 5,000 staff, anywhere | Up to $500K |
| Mercor: Production Codebases, Common Languages | Companies of 5 to 2,000 staff, anywhere | Up to $200K |
| DataVendor | Anyone holding the right to license | You set the price or take offers. About $30K per license is a typical floor for a strong codebase |
| Turing Project Lazarus | Active or wound-down companies. Code on its own is accepted | Revenue share on each sale, nothing upfront |

Figures are as of December 2026 and come from each program. The buyer sets the final price after reviewing the repository. One closed startup's codebase sold for about $25,000, according to MIT Technology Review.

micro1 also lists code among the operational records in its company data packages, alongside chat, tickets and documents.

## The four checks

Buyers look at the same things before pricing a repository.

### 1. Ownership

Who holds the copyright. Employee work normally belongs to the company. Contractor work belongs to the company only if the contractor assigned it. Client projects often belong to the client. Co-founders who left, acquired code and university spin-out code all need a paper trail.

### 2. Third-party code

Vendored libraries, copied snippets, generated code, licensed SDKs and anything under a copyleft license. Buyers want to license what your team wrote. Dependencies fetched by a package manager are less of a problem than code pasted into the tree.

### 3. Secrets in history

Not the current branch: the entire history. A key committed in 2019 and deleted the next day is still in the repository. Scan every commit on every branch with a secrets scanner, rotate anything found, then rewrite history or exclude the affected paths in agreement with the buyer. DataVendor offers team-assisted cleanup of personal information and secrets on request.

### 4. Pull request and review depth

Whether changes went through pull requests with real review comments, linked issues and CI results, or were pushed straight to main. Abaka's 500 pull request threshold is an explicit version of this check.

## What to export beyond the Git history

Git alone does not contain pull requests. Those live in the hosting platform.

- **GitHub:** the organization migration export, or the API, returns pull requests, reviews, review comments, issues and their timelines
- **GitLab:** project export bundles merge requests, issues, notes and CI configuration
- **Bitbucket and Azure DevOps:** pull requests and work items through their APIs

Keep the linked issue tracker too. See [Jira and project history](/records/jira-and-project-history).

## Remove before delivery

- Credentials, private keys, certificates and environment files
- Customer data in fixtures, seed scripts, SQL dumps and test snapshots
- Personal data in logs and sample files committed for debugging
- Internal hostnames and infrastructure detail you would not want outside
- Security-sensitive findings in issues

## Closed companies and their code

A closed company's code belongs to the company or its estate, so a founder, board or liquidator can license it. Abaka, Turing and DataVendor all take closed companies. Export the full organization from GitHub or GitLab before the account lapses: pull requests and issues disappear with the account even if someone kept a local clone. See [closing a company](/closing-a-company) and the [codebases page](/codebases).

Some programs pay us a referral fee. You pay nothing, and it never comes out of your payout. We never receive or see your code.

See which programs fit your codebase: [answer 9 questions](/apply).
