AI News
All stories
Reported

Cognition says merged PRs rose 40x in a year as its engineering team grew 2.7x

Cognition's chief product officer Walden Yan says the company's combined merged pull requests rose 40x in about a year while its engineers grew 2.7x.

AI in Practice · · 3 min read

Cognition's chief product officer, Walden Yan, told the AI Engineer event that the company's combined merged pull requests rose 40 times over about 12 months. Over the same period, its engineering team grew 2.7 times. The figures are the company's own and have not been independently checked.

The central idea Yan describes is what he calls a "software factory," in which everything is automated by default. Pull requests move from bug report to merge, monitoring and support without human intervention. An escalation system routes cases that need human judgment. Yan said that sometime in March of this year he told the engineering team that taking tickets off a Linear board and handing them to an agent would not be enough. Instead, large teams were split into smaller groups of two or three engineers. These groups own everything beyond the code itself: reviewing user bug reports, running QA, product management and governance. Each engineer manages a task board and sends items to agents. Yan says the work runs through Slack. A user's video bug report is forwarded to an internal channel, Devin is tagged, and Devin returns a pull request along with a video showing the fix.

The part of the talk that matters most for engineers is the infrastructure change. Yan said Cognition used to test applications in shared cloud environments connected to test databases and servers, with engineers testing by hand. The company migrated so each service runs locally with Docker Compose. It also built mock versions of all third-party services so they can run locally too. That whole stack runs on a single virtual machine that developers can access. Yan said the virtual machines are recreated every hour, with the latest code uploaded and the codebase rebuilt from scratch. When builds fail because of fast-moving changes, Devin repairs the VM snapshots. Because each agent run starts on a fresh machine with current code, agents don't depend on live services. Yan also said Devin writes and refreshes its own testing skills by running tests repeatedly as the codebase changes. Some engineers have moved to iPads, which he framed as more secure than laptops holding local secrets.

Yan's second theme is what he called giving agents jobs rather than tasks. Instead of a prompt, an agent is given a measurable goal, such as improving P99 latency. It is expected to build its own telemetry, alerts and reports. The example with the most numbers is inference. Yan said Cognition was among the first to receive Nvidia's new Vera Rubin GPUs. The low-level code for them was not built when they arrived, so the team had to build its own inference stack from scratch. He said an agent was given a permanent allocation of GPUs and a throughput target. Within about a week, it had tested strategies and sent the best ones to a human for approval. He said eight or nine improvements came from this process. Throughput on the Rubin GPUs went from worse than the GB 300 to significantly better than the previous GB 300 class. The talk gives no benchmark, baseline measurement or methodology for that comparison.

Yan said he likes to share another example, the Android app. A small team wanted an Android app but lacked the people to build it. An engineer named Samuel told Devin to keep the Android app fully compatible with the existing iOS app, using the iOS work as a template. Yan said the agent set up persistent hooks to watch the iOS codebase and monitored Slack channels for user feedback. It also ran live QA comparing the two apps pixel by pixel. Over 44 days, Yan said, the agent made 40 to 50 pull requests on some days, and most days no one messaged it. He said the person sent only a small number of messages in the whole process, and that the app will be released soon. The talk doesn't say how many users the app has, how many of the pull requests were merged without rework, or what the app's quality looks like outside Yan's account of it.

What changed

Cognition moved its application testing from shared cloud environments with engineers testing by hand to local Docker Compose runs with mocked third-party services, and its virtual machines are now recreated every hour with rebuilt code.

Type: Other · Applies to: Devin, Docker Compose, Vera Rubin GPUs

Why it matters

Engineering leaders may need to reorganise teams around agent ownership and measurable goals, since Cognition credits its gains to process changes as much as to the models. The claims come from the company itself and are unverified.

What you can do

Make your services runnable locally with mocked third-party dependencies so coding agents can test their changes without touching live systems.

Original source

We have no link to the original source for this story yet.

Where we saw it

1 source

AI Engineer

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works