GitHub uses Copilot to rewrite the Copilot runtime in Rust
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.
