Frontier Foundry

40x More Merged PRs With 2.7x the Engineers — Walden Yan, CPO, Cognition

Talk notes · AI Engineer ·

A close reading of the source at ai.engineer (also youtube.com): what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

Software FactoryCoding AgentsAI & JobsSelf-DrivingGPUs & AI ChipsCognition (Devin, Windsurf)

Problem

Walden Yan (co-founder and chief product officer at Cognition, maker of Devin) shows what he says is Cognition's own merged-PR throughput over the last 12 months: 40x more merged PRs while engineering headcount grew 2.7x, so "each of our engineers is now more than 10x more productive" (0:12). He adds that the PRs are "just as high quality, if not higher" than a year ago (1:13). These are Cognition's reported numbers; the talk shows a chart but no breakdown, no definition of "quality" and no outside check. The talk is by the vendor of the tool in question.

Approach

His basic idea of a software factory: by default everything is self-driving. A PR can go from the first bug report to merge, monitoring and maintenance with no human; escalation happens when human judgment is needed (1:13). What Cognition changed (2:14 to 7:18):

  • Smaller pods, wider ownership. Around March the team decided that anything that can be described can be given to Devin, so picking tickets off a board is not a job. Larger teams became pods of two or three engineers with "swarms of agents", each owning bug reports from customers, QA and product management, plus their own ticket board (2:14, 3:14).
  • Slack as the main surface. A customer's bug report video is forwarded to an internal channel and Devin is tagged. It answers with a PR and a video of the fix as proof. The goal is a dev lifecycle without opening an IDE or a coding agent (3:14, 4:16).
  • Everything runs locally. Every service runs under Docker Compose inside one VM, with mocks of each third-party service, so agents never touch live systems or staging. Before this, testing used staging databases and manual click-throughs (4:16).
  • VMs rebuilt every hour from the latest code, so each agent starts on a fresh machine and a fresh codebase. Devin is the first responder if the rebuild fails (5:17). Devin also writes and updates its own skills for how to test the codebase (5:17).
  • Cloud means safer. Several engineers work from iPads. His security argument: secrets are in controlled VMs, not scattered on laptops (6:17). He also describes advanced tests, such as Devin creating several accounts that join the same Zoom call in one VM and exchange voice memos (6:17).
  • Agents optimize the factory. Since all work is tracked, Devin analyzes it and posts daily ideas, such as a Node setup change that could shave a minute off CI, or a lint script that catches 20% more bugs before AI code review (6:17, 7:18). The figures are the examples he gives, not measured results.

From tasks to jobs (7:18, 8:18, 9:18). Instead of prompting, give the agent a goal it works toward over time. His example: "improve P99 latency" leads the agent to add telemetry, set alerts, break down tasks, create Datadog alerts, send weekly Slack reports and daily phone updates. He says to measure anything you think is unmeasurable (click latency, layout shifts via bounding boxes, onboarding retention) and set an agent on that number (9:18).

Two examples, both told by him and unverified: Cognition, which he says was among the first to get Nvidia's new Vera Rubin GPUs, had an agent build an inference stack for them with a permanent set of GPUs for about a week. Eight or nine strategies later throughput went from worse than the earlier GB300 class to significantly better, with human approval at the end (9:18, 10:19). And an Android app: one engineer asked Devin to keep parity with the iOS app, with hooks watching iOS changes and user feedback in Slack and live QA against iOS. In 44 days it produced a working app, merging 40 to 50 PRs on some days, with most days having no human message to the agent (10:19, 11:20, 12:20).

Lessons learned

  • Yan: buying a coding agent is not enough, "you got to go change the way you build": local, mockable, rebuilt environments, and evidence-first workflows (4:16).
  • Make results visible as proof (video, recordings) so humans review evidence from Slack, not diffs in an IDE (3:14, 12:20).
  • Give the factory a metric and a goal, not a list of tasks (8:18, 9:18).
  • Caveats worth holding: the 40x is a merged-PR count, which Ryan Cooke (card) and Dex Horthy (card) say is an output metric that can hide results. No defect rate, revenue or customer outcome was shown. The Android app was "not a slop application" per Yan, and still unreleased at the time (12:20, 13:21).
  • His closing line: "most teams are limited by the amount of ambition they have" (13:21).

Theme

Group: AI Coding & Software Factories. Yan is the maximalist, vendor-side field report: one company's numbers, end-to-end autonomy. He agrees with Quinn Slack (card) on tiny teams, Slack-and-agent workflows, and agents proving their work with video. He disagrees with Armin Ronacher (card) and Steve Yegge (card), who say human attention and review remain the limit and "the more agents, the more humans". It sits at the far end from Davis Palmie's start-narrow incident triage (card), and from Dex Horthy's view (card) that some review must stay. His hourly VM rebuild and local mocks echo Dru Knox's agent-ready stack (card).

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-11-18
APA
Han, R. (2026, November 18). 40x More Merged PRs With 2.7x the Engineers — Walden Yan, CPO, Cognition. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-11-18-aie-mcp-40x-more-merged-prs-with-2-7x-the-engineers-walden-yan-cpo-c
BibTeX
@misc{han2026-briefs-2026-11-18-aie-mcp-40x-more-merged-prs-with-2-7x-the-engineers-walden-yan-cpo-c,
  author       = {Han, Ryan},
  title        = {{40x More Merged PRs With 2.7x the Engineers — Walden Yan, CPO, Cognition}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = nov,
  url          = {https://www.ryanhan.ai/briefs/2026-11-18-aie-mcp-40x-more-merged-prs-with-2-7x-the-engineers-walden-yan-cpo-c}
}