If you’re training a coding model or a coding agent, or buying data for a team that is, Cognition just showed how much money is behind that work. On December 3, 2026, Cognition announced that it raised more than 3 billion dollars at a 78 billion dollar valuation. Read on to find out what was announced, how Cognition trains its own models and what code a coding agent has to learn from.
What Cognition announced
Cognition makes Devin, an AI agent that writes software. Founders Fund, General Catalyst, Lightspeed, Khosla Ventures and Avenir led the round. The company says its annual revenue run rate went from almost 900 million dollars to more than 1.4 billion dollars since its last round in September.
| Detail | What Cognition announced |
|---|---|
| Company | Cognition, the San Francisco company that makes the Devin coding agent |
| Announced | December 3, 2026 |
| Raised | More than 3 billion dollars |
| Valuation | 78 billion dollars |
| Lead investors | Founders Fund, General Catalyst, Lightspeed, Khosla Ventures and Avenir |
| Revenue run rate | More than 1.4 billion dollars a year, up from almost 900 million in September |
| Previous round | More than 2 billion dollars at a 48 billion dollar valuation on September 8, 2026 |
| What the money is for | Agents that work as a team, and software security |
Three rounds in seven months
Cognition has raised money three times in 2026.
- May 27. More than 1 billion dollars at a 26 billion dollar valuation.
- September 8. More than 2 billion dollars at a 48 billion dollar valuation.
- December 3. More than 3 billion dollars at a 78 billion dollar valuation.
Each round was bigger than the one before, and the valuation tripled in about six months. Finance agents drew the same kind of interest in November. Our breakdown of Rogo’s reported 3.75 billion dollar valuation covers that side.
What Cognition’s agents do
Devin takes a task, writes the code and opens a pull request for a person to review. Cognition says the number of Devin pull requests merged each day rose 95 percent since September. Its newer products take on more of an engineer’s job.
- Devin Bots look after a whole area of software, like keeping an Android app level with the iOS one or turning bug reports into shipped fixes.
- Devin Security finds and fixes vulnerabilities. Cognition says about 20 percent of Devin sessions involve security work.
Cognition trains its own models
Cognition’s research page says it trains models built for software engineering. It released the latest one, SWE-2.1, on November 24, 2026. Cognition says it trained SWE-2.1 with reinforcement learning, on tasks and environments that run from a few minutes to many hours and cover science, performance engineering and cybersecurity.
In reinforcement learning a model attempts a task inside an environment and gets scored on the result. Our guide to what RL environments are covers how that works. Every one of those tasks needs real code underneath it. In an earlier research post, Cognition said it checked that no repository in its training tasks overlapped with the benchmark it tested on. Cognition hasn’t said which codebases its training tasks come from.
Why public code isn’t enough for a coding agent
The last generation of coding models learned from public repositories, and every lab has that code. A coding agent has to take a vague ticket, read an unfamiliar codebase, make a change, get through code review and fix what breaks in production. Public code teaches the syntax. It doesn’t teach the process, because the process was never published.
Testing has the same problem. A model may have already seen a public benchmark, so labs need code that was never public to test on.
What a coding agent learns from
A snapshot of source code with no history is worth little to a training team. Four things raise the value.
- The full commit history shows how the code changed, what broke and how it was fixed.
- Pull requests and code review capture what was accepted, what was rejected and why.
- Tickets linked to the code connect a request to the change that resolved it.
- A setup you can run (CI config, Dockerfiles and setup instructions) lets an agent execute the code.
The value is highest when the records link, so a model can follow one job from the request to the merged pull request. Our guide to code datasets for AI covers the three kinds of code data labs train on, and our guide to AI agent training data covers why agents need the full record of a task.
Training, testing and environments are three different rights
Labs do three things with licensed code, and each one is a separate right in the license.
- Training. The model learns from the code and its history.
- Evaluation. You hold the code back and use it to test the model on work it hasn’t seen.
- Building environments. A real repository with its tickets becomes a place where a coding agent practices and gets scored.
Decide which of the three you need before you negotiate, and get each one named in the agreement. Our guide to exclusive vs non-exclusive data licenses covers the other choice you’ll make. This guide is general information and isn’t legal advice.
What to check before you license a codebase
Ask five questions before you sign.
- Does the company own all of it? Every contributor, contractors and agencies included, should have assigned their work to the company.
- Are the open-source dependencies listed? Copyleft code and anything that restricts redistribution needs to be identified.
- Are secrets and credentials out of the history, along with customer data in seed files and fixtures?
- Have names and personal details in tickets and commit messages been replaced with pseudonyms?
- Can you run it? Ask for the build and test setup with the code.
Our guide to rights-cleared training data covers what clearing a dataset takes, and our guide to how to buy AI training data covers the buying steps.
Where Troveo fits
Troveo is a data licensing marketplace, and more than 300 companies have signed to license their business data through us. Our business data program covers code alongside documents, messages and operating systems. Companies can license their codebases through us with the history attached, after contributor rights are confirmed, open-source dependencies are listed, and secrets and personal details are out.
You see an anonymized snapshot of what a company holds before anything is exported, and you sign one agreement with us. Tell us what your coding agent needs to learn from and we’ll show you what we hold.
