Learn about this first
GitHub engineer Stephen Toub recapped how Copilot agents rewrote the Copilot agent runtime entirely from TypeScript/Node.js into 832,378 lines of production Rust in about 14.5 weeks. AI agents wrote most of the code, which was merged into main incrementally through 128 PRs and continuously shipped.
Latest developments
GitHub used a Copilot agent to migrate the Copilot runtime from TypeScript to 830,000 lines of Rust.
Event progress1
GitHub used Copilot to completely rewrite the Copilot agent runtime from TypeScript to over 800,000 lines of production Rust, rolling it out incrementally through 128 PRs and reaching 100% production Rust on August 21. All regressions have been fixed, at a token cost of about $120,000.
GitHub Blog: GitHub Used Copilot Agents to Migrate the Copilot Runtime from TypeScript to 830,000 Lines of Rust