How does github copilot works?

Parth Thakkar, had created an interesting analysis on how github copilot works:

  • Copilot Explorer (2022)

    In this project, I delved into the internals of Github Copilot. I wrote a tool to decompile Copilot's VSCode extension, and identified key insights regarding prompt construction logic, post processing of model's output and telemetry collection (after sifting through over 400 obfuscated modules!). I also built a code browser to intuitively explore the codebase. I wrote a blog post about it that got a little bit popular.

This was brought to attention by Charles Frye, fantastic instructor at FSDL

Last updated