<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw" -->

---
title: ty 1.0: Astral's Rust-based Python type checker and...
description: Astral's ty 1.0 is a production-ready Rust-based Python type checker and language server, recommended for all users. At OpenAI it is the default checker, and...
canonical: https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: ty 1.0: Astral's Rust-based Python type checker and language server is production-ready | daily.dev
og:description: Astral's ty 1.0 is a production-ready Rust-based Python type checker and language server, recommended for all users. At OpenAI it is the default checker, and...
og:url: https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw
og:image: https://api.daily.dev/og/posts/WiIyvLfbw.png
og:image:alt: ty 1.0: Astral's Rust-based Python type checker and language server is production-ready
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ty 1.0: Astral's Rust-based Python type checker and language server is production-ready

**[Collections](https://daily.dev/sources/collections)** · 1 min read · 0 upvotes · 0 comments

## Summary

Astral's ty 1.0 is a production-ready Rust-based Python type checker and language server, recommended for all users. At OpenAI it is the default checker, and migrating there brought a median 24x speedup and a 73% drop in peak memory. On the typing conformance suite, false positives fell from 224 to 14 and false negatives from 405 to 13 since Beta. Install it with `uv tool install ty@latest`. For existing codebases, `ty check --add-ignore` and diagnostic baselines let you adopt it without fixing every error first.

## Content

Astral has released ty 1.0, its Rust-based type checker and language server for Python. Astral now recommends it for production use, for all users.

## Speed and memory

At OpenAI, ty is the default type checker. @charliermarsh says it was deployed internally across many millions of lines of code, and migrating brought a median 24x speedup and a 73% drop in peak memory. In Astral's own benchmarks on 18 ecosystem projects, ty was the fastest checker on 16.

## Correctness

On the typing conformance suite, ty now has 14 false positives and 13 false negatives. At Beta it had 224 and 405. That is a big drop, and it's the number I'd care about most if I were deciding whether to switch.

## Getting started

Install it with:

```
uv tool install ty@latest
```

For existing codebases, two features help with migration: `ty check --add-ignore`, which adds ignore comments for current diagnostics, and diagnostic baselines, so you can adopt the checker without fixing every existing error up front.

## Questions this post answers

### How much faster is ty than other Python type checkers, and is it stable enough for production?

ty 1.0 is recommended for production use by Astral. At OpenAI, where it is the default type checker, migrating brought a median 24x speedup and a 73% drop in peak memory. In Astral's benchmarks on 18 ecosystem projects, ty was the fastest checker on 16.

_Developers weighing a Python type checker switch follow tooling releases like ty on daily.dev._

### How accurate is the ty Python type checker on the typing conformance suite?

ty 1.0 has 14 false positives and 13 false negatives on the typing conformance suite. At Beta it had 224 false positives and 405 false negatives, so both numbers dropped sharply. That correctness improvement is a key factor when deciding whether to adopt it.

_Teams deciding whether a checker is trustworthy enough to adopt keep up with Python tooling on daily.dev._

### How do I adopt ty on an existing Python codebase without fixing every type error first?

Install ty with `uv tool install ty@latest`. Two features ease migration: `ty check --add-ignore` adds ignore comments for current diagnostics, and diagnostic baselines let you adopt the checker without fixing every existing error up front.

_Anyone migrating a large Python codebase to stricter typing can follow practical tips on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 233 comments across hackernews, lobsters, x (as of 2026-12-02).

**TL;DR:** Reaction is overwhelmingly celebratory, with many already using ty praising its speed and memory savings, while a smaller group raises specific gaps around Any-reporting, unreachable-code warnings, and feature parity with rivals like pyrefly. ty 1.0: an extremely fast Python type checker and language server: Reception is largely congratulatory on the speed gains and migration ease, but a recurring thread questions ty's Django/dynamic-pattern support, plugin architecture decisions, and how it stacks up against rivals like Pyrefly, basedpyright, and zuban.

**Sentiment:** 62% positive · 26% mixed · 12% skeptical

**The case for**

- Several people report large real-world speedups after migrating from Pyright or mypy, including one citing a drop from 2m46s to 6.5s.
- Many report ty's go-to-definition and overall LSP responsiveness feels dramatically faster than pyright or mypy.
- Memory savings are seen as even more valuable than raw speed for large repos and language-server use.
- Several long-time users say reliability has steadily improved since the alpha/beta days.
- Fast enough feedback loops are framed as turning type checking into real-time editor infrastructure rather than a CI-only gate.

**The pushback**

- Lack of a rule to flag inferred/explicit `Any` is cited as a blocker preventing full replacement of mypy/basedpyright for some.
- Some switched away to Pyrefly or basedpyright after hitting false positives or incomplete Django/SQLAlchemy/meta-programming support.
- Unreachable code detection and a few other diagnostics (unused params, uninitialized instance vars) are seen as still missing.
- Baking framework-specific knowledge (e.g. Django) into the core type checker is criticized as unfair to smaller/newer frameworks and as ossifying the ecosystem.
- Some question how 'real' the speedup claims are without clear feature-parity comparisons against mypy/Pyright/pyrefly.

**By community**

- hackernews (mixed): Congratulations and performance praise mix with substantial skepticism about Django support, plugin architecture, corporate ownership, and competition from Pyrefly/basedpyright/zuban.
- lobsters (mixed): Generally positive experience using ty day-to-day but several note they still rely on mypy or have switched to competitors like Pyrefly or zuban for specific gaps.
- x (positive): A flood of congratulatory and enthusiastic replies dominates, with a vocal minority pushing back on missing Any-detection rules and unreachable-code support.

**Hottest debate:** Whether ty can fully replace stricter checkers without a dedicated rule to catch unsound `Any` inference, versus the maintainers' stance that such a rule is impractical for most codebases.

**Open questions**

- Will ty add an option to globally ban/report inferred `Any` types, and if so when?
- Will ty eventually support Django reverse relations and deeper DRF integration?
- Does the 24x speedup hold on cold-cache full checks or mainly reflect incremental/warm-cache performance?
- Will Astral add a plugin system so third-party frameworks can get first-class type support without forking or filing issues?
- Is there a recommended migration path for large monorepos already using strict Pyright/mypy configs?

**Highlights**

> @C99Chad @charliermarsh We don't yet have an option to globally ban `Any` from being inferred. We may add one eventually, but IME this kind of rule is very hard to enable on most codebases. So far we've focussed on adding options to improve soundness that users are actually able to enable on their code
> — [AlexWaygood on x · 1 points, 2 comments](https://x.com/AlexWaygood/status/2127830287442735189)

> I think they compete with pyrefly, which became 1.0 this year and gained quite a lot of positive attention. I use it (also with gram and zed) and it’s quite good. Tried ty but it flagged some false positives that pyrefly didn’t have problem with (could be better now).
> — [birch on lobsters · 1 points](https://lobste.rs/s/iwhqyc/ty_1_0_extremely_fast_python_type_checker#c_j3kean)

> @charliermarsh The 24x number is impressive, but the stronger signal is dogfooding: ty is now the default type checker across millions of LOC inside OpenAI. A benchmark can be tuned; surviving that codebase every day can't. Curious how much of the 24x holds on a cold cache vs warm.
> — [joneyubr on x](https://x.com/joneyubr/status/2127947262454325407)

> @charliermarsh is the 24x vs mypy or vs pyright? and is that a cold full check or incremental in the lsp? on multi million loc repos the editor loop is what people actually feel, rechecking after one edit is where most python checkers get slow
> — [xdezzyy on x](https://x.com/xdezzyy/status/2127823491780989284)

> @charliermarsh the thing that keeps agents out of type checking isn't speed, it's false positives. a human skips a spurious diagnostic in half a second, an agent stops and fixes it. once the reader is a model, fp rate matters more than runtime.
> — [johnroodepic on x](https://x.com/johnroodepic/status/2127828280355262756)

**Source threads**

- [x](https://x.com/charliermarsh/status/2127815087645671513) · 0 points · 122 comments
- [hackernews](https://news.ycombinator.com/item?id=50717444) · 406 points · 105 comments
- [lobsters](https://lobste.rs/s/iwhqyc/ty_1_0_extremely_fast_python_type_checker) · 46 points · 6 comments

## Similar posts on daily.dev

- [ty: An extremely fast Python type checker and language server](https://daily.dev/posts/ty-an-extremely-fast-python-type-checker-and-language-server-ddtwcgcrp) · Hacker News · 11 upvotes · 0 comments
- [Python type checker ty now in beta](https://daily.dev/posts/python-type-checker-ty-now-in-beta-pskn5yajb) · InfoWorld · 25 upvotes · 0 comments
- [How to Switch to ty from Mypy](https://daily.dev/posts/how-to-switch-to-ty-from-mypy-vyxs88cow) · Planet Python · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"ty 1.0: Astral's Rust-based Python type checker and language server is production-ready","url":"https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw"},"datePublished":"2026-12-01T17:56:24.663Z","dateModified":"2026-12-02T04:04:29.552Z","description":"Astral's ty 1.0 is a production-ready Rust-based Python type checker and language server, recommended for all users. At OpenAI it is the default checker, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d8147872592929ce79a1f35e5f7c82e5?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d8147872592929ce79a1f35e5f7c82e5?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,rust","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"ty 1.0: Astral's Rust-based Python type checker and language server is production-ready"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ty-1-0-astral-s-rust-based-python-type-checker-and-language-server-is-production-ready-wiiyvlfbw#faq","mainEntity":[{"@type":"Question","name":"How much faster is ty than other Python type checkers, and is it stable enough for production?","acceptedAnswer":{"@type":"Answer","text":"ty 1.0 is recommended for production use by Astral. At OpenAI, where it is the default type checker, migrating brought a median 24x speedup and a 73% drop in peak memory. In Astral's benchmarks on 18 ecosystem projects, ty was the fastest checker on 16. Developers weighing a Python type checker switch follow tooling releases like ty on daily.dev."}},{"@type":"Question","name":"How accurate is the ty Python type checker on the typing conformance suite?","acceptedAnswer":{"@type":"Answer","text":"ty 1.0 has 14 false positives and 13 false negatives on the typing conformance suite. At Beta it had 224 false positives and 405 false negatives, so both numbers dropped sharply. That correctness improvement is a key factor when deciding whether to adopt it. Teams deciding whether a checker is trustworthy enough to adopt keep up with Python tooling on daily.dev."}},{"@type":"Question","name":"How do I adopt ty on an existing Python codebase without fixing every type error first?","acceptedAnswer":{"@type":"Answer","text":"Install ty with `uv tool install ty@latest`. Two features ease migration: `ty check --add-ignore` adds ignore comments for current diagnostics, and diagnostic baselines let you adopt the checker without fixing every existing error up front. Anyone migrating a large Python codebase to stricter typing can follow practical tips on daily.dev."}}]}
```

