People

Kush Agrawal

Staff Engineer, Platform team, Duolingo.

Explore with your AI assistant

Opens a new chat with a prompt that points the assistant to this archive. What it writes is its own, not the archive's: check any quotation on its passage page before you rely on it. Or add the archive to your assistant as a connector: https://the-ai-record.com/mcp (how).

Staff engineer on Duolingo's platform team, building developer tooling and AI-assisted workflows for the 100-plus engineers on its client apps. Says he spent close to a decade at Stripe and Uber before Duolingo.

Why their word counts: Built and runs the pipeline he describes, so he speaks about its design, failures and numbers from inside the team.

Profile from this source, checked 2026-11-12.

In their words

So far, the … reviewed about 1200 PRs and rejected 73 of them. Every rejection comes with a comment like this one, saying exactly why the PR was rejected.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is describing the third layer of checks on agent-written test PRs: a reviewer agent built only for them, which the talk calls an LLM as a judge.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 10:36.

  • 1,200 PRs judge prs reviewed, since the pipeline started (to November 2026). No person in the loop
  • 73 PRs judge prs rejected, since the pipeline started (to November 2026). No person in the loop

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

Since we started, the pipeline has merged more than 700 test PRs, adding about 225,000 lines of test code. Every one of those PRs was reviewed and approved by a human. … coverage went from 9% to 59% and overall coverage went from 11% to 24%.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is summarizing results of Duolingo's pipeline of coding agents that write unit tests for its iOS app. The 9% to 59% figure is for the part of the app built on the MVVM architecture pattern, which he defines earlier in the talk.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 10:50.

  • 700 PRs test prs merged, March to November 2026. A person approves
  • 225,000 lines test lines added, March to November 2026. A person approves
  • 11% overall unit test coverage before, March 2026
  • 24% overall unit test coverage after, about eight months later, November 2026

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

Since March, the pipeline has written 34% of all new test files in the repo, 44% of all new test cases, and 10% of every … added to the code base. And interestingly, that share has actually … in the last few weeks because engineers are now writing a lot more tests themselves, which is honestly the end goal.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is giving further results of the unit-test pipeline on Duolingo's iOS repository.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 11:12.

  • 34% ai share new test files, March to November 2026. A person approves
  • 44% ai share new test cases, March to November 2026. A person approves

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

We basically ran this in two batches. The first batch had 17 PRs and we merged eight of them. The second … 40 PRs and we merged 19. So that's roughly a 50% merge rate. But the goal here wasn't to merge a lot of PRs, it was to learn how the agents fail and to fix those paper cuts before productionizing anything.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is describing the first, local trial of the unit-test agent, before it was built as a production system.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 4:31.

  • 8 PRs pilot prs merged batch 1, first local pilot batch, 2026. A person approves
  • 19 PRs pilot prs merged batch 2, second local pilot batch, 2026. A person approves

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

It's also who's writing it. So last year, about 200 people contributed to the iOS repository and this year we've already crossed … And a lot of these folks aren't even iOS engineers. … even PMs and designers, all shipping code to the iOS app.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is describing who commits to Duolingo's iOS repository, as background for the unit-test pipeline.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 0:55.

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

But agents sometimes take the shortest path to green CI. We saw agents editing production code to make a failing test pass. We also saw … modifying, deleting, or silencing existing tests.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is describing problems with the quality of the unit-test pull requests Duolingo's agents opened.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 9:51.

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page

As agents and humans write more code and write it faster, writing code isn't the hard part anymore, verifying it is. … The bottleneck is really shifting from writing to verifying.

Kush AgrawalStaff Engineer, Platform team, Duolingo · Practitioner, Duolingo

Context. Agrawal is explaining why Duolingo's iOS team chose to build an agent pipeline that writes unit tests.

Talk: 225,000 Lines of Tests, Written and Merged by Agents, AI Engineer (YouTube), November 11, 2026, at 1:47.

Checked against the source [ Grade B ] Said in the last year Duolingo: $1 billion revenue, FY2025 Passage page