Adoption

What ty 1.0 Could Mean for Python Tooling at AI Companies

Astral's ty 1.0 arrives with a 24× speedup claim from OpenAI's own migration. Here's how to turn that into a pilot with your own measurements and exit criteria.

Two parallel paths of light, one long and winding and one short and straight, pass through a glowing ring and rejoin, over layered dark planes with a violet gl…

Astral’s ty has reached 1.0, and its maintainers recommend it for production use. The number attached to that announcement is hard to ignore: a median 24× speedup and a 73% cut in peak memory on OpenAI’s internal migration. 1 Those are OpenAI’s results, from its own internal use, under conditions the source doesn’t fully describe. They’re a reason to look at the ty Python type checker. They’re not a forecast for your repositories.

The real question for engineering leaders isn’t whether ty is fast at OpenAI. It’s whether ty improves feedback loops in your own codebase without costing more in migration and compatibility work than it saves. That calls for a controlled pilot, not a swap-in replacement for whatever checker you run today.

Why Astral ty 1.0 is an evaluation, not an automatic rollout

Astral’s 1.0 release comes with a recommendation for production use. The source also describes ty as OpenAI’s default, most widely deployed type checker, covering many millions of lines of code. 1 That’s real evidence of scale.

It isn’t evidence that your team will see the same numbers. The source reports no results from other adopters, and says nothing about how ty handles your particular mix of Python versions, frameworks, repo layout, or typing conventions. 1

Run this as a developer-productivity experiment. Measure whether ty shortens the feedback loop that actually matters to your team — time to a useful editor diagnostic, or the length of a CI check — and weigh that against the integration cost. A production recommendation from the maintainer earns ty a seat at the table. Local evidence decides whether it stays.

What the OpenAI numbers do and don’t tell you

The reported 24× speedup and 73% memory reduction come from OpenAI’s internal migration. 1 If your workloads look like theirs, you might see something similar in editor responsiveness or CI resource use. That’s a hypothesis to test, not a result you inherit.

The source doesn’t specify the benchmark workloads, repository selection, hardware, baseline checker, or measurement method behind those figures. 1 Without that detail, you can’t know how close the comparison is to your own setup. The same habit of separating a headline claim from what it proves applies well beyond tooling; see our look at what a headline coding-data claim does and doesn’t prove.

Don’t build a business case on the headline numbers alone. Get comparable measurements from your own representative repositories first. Keep editor-time checks separate from CI checks, and log cold and warm runs separately — conflating them is the easiest way to make a false comparison look convincing.

Compatibility questions to resolve before piloting ty

Before migrating anything, inventory what you’d actually be migrating: Python versions, frameworks, generated code, third-party stubs, plugins, dynamic imports, project configuration. The source offers no full compatibility matrix for ty 1.0 — those gaps are yours to map. 1

One integration is explicit: ty has built-in Django support when the django-types package is also installed. 1 That confirms the documented Django support, but says nothing about every other framework or library pattern you might be running.

For each pilot repo, keep a findings ledger. Track:

  • New diagnostics that look actionable, and ones that look wrong
  • Errors your current checker catches that ty misses
  • Unsupported patterns and the configuration exceptions they require
  • Suppressions needed to make the output usable
  • Differences in editor feedback versus CI behavior

Treat this ledger as a compatibility map, not a bug list. It’s what tells you whether a gap is a local quirk you can live with or a pattern common enough to block a wider rollout.

Sizing the migration effort

The source gives no numbers for migration effort, configuration rework, annotation cleanup, or training time. 1 That means repository size alone is a poor proxy for how much work you’re signing up for.

Pick pilot repos that span your real mix of frameworks and typing styles — not just the cleanest or newest service. Run ty alongside your current checker and classify what it finds before touching any merge gate. Start advisory-only: let developers compare diagnostics without making ty a condition of merging.

Set exit criteria before the pilot starts, not after. Decide in advance what volume of new diagnostics is tolerable, how unsupported patterns get handled, and what counts as acceptable editor and CI behavior. These are your decision rules, not reported ty outcomes — and a pilot that fails to clear them is a reason to wait, not a cue to lower the bar.

What to measure when testing Python type checking in production

OpenAI’s reported gains cover speed and memory; the source doesn’t explain how those numbers were produced. 1 Your evaluation needs to capture both raw tool performance and whether the feedback developers get is actually better.

Hold repositories, revisions, machines, and configuration constant when comparing ty against your current checker. If CI runners differ in hardware, raw timings can mislead; normalizing compute when core counts mislead is a related problem worth reading about before you compare runs across machines.

Measure What it tells you
Time to first useful editor diagnostic Does feedback arrive sooner while editing?
Full and incremental check duration Are both cold and repeated checks faster?
Peak memory and CI execution time Does resource use or CI wait time change?
Actionable findings Are diagnostics pointing to real problems?
False positives and suppressions needed Is the signal usable without excessive workarounds?

Report a spread across repositories, not just your best-case project — include the median and the range, and keep cold and warm runs separate. Machine metrics are only half the story; whether a developer actually gets useful feedback when they need it is the other half, and it has to be measured directly rather than assumed from a lower runtime number.

A rollout shape that limits the downside

Start with repositories that represent the Python estate you actually have to support — not the one service that’s easiest to show off. The source confirms large-scale use at OpenAI but says nothing about which kinds of projects migrate most easily. 1

A staged rollout:

  1. Run ty in advisory mode on representative projects.
  2. Compare diagnostics against your current checker and keep the findings ledger.
  3. Expand only once the pilot clears your agreed performance and quality thresholds.
  4. Turn on enforcement in narrowly scoped projects before touching broader CI gates.
  5. Keep a rollback path for both editor and CI integration.

None of this is a process Astral or OpenAI reported — it’s a way to collect evidence while capping the cost of getting it wrong. A production recommendation from the maintainer is reason enough to take ty seriously. It’s not a substitute for proof from your own codebase. 1

The decision framework for adopting ty

Adopt ty when local measurements show a real feedback or resource benefit, the compatibility gaps are mapped, and the team can absorb the migration and configuration work. Hold off if the pilot turns up unresolved framework issues, heavy suppression, unstable editor behavior, or no real improvement over what you already run. These are your criteria to set — not defects the source reports in ty. 1

Build the business case around developer wait time, CI capacity, and workflow quality — not around OpenAI’s headline numbers. The source reports no results from any other team, so how far those numbers generalize is still an open question. 1

Questions teams commonly ask about ty 1.0

Is ty 1.0 ready for production use? Astral recommends ty 1.0 for production use. That recommendation does not establish compatibility with every team’s Python versions, frameworks, libraries, or configuration, so a local pilot is still necessary. 1

How much faster is ty than an existing Python type checker? The source reports a median 24× speedup in OpenAI’s internal migration, but it does not specify enough benchmark methodology to treat that figure as a general result for other teams. 1

Does ty support Django? The source says ty has built-in Django support when the django-types package is also installed. It does not provide a complete compatibility picture for other frameworks or libraries. 1

Did teams outside OpenAI reproduce ty’s results? The source reports OpenAI’s internal results and does not report outcomes from other adopting teams. Organizations should measure representative local repositories before making that assumption. 1

What should a ty evaluation measure? Compare editor feedback time, full and incremental check duration, peak memory, CI execution cost, actionable findings, and suppression or false-positive rates using the same workloads and configuration. The source reports speed and memory gains but does not define its measurement procedure. 1

Sources

1 “ty 1.0,” Simon Willison’s Weblog, published 2026-12-01. https://simonwillison.net/2026/Dec/1/ty/

Questions

Is ty 1.0 ready for production use?
Astral recommends ty 1.0 for production use. That recommendation does not establish compatibility with every team's Python versions, frameworks, libraries, or configuration, so a local pilot is still necessary. [1]
How much faster is ty than an existing Python type checker?
The source reports a median 24× speedup in OpenAI's internal migration, but it does not specify enough benchmark methodology to treat that figure as a general result for other teams. [1]
Does ty support Django?
The source says ty has built-in Django support when the django-types package is also installed. It does not provide a complete compatibility picture for other frameworks or libraries. [1]
Did teams outside OpenAI reproduce ty's results?
The source reports OpenAI's internal results and does not report outcomes from other adopting teams. Organizations should measure representative local repositories before making that assumption. [1]
What should a ty evaluation measure?
Compare editor feedback time, full and incremental check duration, peak memory, CI execution cost, actionable findings, and suppression or false-positive rates using the same workloads and configuration. The source reports speed and memory gains but does not define its measurement procedure. [1]

Sources

  1. ty 1.0 · Simon Willison’s Weblog · Dec 1, 2026

How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; it was published after passing automated editorial checks, without an individual editor's approval. How the Yelno blog works · Follow Yelno on LinkedIn