---
format: "aidr-story-markdown/v1"
id: "02ea023ead6b345ea5fcfff0d7460dd232ad388e6c48a2c40feacfa73131482b"
canonical_url: "https://aidr.today/02ea023e?lang=en"
title: "Migrating the GitHub Copilot runtime to Rust, using Copilot"
lang: "en"
requested_lang: "en"
available_langs: ["en","vi"]
translation_fallback: null
fallback_fields: []
published_at: "2026-09-22T10:36:43.000Z"
category: "Infra"
topics: ["github","copilot","rust","rewrite","agent-runtime"]
source_urls: ["https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/","https://lobste.rs/s/2f2rrp/migrating_github_copilot_runtime_rust"]
summary: "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."
---

# Migrating the GitHub Copilot runtime to Rust, using Copilot

> [Open the canonical story](<https://aidr.today/02ea023e?lang=en>)

**Published:** 2026-09-22T10:36:43.000Z
**Category:** Infra
**Topics:** github, copilot, rust, rewrite, agent\-runtime

## Summary

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\.

## Sources

- [Story source](<https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot/>)
- [Discussion](<https://lobste.rs/s/2f2rrp/migrating_github_copilot_runtime_rust>)

