conv.

All stories
AIQuiet 6d · day 11

GitHub rewrites Copilot runtime in Rust using AI agents

A project expected to take a year or two was completed in months by a single developer, with AI writing most of the 800,000 lines of code.

What to know

  • GitHub migrated the Copilot agent runtime from 800,000 lines of TypeScript to production Rust, with AI agents writing most of the code across 128 pull requests.
  • The project was completed in a few months by a single developer—work that would have required a full team for 1–2 years before AI agents became available.
  • The rewritten Rust runtime achieved orders-of-magnitude performance improvements and shipped incrementally with regressions caught and fixed along the way.
  • The runtime backs Copilot CLI, the Copilot app, Copilot SDK, and a growing set of Microsoft and GitHub ecosystem AI solutions.

GitHub Developer platform company

How it unfolded 1 development · click the chart to see its coverage articlesposts

Peak 3 pieces in 3h at Sep 16, 7 PM; 9 pieces over 11 days (1 article · 8 posts) Sep 16, 7 PM — 3 pieces · 1 article · 2 posts — Newswires 1, Hacker News 1, Mastodon 1Sep 16, 10 PM — quietSep 17, 1 AM — quietSep 17, 4 AM — 1 piece · 1 post — Hacker News 1Sep 17, 7 AM — quietSep 17, 10 AM — quietSep 17, 1 PM — 1 piece · 1 post — Hacker News 1Sep 17, 4 PM — quietSep 17, 7 PM — quietSep 17, 10 PM — quietSep 18, 1 AM — quietSep 18, 4 AM — quietSep 18, 7 AM — quietSep 18, 10 AM — quietSep 18, 1 PM — quietSep 18, 4 PM — quietSep 18, 7 PM — quietSep 18, 10 PM — quietSep 19, 1 AM — quietSep 19, 4 AM — quietSep 19, 7 AM — quietSep 19, 10 AM — quietSep 19, 1 PM — quietSep 19, 4 PM — quietSep 19, 7 PM — quietSep 19, 10 PM — quietSep 20, 1 AM — 1 piece · 1 post — Mastodon 1Sep 20, 4 AM — quietSep 20, 7 AM — 1 piece · 1 post — Hacker News 1Sep 20, 10 AM — quietSep 20, 1 PM — quietSep 20, 4 PM — quietSep 20, 7 PM — quietSep 20, 10 PM — quietSep 21, 1 AM — quietSep 21, 4 AM — quietSep 21, 7 AM — quietSep 21, 10 AM — quietSep 21, 1 PM — quietSep 21, 4 PM — quietSep 21, 7 PM — quietSep 21, 10 PM — quietSep 22, 1 AM — quietSep 22, 4 AM — 2 pieces · 2 posts — Hacker News 1, Lobsters 1Sep 22, 7 AM — quietSep 22, 10 AM — quietSep 22, 1 PM — quietSep 22, 4 PM — quietSep 22, 7 PM — quietSep 22, 10 PM — quietSep 23, 1 AM — quietSep 23, 4 AM — quietSep 23, 7 AM — quietSep 23, 10 AM — quietSep 23, 1 PM — quietSep 23, 4 PM — quietSep 23, 7 PM — quietSep 23, 10 PM — quietSep 24, 1 AM — quietSep 24, 4 AM — quietSep 24, 7 AM — quietSep 24, 10 AM — quietSep 24, 1 PM — quietSep 24, 4 PM — quietSep 24, 7 PM — quietSep 24, 10 PM — quietSep 25, 1 AM — quietSep 25, 4 AM — quietSep 25, 7 AM — quietSep 25, 10 AM — quietSep 25, 1 PM — quietSep 25, 4 PM — quietSep 25, 7 PM — quietSep 25, 10 PM — quietYesterday, 1 AM — quietYesterday, 4 AM — quietYesterday, 7 AM — quietYesterday, 10 AM — quietYesterday, 1 PM — quietYesterday, 4 PM — quietYesterday, 7 PM — quietYesterday, 10 PM — quietToday, 1 AM — quietToday, 4 AM — quietToday, 7 AM — quietToday, 10 AM — quietToday, 1 PM — quietToday, 4 PM — quiet 1
Sep 17Sep 18Sep 19Sep 20Sep 21Sep 22Sep 23Sep 24Sep 25yesterdaynow · 7:55 PM ET
  1. 1

    Copilot runtime performance improves by orders of magnitude

    The rewritten Rust runtime achieved substantial performance gains compared to the original TypeScript implementation on Node.js. The runtime now backs the Copilot CLI, Copilot app, Copilot SDK, and a growing set of Microsoft and GitHub ecosystem solutions.

    “the performance of the runtime improved by orders of magnitude…”
    — GitHub Blog
    1. first by GitHub Blog, 10d ago

  2. background

    AI agents write most of Copilot runtime in 128 pull requests — GitHub reports that AI agents wrote most of the 800,000 lines of Rust code across 128 pull requests that landed in main. The code was shipped incrementally rather than in a single cutover, with regressions discovered and fixed quickly. A project expected to take a full team 1–2 years was completed primarily by a single developer in a few months.

  3. background

    GitHub announces Copilot runtime migration to Rust — GitHub published a blog post detailing the completion of a rewrite of the Copilot agent runtime from TypeScript to Rust, spanning over 800,000 lines of production code. The post emphasizes that the project scale would not have been economically feasible before the availability of AI agents.