Skip to content

I built a Python AI agent and Pylance drove me to build a type checker and LSP

6.8 relevance
Score Breakdown
technical depth
8
novelty
7
actionability
6
community
5
strategic
4
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Building a type checker and LSP for Python AI agents is highly technical, novel, and directly relevant.

AI/ML dev.to
I built a Python AI agent and Pylance drove me to build a type checker and LSP
Summary

Frustrated by Pylance's gradual typing defaults and proprietary lock-in to VS Code, a developer built Basilisk, an open-source Python language server and type checker written in Rust. Basilisk enforces strict typing by default with 151 always-on diagnostics, and bundles debugging, profiling, and refactoring into a single binary that works across VS Code, Cursor, Windsurf, Zed, and Neovim via LSP. The project aims to give Python the same type honesty as TypeScript, especially for AI coding agents that generate Python code.

Author

Christian Findlay

More from Christian Findlay →