GitHub rewrote Copilot's agent runtime into 800K lines of Rust, mostly written by AI agents
martinwoodward · x · 2026-09-17
GitHub's engineering blog details how the team used the Copilot app and CLI to completely rewrite the Copilot agent runtime from TypeScript/Node.js into over 800,000 lines of production Rust, with AI agents writing most of the code across 128 PRs that shipped incrementally.
- A port that would have taken a full team one to two years was done primarily by a single developer in a few months.
- Existing end-to-end tests ran against the new code at every step; regressions were caught and fixed quickly.
- Runtime performance improved by orders of magnitude.
- The runtime backs Copilot CLI, the Copilot app, the SDK and multiple Microsoft/GitHub products.
Related event: GitHub rewrites Copilot runtime in 800,000 lines of Rust with Copilot(8 posts)→
More from coding & agent
- Typesafe AI Launches Jev: A Decision Engine at 70-500ms and $0.042 Per Million Tokens — brandon_galang · 2026-09-17
- Open-source Helicon app brings Meta's Muse Code CLI to Windows desktop — alexandr_wang · 2026-09-17
- Netlify to livestream a Grok Bot autonomously building and deploying a site — thisiskp_ · 2026-09-17
- OpenJev open-sources Jev-style semantic decisions on a single RTX 3090 with a frozen 4B model — alexcovo_eth · 2026-09-17
- Browser Use CEO on agentic engineering: humans are the bottleneck, he stopped reading code — David Ondrej · 2026-09-17
- Jev: an open-source action-picker that splits agent thinking from clicking — alexcovo_eth · 2026-09-17