# Github Migrates Copilot Runtime to Rust with AI-Assisted Rewrite

DevFeed: [Github Migrates Copilot Runtime to Rust with AI-Assisted Rewrite](<https://devfeed.tech/articles/github-migrates-copilot-runtime-to-rust-with-ai-assisted-rewrite-83968.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/10/github-copilot-rust-migration/>)

Author: Leela Kumili

Published: 2026-10-09T14:29:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [rust-ai](<https://devfeed.tech/topics/rust-ai.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [Fable](<https://devfeed.tech/topics/fable.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-assisted-coding](<https://devfeed.tech/tags/ai-assisted-coding.md>), [ai-assisted-development](<https://devfeed.tech/tags/ai-assisted-development.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [automated-testing](<https://devfeed.tech/tags/automated-testing.md>), [cli](<https://devfeed.tech/tags/cli.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [development](<https://devfeed.tech/tags/development.md>), [github](<https://devfeed.tech/tags/github.md>), [github-copilot-rust-migration](<https://devfeed.tech/tags/github-copilot-rust-migration.md>), [human-review](<https://devfeed.tech/tags/human-review.md>), [migration](<https://devfeed.tech/tags/migration.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [news](<https://devfeed.tech/tags/news.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [releases](<https://devfeed.tech/tags/releases.md>), [rewrite](<https://devfeed.tech/tags/rewrite.md>), [rust](<https://devfeed.tech/tags/rust.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

GitHub migrated the runtime behind GitHub Copilot CLI, the Copilot app, and Copilot SDK from TypeScript and Node.js to Rust, replacing more than 800,000 lines through an AI-assisted rewrite over approximately 14.5 weeks. The incremental migration used temporary interoperability, automated tests, and human review while GitHub continued shipping releases. GitHub reports that a measured startup and single-turn scenario fell from 5.25 seconds to 292 milliseconds with the embedded Rust runtime.

## Source excerpt

GitHub migrated more than 800,000 lines of Copilot runtime code from TypeScript and Node.js to Rust in about 14.5 weeks using AI-assisted development. The incremental migration used N-API interoperability, automated testing, human review, and 128 pull requests while continuing to ship releases. By Leela Kumili