Guides7 min read

Cognition's $78 Billion Valuation and the Code AI Coding Agents Learn From

Troveo Team

Troveo

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.

Article banner reading Cognition's $78B Valuation, on the code AI coding agents 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.

DetailWhat Cognition announced
CompanyCognition, the San Francisco company that makes the Devin coding agent
AnnouncedDecember 3, 2026
RaisedMore than 3 billion dollars
Valuation78 billion dollars
Lead investorsFounders Fund, General Catalyst, Lightspeed, Khosla Ventures and Avenir
Revenue run rateMore than 1.4 billion dollars a year, up from almost 900 million in September
Previous roundMore than 2 billion dollars at a 48 billion dollar valuation on September 8, 2026
What the money is forAgents that work as a team, and software security
Cognition’s funding round at a glance, December 2026.

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.

  1. Training. The model learns from the code and its history.
  2. Evaluation. You hold the code back and use it to test the model on work it hasn’t seen.
  3. 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.

  1. Does the company own all of it? Every contributor, contractors and agencies included, should have assigned their work to the company.
  2. Are the open-source dependencies listed? Copyleft code and anything that restricts redistribution needs to be identified.
  3. Are secrets and credentials out of the history, along with customer data in seed files and fixtures?
  4. Have names and personal details in tickets and commit messages been replaced with pseudonyms?
  5. 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.

Frequently asked questions

What is Cognition’s valuation?
78 billion dollars, according to the company’s announcement on December 3, 2026. It was 48 billion dollars in September 2026 and 26 billion dollars in May 2026.
How much did Cognition raise?
More than 3 billion dollars, in a round led by Founders Fund, General Catalyst, Lightspeed, Khosla Ventures and Avenir.
What does Cognition make?
Devin, an AI agent that writes software. It also makes Devin Bots, Devin Security and its own SWE models for software engineering.
Does Cognition train its own AI models?
Yes. Its research page says it trains models built for software engineering, and it released SWE-2.1 on November 24, 2026, trained with reinforcement learning.
What data do AI coding agents train on?
Three kinds. They train on public repositories, on benchmarks and expert-written tasks, and on private codebases licensed with their commit history, reviews and tickets.
Why isn’t public code enough to train a coding agent?
Because every lab already has it, and it shows the finished code without the work behind it. The reviews, tickets and fixes that show how engineers work were never published.
What rights do you need to train a coding agent on licensed code?
A license from the owner that names each use you need (training, evaluation or building environments), with contributor assignments confirmed and open-source dependencies listed. This isn’t legal advice.
Where can AI labs license private codebases?
From the companies that built them, either directly or through a marketplace that has signed them. A marketplace lets you review an anonymized snapshot first and license from many companies under one agreement.

Related articles

Back to Resources