Skip to main content
🎉 Pyrefly v1.0 is now available!
Pyrefly LogoPyrefly Logo

A fast type checker and language server for Python with powerful IDE features

$ pip install pyrefly && pyrefly init
  • Scale with Confidence

    Type check over 1.85 million lines of code per second.ⓘTested using Meta infrastructure (166 cores, 228 GB RAM)

    →

    Developer Delight

    Get lightning fast autocomplete, and catch errors with instant feedback in your favorite editor.

    →

    Verify AI-written Python

    Catch type bugs in code your AI agent writes

    read the blog →

    Support at your Fingertips

    Have questions or feedback to share? Connect with us!

    Join our Discord →
  • Performance Comparison

    Type checking the PyTorch codebase from scratch.ⓘTested using Macbook
    (10 cores: 8 performance + 2 efficiency cores, 32 GB RAM)
    PyreflyⓘCommand: "pyrefly check"
    Pyrefly uses as many threads as possible
    0.0s
    PyrightⓘCommand: "pyright --threads=8"
    8 threads yielded the best performance after testing multiple settings
    0.0s
    MyPyⓘCommand: "dmypy run"
    0.0s

    See Pyrefly in Action