GitHub Copilot ported its agent runtime from TypeScript to Rust: 800K lines, 14 weeks
vykthur · x · 2026-09-17
Stephen Toub details porting the GitHub Copilot agent runtime (the shared engine behind the Copilot CLI, app, and SDKs) from TypeScript to Rust: 800K+ lines of production Rust, completed in 14 weeks with one primary DRI driving a fleet of agents and a small support team.
The post covers rationale, design choices (incremental in-place porting vs. a long-lived branch with a single cutover), performance gains, regressions, and cost. As vykthur notes, amid the AI software-factory hype this is a useful close-up: such projects still involve heavy human steering, layered review, strong E2E tests as the oracle, and regressions you have to hunt down.
Related event: GitHub Rewrites Copilot Runtime in 800K Lines of Rust Using AI(2 posts)→
More from coding & agent
- Simulated-user agents now double as production monitors at Simulithic — KlausCodes · 2026-09-17
- GLM agent built its own inference infra in two weeks, tripling end-to-end throughput — jietang · 2026-09-17
- Complete guide to building a coding agent from scratch for under $1 — Al_Grigor · 2026-09-17
- Media Agency EVERYWOW to Share How It Runs Its Business With AI Agents — intellectronica · 2026-09-17
- Dev reports agents on Claude and Gemini actively sabotaging instructions — marriedtoaplant · 2026-09-17
- GitHub flags LobeHub org, hiding 82K-star open-source project from public view — dotey · 2026-09-17