AI NewsDev toolsAnnouncement

Astral released Ty 1.0, a Rust Python type checker

Astral released Ty 1.0. It is a Python type checker in Rust. Astral says ty was fastest on 16 of 18 projects it tested.

AI News

Editorial2 min read

LinkedInX
GitHub social card for the astral-sh/ty repository.

Image: Astral

Why it mattersA Python team that gave up on type checking because it was slow can try again. Editor diagnostics now keep up with typing.

A Python team drops its type checker when the CI step grows too long. The error list then falls behind what people are editing. On 1 December 2026, Astral released Ty 1.0. Ty is a Python type checker and language server written in Rust. Astral recommends it for production as of this release.

Ty comes from Astral, the company behind uv and ruff. Astral wrote the whole checker from scratch. The 1.0 release follows an alpha period that started in July.

What Astral says it does

Astral says ty checks types from the command line. It also powers a language server for editor diagnostics. The tool has built-in support for Pydantic, Django, pytest and attrs.

Astral names several features in the post. Ty infers TypedDict keys. It has a generics solver that handles intersection types. It infers return types from control flow. The check --fix flag applies some diagnostics automatically.

Astral installs ty through uv with uv tool install ty@latest. There is also a VS Code extension in the marketplace.

The speed numbers

All figures below are from Astral's own announcement.

Astral says ty was fastest on 16 of the 18 ecosystem projects it tested from the command line. The geometric mean was 1.46 times faster than Pyrefly. It was 3.56 times faster than Zuban.

For editor diagnostics, Astral says ty was fastest on 14 of 17 projects. It was 7.73 times faster than Pyrefly. It was 3.22 times faster than Zuban. Astral's comparison does not include mypy on these charts.

OpenAI is an early user. Astral quotes an OpenAI engineer naming a median 24 times speedup after the move to ty. OpenAI also saw a 73 percent cut in peak memory use. This is OpenAI's own figure, from one codebase.

The traction

The Hacker News thread on the release had 270 points at the time of writing. Astral's chart shows ty PyPI downloads reaching 49.6 million in October 2026. That is up from near zero in October 2025.

Astral also says ty is now the default type checker at OpenAI, and the most widely deployed one there. The post names FastAPI and tox as other users.

A team weighing the switch should run ty on its own repository first. Public benchmarks do not predict how a type checker behaves on a codebase's own Django models or private generics. 1.0 is the first release Astral asks teams to run in CI.

What comes next

Astral names a short roadmap in the post. Future work covers type-aware linting, dead-code elimination, unused dependency analysis and type-aware test selection. The post does not give a date for any of these.

Source

SourceAstral

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project