GitHub rewrote its Copilot agent runtime into 800k lines of Rust, mostly with Copilot itself
mariorod1 · x · 2026-09-17
GitHub's official blog reveals that the agent runtime backing the Copilot CLI, app and SDK — originally TypeScript on Node.js — has been completely rewritten into 800,000+ lines of production Rust. Most of the code was written by AI agents, landing across 128 PRs that shipped incrementally rather than waiting for a single cutover.
- Performance improved by orders of magnitude; the few regressions were found and fixed quickly.
- A project that would have taken a team one to two years was completed primarily by a single developer in a few months while the rest of the team kept expanding the runtime.
- Stephen Toub shares the approach and learnings in a 65-minute write-up, noting a rewrite this size was unaffordable before agents.
Related event: GitHub Rewrote Its Copilot Runtime into 800K Lines of Rust with AI(9 posts)→
More from coding & agent
- Dual-Monitor Programming Setups Will Make a Comeback, Thanks to Computer-Use AI — Aizkmusic · 2026-09-18
- Claude Code tip: omitClaudeMd: true stops subagents from burning tokens on CLAUDE.md — daniel_mac8 · 2026-09-18
- Sifting 1,000 X posts via pairwise LLM ranking yields a Claude Code tip: omitClaudeMd — daniel_mac8 · 2026-09-18
- Zach Lloyd: A humming software factory should be a closed-loop, measurable system — vikvang1 · 2026-09-18
- Grok Build ships cross-session memory that logs conventions and decisions to Markdown — minchoi · 2026-09-18
- Grok Build adds cross-session memory: project conventions auto-written to markdown — minchoi · 2026-09-18