GitHub rewrote the Copilot runtime in 800,000 lines of Rust, mostly by AI agents
DanWahlin · x · 2026-09-18
GitHub's engineering blog details how the team used Copilot itself (Copilot app + CLI) to fully rewrite the Copilot agent runtime from TypeScript/Node.js into 800,000+ lines of production Rust, with AI agents writing most of the code:
- The rewrite landed via 128 PRs merged incrementally rather than a single cutover; the few regressions were caught and fixed quickly.
- Runtime performance improved by orders of magnitude. The runtime powers Copilot CLI, the Copilot app, the SDK, and other Microsoft/GitHub agentic products.
- A rewrite that would have taken a whole team 1–2 years was done primarily by one developer in a few months—"not affordable before agents."
More from coding & agent
- Claude Code 2.1.275 ships 96 CLI changes, adds send-now shortcut and secret stripping — ClaudeCodeLog · 2026-09-18
- Dosu Cut Agent Debugging Time 90% Using Logfire MCP Across 697k+ Runs — samuelcolvin · 2026-09-18
- Pydantic Logfire's Sleeper Feature: Every Trace Is Just a Row in a Postgres Table — samuelcolvin · 2026-09-18
- Underrated MCP Use: Giving Coding Agents Like Claude Code Real Production Telemetry — samuelcolvin · 2026-09-18
- Jev Ditches Autoregression: A Model That Only Outputs Structured Decisions — karminski3 · 2026-09-18
- skilled-proposer v0.2.0 adds journaling: giving GEPA's reflection model memory of tried proposals — dbreunig · 2026-09-18