Astral has released version 1.0 of ty, its extremely fast Python type checker and language server written in Rust. The company now recommends it for production use by all users.

ty is designed as an alternative to tools such as mypy, Pyright, and Pyrefly. Astral says it is now the default and most widely deployed type checker at OpenAI, where it covers many millions of lines of Python. Internally, migrating to ty produced a median 24x speedup and a 73% reduction in peak memory usage. Astral reports that in its benchmarks ty was the fastest type checker on 16 of 18 ecosystem projects, and the fastest language server on 14 of 17 editor benchmark projects. The company says the tool's incremental architecture keeps live editor updates quick, and it plans to use that design for workflows beyond the editor.
The 1.0 release adds a new generics solver and broader bidirectional inference, along with opt-in return type inference for functions without annotations. Diagnostics can now be applied automatically with ty check –fix, and new options help teams adopt the tool in existing projects, including –add-ignore for suppression comments and a baseline file that lets CI flag only new errors. Support for PEP 723 inline script metadata through uv is available in preview.
Astral also says ty has been made stricter in some areas and more permissive in others, with relaxed rules for narrowing types after isinstance checks. Stricter behavior is available through opt-in settings. Astral's immediate priority is supporting users, and it plans to explore type-aware linting, dead-code elimination, and related tools in the future.
Source: astral.sh






