Skip to content
Original
TutorialsGitHub Blog · AI & MLFrom the source· Stephen Toub·· 2026-09-17Picks

GitHub uses Copilot to rewrite the Copilot runtime in Rust

Migrating the GitHub Copilot runtime to Rust, using Copilot

What happened

Using the GitHub Copilot app and Copilot CLI, GitHub completely rewrote the Copilot agent runtime from TypeScript into more than 800,000 lines of production Rust. AI agents wrote most of the code, merged incrementally into main across 128 pull requests rather than in a single cutover.

Why it matters

Drawing on firsthand experience, the author reviews the 800,000-line Rust rewrite and shares agent-orchestration and review practices that can be reused.

Keep reading

Latest daily · Issue 24NVIDIA and AI4Bharat Introduce Nemotron-pretraining-Indic-v1 and an Open Data Generation Pipeline

Trending now

  1. 1Meta Releases Muse Spark Open With Mac and Cloud Support, Topping US Open-Weight Index
  2. 2Google Launches Gemini 4 Argon Globally, Expands Paid Access as Benchmark Results Vary
  3. 3OpenAI Updates GPT-6 Astra Pro in ChatGPT With Parallel Agents and Faster Responses
  4. 4Meta’s New Business Terms Raise Dispute Over Website Crawling and AI Training Rights