Cognition, the company behind the Devin coding agent, has raised more than $3B at a $78B valuation. It is the company’s third funding round of 2026, and its revenue run rate is now above $1.4B. Our read is that this is not a price on a faster autocomplete. It is a category bet on who owns the first commit of every new software project, and that should change how engineering leads think about which coding agent they let into their repositories.
What happened
The round was led by Avenir, Founders Fund, General Catalyst, Khosla Ventures and Lightspeed, according to a Bloomberg report summarised by TNW in the AI news digest for 4 December 2026. The $78B figure includes the new money. The same digest carries Latent Space’s write-up, headlined “Bots drive Cognition to $78B, Baseten at $30B”, which puts the total at more than $6B raised across the company behind Devin and one of its inference providers.
Three rounds in one calendar year is unusual even by current AI standards. A run rate above $1.4B is real revenue, but the valuation is a large multiple of it. Investors at this level are not paying for this year’s seats. They are paying for a position they expect Cognition to hold in a few years’ time.
What the money is really buying
Here is the thesis as we see it. A coding assistant that sits in an engineer’s editor makes that engineer quicker. An agent that opens the first issue, writes the first line, runs the first test and merges the first pull request is something different: it becomes the starting condition of the codebase. Every project it touches leaves it holding more of the institutional memory, the dependency graph and the deployment context. That knowledge accumulates with each commit, and it is very hard to extract once it is embedded in how a team works.
If that is the bet, the second-order effects are uncomfortable for everyone else in the toolchain. A valuation this size compresses the ceiling for competing coding agents and implies the category is expected to be winner-take-most. IDEs, code review, CI/CD and security scanning all now sit next to a vendor priced as though it will absorb the whole lifecycle from issue to deploy. None of that is guaranteed. A valuation is an expectation, not an outcome, and buyers of coding tools have shown they will switch when the economics move, as the reported Replit move from Anthropic to OpenAI over price illustrated. Cheap, capable models such as Amazon’s open-weights Ergo coding model also make the model layer itself easier to swap. That is precisely why the moat being priced is context, not model quality.
What it means for builders
Most teams are still debating whether to use AI for coding at all. That question has largely been answered by the market. The sharper one is this: who controls the agent that generates your first commit, and what will that vendor know about your systems once it has been inside your repositories for a long stretch? Architecture decisions, the reasoning behind dependency choices, which services are fragile, where the deployment credentials live. If all of that ends up only in a vendor’s memory store, you have a lock-in problem that no contract clause will fix after the fact.
There is a security dimension too. The Kill The AI roundup for 4 December reports Apiiro’s finding that malicious MCP servers on GitHub, posing as tools for the Lighter and Aster crypto exchanges, ran a stealer and clipboard hijacker as soon as an AI coding agent started them. The payload launched before the agent’s first tool call, so an approval prompt on a later action would not have stopped it. Apiiro counted 36 repositories live when it reported the operation, and attacker addresses received about $49,900. The more of your lifecycle one agent owns, the more its tool supply chain matters.
What to do now
None of this argues against using coding agents. It argues for adopting them on terms you control:
- Keep context in your repo, in plain text. Decision records, runbooks and dependency rationale belong in version control where any agent, or any new hire, can read them. Don’t let a vendor’s memory feature be the only copy.
- Map what the agent can reach. Treat its access to repositories, secrets and deploy pipelines as a dataflow to restrict and audit, using the approach in our guide to dataflow security for AI pipelines.
- Vet every MCP server and tool before it loads. Pin versions, review the source and run agents in sandboxes without production credentials. Approval prompts alone are not a control.
- Keep review, CI and scanning independent. The vendor that writes the code should not be the only thing grading it.
- Evaluate on your own codebase. Benchmarks tell you little about your monorepo; run the kind of structured tests we describe in AI agent evaluation before production and repeat them when you consider switching.
The practical test is simple: if you had to replace your coding agent next quarter, how much of what it knows would leave with it? If the honest answer is “most of it”, fix that now, while switching is still cheap.
Frequently Asked Questions
How much did Cognition raise and at what valuation?
Cognition raised more than $3B at a $78B valuation including the new money, according to Bloomberg as reported by TNW. It is the company's third round of 2026, and its revenue run rate is above $1.4B.
Who led Cognition's latest round?
The round was led by Avenir, Founders Fund, General Catalyst, Khosla Ventures and Lightspeed, according to the Bloomberg report summarised by TNW.
Should we avoid coding agents because of lock-in?
No. Adopt them, but keep architecture decisions and runbooks in version control, restrict what the agent can access, vet its tools and MCP servers, and keep code review and security scanning independent of the agent vendor so switching stays feasible.
Want this working in your business?
D3X Solutions LABS builds AI agents and automation that pay back fast. Set up a free 30-minute call and we will map your first win together.
Get in touch






