America's Astral Ships Ty 1.0: OpenAI Already Runs Its Python on It, 24x Faster — and Mypy Faces Its First Serious Rival in Years

Text
Article image

America's Astral released ty 1.0, an extremely fast Rust-based Python type checker. It is already the default checker at America's OpenAI, where migration delivered a median 24x speedup and 73% lower peak memory. Ty's PyPI downloads grew 29x in a year to 49.6 million, and it is now used by 11.6% of the most-downloaded packages that run a type checker, third behind mypy and Pyright.

On December 2, 2026, America's Astral, the developer-tools company based in Brooklyn, New York, announced the 1.0 release of ty, an extremely fast Python type checker and language server written in Rust. Ty is designed as an alternative to mypy, Pyright from America's Microsoft and Pyrefly from America's Meta, and Astral says it is ready for production use. The headline endorsement is already in place: ty is now the default and most widely deployed type checker at America's OpenAI, where migrating to it delivered a median 24x speedup and a 73% reduction in peak memory usage. You can install it today with `uv tool install ty@latest`, or through the VS Code extension.

Astral is the company behind Ruff, the linter that replaced a shelf of Python linting tools, and uv, the package manager that made pip feel slow. Ty entered beta in 2025, and on March 19, 2026, America's OpenAI announced it would acquire Astral, with the team joining OpenAI's Codex group; the deal was subject to regulatory approval and the tools were to stay open source. The numbers since then explain the timing: ty's PyPI downloads grew 29x in a year, from 1.7 million in October 2025 to 49.6 million in October 2026, while mypy went from 55.2 million to 198.7 million and the Pyright wrapper from 14.4 million to 50.2 million. In a November audit of the 25,000 most-downloaded PyPI packages, 11.6% of repositories with a type checker used ty, putting it third behind mypy and Pyright; among repositories created in the last year, 22.6% used ty, against 26.0% for Pyright and 62.9% for mypy. The three shares add up to more than 100%, so plenty of projects run more than one checker.

The engineering case is a speed ledger. On cold checks of 18 ecosystem projects including FastAPI, pandas, PyTorch and Home Assistant, ty was fastest on 16, running 1.46x faster than Pyrefly and 3.56x faster than Zuban by geometric mean. In editor benchmarks it was fastest on 14 of 17 projects, 7.73x faster than Pyrefly and 3.22x faster than Zuban. On the Python typing conformance suite, ty now records 14 false positives and 13 false negatives, down from 224 and 405 at the beta release; mypy reports 190 false positives and 109 false negatives. The 1.0 release adds built-in support for Pydantic, Django, pytest and attrs, opt-in return-type inference, `ty check --fix` for automatic fixes, a diagnostic baseline for migrating large codebases, and PEP 723 script support through uv. What Astral's announcement does not say: every benchmark here is Astral's own, run on Astral's choice of projects, and the conformance suite is an imperfect proxy for real-world correctness. The speed is real, but it is the vendor measuring its own race.

The biggest loser is the old duopoly

The biggest loser is the old duopoly. For a decade, Python type checking meant mypy or Pyright, and both were good enough that nobody had to think about it. Ty breaks that truce on two fronts at once: it is faster by a wide margin, and it is now the house checker of the company whose coding agent, Codex, writes more Python than almost anyone. The money trail is indirect but clear: ty, Ruff and uv are free and open source, while Astral's first paid product is pyx, its hosted package registry; OpenAI's prize is Codex, which now owns the whole Python toolchain its agent runs on, from package install to lint to type check. The people who feel it first are Python developers, above all the AI and data teams whose codebases are the largest and the least patient with slow checks. A type checker that finishes before you notice it was running changes what gets checked at all.

iHolyshit review

My call: this is the first time in a decade that mypy and Pyright have a rival with both a speed story and a distribution story. Over the next 6 to 12 months, watch two numbers: whether ty's monthly PyPI downloads reach 100 million in 2027, cutting mypy's lead from roughly 4x to under 2x, and whether ty passes Pyright's 26.0% share among newly created repositories. If both happen, the Python type-checking duopoly is over and the argument shifts from which checker to whether OpenAI owning the toolchain is a problem. If ty stalls at third place, 1.0 will be remembered as a fast tool that arrived after the ecosystem had already chosen.

December 2, 2026

Share this article

What do you think of this story?

Anonymous feedback, up to 5 reactions per article.

Reader comments

Comment without signing in, or sign in to display your member name.

Discuss the technology and the story. Hate, politics and war, threats, abuse, personal accusations, sexual content, ads, links and personal information are not allowed.

0/500

No comments yet. Be the first to share.

Sources