The Python type checker ty has released its first stable version, making it easier for teams to adopt in real projects. More precise inference, fast checks, and baselines for existing errors give teams more ways to manage new errors first.

1. Refining checking behavior with the first stable release

Astral released the first stable version on December 1, 2026, recommending production use. Its policy limits patch releases to bug fixes that preserve existing features. Minor releases add features and may change checks to report new type errors.

It introduces a new type parameter resolver, a rule system for reading type information, and bidirectional inference. This uses both values and expected types from context. Inference for unannotated code is more precise, and return type inference is opt-in.

Major libraries such as Pydantic and Django are supported out of the box. Checks account for field aliases used in constructors and strict fields that do not automatically convert strings to Boolean values.

Editor additions include go to implementation, call and type hierarchies, and file and package renaming. A diagnostic can connect causes and fixes across files, and 1.0 can apply fixes automatically.

2. Fast checks in company benchmarks

The company reports the lowest average uncached check time on an M3 Max in 16 of 18 projects. The geometric mean speedup was 1.46x over Pyrefly and 3.56x over Zuban. This mean combines project speed ratios multiplicatively to summarize the overall gap.

Below is a comparison of three tools checking FastAPI on the same hardware. On this project, mypy took 1.84 seconds and Pyright took 2.22 seconds.

Table: Average FastAPI command-line check time

Conditions: M3 Max, uncached FastAPI checks. ty prerelease build 0.0.114, Pyrefly 1.5.0, Zuban 0.11.1

Unit: ms

Average FastAPI command-line check timety: Check time 59.9; Pyrefly: Check time 107; Zuban: Check time 191ty59.9Pyrefly107Zuban191
Average FastAPI command-line check time
Fast checks in company benchmarks
ToolCheck time
ty59.9
Pyrefly107
Zuban191

Although ty was fastest in this example, Pyrefly led on PyTorch and SymPy in the full test set. Rankings varied by project despite their shared strength in fast checking.

Editor tests separately measured average diagnostic refresh times for open files after edits on an M3 Max. The company reports ty led in 14 of 17 projects, at 7.73x Pyrefly's speed and 3.22x Zuban's. Recomputing around changes supports editor responsiveness.

3. Reducing and fixing type errors

The company reports fewer false alarms and missed errors in Python typing conformance tests. These correspond to false positives and false negatives, respectively. The test file pass rate also rose from 29% in the beta to 95%.

Table: Python typing conformance test results

Conditions: Python typing conformance test suite, comparing ty beta and current results with mypy

Reducing and fixing type errors
Tool / stageFalse alarms (count)Missed errors (count)Test file pass rate (%)
ty beta22440529
ty current141395
mypy19010957

The current results show fewer false alarms and missed errors than mypy in this test. They support the announcement's claim of improved checking quality as well as speed.

An integer addition example shows how automatic fixes work. When ty flags typing.cast as unnecessary, it removes the cast and keeps parentheses to preserve the order of operations.

import typing


class Span(typing.NamedTuple):
    start: int
    end: int

    def midpoint(self) -> int:
        return typing.cast(int, self.start + self.end) // 2

4. Gradual adoption with existing errors

Install with uv tool install ty@latest; a VS Code extension is also available. Start project checks with ty check. Configuration belongs in ty.toml or pyproject.toml.

Alongside automatic fixes, ty can generate comments in bulk to ignore existing diagnostics. Alternatively, set a diagnostic baseline and save the current error list in a separate file. The relevant commands are:

ty check --fix
ty check --add-ignore
ty check --update-baseline

Committing the baseline file lets automated checks detect new errors while teams gradually clear existing ones. It stores individual diagnostics rather than excluding entire files, so new errors in the same file are still caught.

Teams gain shorter waits and control over adoption scope, but must review and fix new errors from more precise inference. The company reports OpenAI's internal migration improved median check speed 24x and cut peak memory use by 73%. The median is the middle value in sorted measurements.

Conformance tests do not perfectly represent accuracy on real code, and the baseline feature for storing existing diagnostics is still in preview.

With fast checks and an adoption path that tackles new errors first, ty 1.0 has become a practical stable type-checking option for Python teams.