# GitHub moved the Copilot runtime to Rust using its own agents

> GitHub rewrote the Copilot agent runtime from TypeScript and Node.js into more than 800,000 lines of production Rust, with AI agents writing most of the code.

- Publisher: JARRUS (@jarrus.tech), thejarrus.com
- Story date: Sept. 16, 2026 (2026-09-16)
- Published: 2026-09-23
- Tags: Microsoft, Agents
- URL: https://thejarrus.com/en/news/copilot-rust/

Disclosed on September 16: the agent runtime that ran on TypeScript and Node.js was rewritten into more than 800,000 lines of production Rust, most of it written by AI agents. As of August 21 there were 832,378 lines of production Rust, and about 430,000 lines of TypeScript were removed. The work spanned 128 pull requests, more than 135 releases and 14.5 weeks. The cost was roughly $120,000 in tokens plus three weeks of one developer's time.

https://x.com/github/status/2102103572867358977

## Sources

1. [GitHub Blog: Migrating the GitHub Copilot runtime to Rust, using Copilot, Sept. 16, 2026](https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/)
2. [GitHub (X): Post on the migration, Sept. 21, 2026](https://x.com/github/status/2102103572867358977)

Report an error: corrections@thejarrus.com
