# Migrating the GitHub Copilot runtime to Rust, using Copilot

DevFeed: [Migrating the GitHub Copilot runtime to Rust, using Copilot](<https://devfeed.tech/articles/migrating-the-github-copilot-runtime-to-rust-using-copilot-31528.md>)

Original publisher: [Read original article](<https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/>)

Author: Stephen Toub

Published: 2026-09-17T00:26:43Z

Content type: article

Language: en

Sources: [GitHub Engineering](<https://devfeed.tech/sources/github-engineering.md>)

Topics: [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [GitHub Copilot SDK](<https://devfeed.tech/topics/github-copilot-sdk.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [github](<https://devfeed.tech/tags/github.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [github-copilot-sdk](<https://devfeed.tech/tags/github-copilot-sdk.md>), [rust](<https://devfeed.tech/tags/rust.md>)

## AI overview

The GitHub Copilot agent runtime was rewritten from TypeScript on Node.js and V8 into more than 800,000 lines of production Rust. AI agents wrote most of the code across 128 pull requests, and the runtime was shipped incrementally while regressions were fixed and performance improved by orders of magnitude.

## Source excerpt

A rewrite this size wasn't affordable before agents. Here's what porting the Copilot agent runtime to 800,000 lines of production Rust actually took. The post Migrating the GitHub Copilot runtime to Rust, using Copilot appeared first on The GitHub Blog.