Facebook Engineering Blog
Introducing Pyrefly: A new type checker and IDE experience for Python

Introducing Pyrefly: A new type checker and IDE experience for Python

5/15/2025

What this post added

Introduced Pyrefly, a new open-source Python type checker and IDE extension written in Rust. Pyrefly aims to provide high performance (1.8 million lines of code per second), an IDE-first design, and type inference capabilities. It builds upon the experience gained from developing the Pyre type checker for Instagram's codebase, addressing limitations in Pyre's extensibility and IDE responsiveness. The post details the principles behind Pyrefly's design and encourages community contribution.

Read the original post ↗