Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

astroid

Abstract syntax tree library for Python with semantic inference for code analysis.

Languages, types and runtimes PyPI LGPL-2.1-or-later

Used in agent projects
3
0.2% of 1,622 Python repos built with AI coding agents; 72 counting our dependency samples
Gid Score
50 /100
#1525 of 3,794 tools, #28 in languages, types and runtimes · ranking
Rank in languages, types and runtimes
#37 of 60
by use in those projects
Downloads
9.5M
PyPI, last 7 days, astroid
GitHub stars
585
376 forks · last push Oct 20, 2026

How astroid is used

astroid is a dependency in 3 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 72 projects, and what it is used with below comes from all of them. The most used alternative in our scan is parso (7 projects). Projects that use it most often also use isort (97.2%), McCabe (95.8%), Click (94.4%).

astroid popularity over time

Top tools by Gid Score

astroid: downloads per weekPyPI, astroid 9,387,275
astroid: GitHub starspylint-dev/astroid 585

Gid Score 50: downloads 85, use in agent projects 46, GitHub stars 3, downloads trend 54 (each 0-100). How it is calculated.

Often used with astroid

isort97.2% of astroid projects · 172.4× more than average
McCabe95.8% of astroid projects · 743.7× more than average
Click94.4% of astroid projects · 37.8× more than average
MarkupSafe93.1% of astroid projects · 125.6× more than average
packaging93.1% of astroid projects · 63.5× more than average
Jinja290.3% of astroid projects · 41.5× more than average
attrs88.9% of astroid projects · 128.3× more than average
NumPy88.9% of astroid projects · 15.2× more than average

From all 72 projects in our scan that use astroid, including the dependency samples.

How astroid is funded

Most funded tools

Ways to fund astroid

Tidelift

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagepip install astroid
Main stacksPython (72)
Example projectsrsanshierli/EasyBert, wandb/llm-leaderboard, AbhilashPal/MuseNet, fw-ai-external/aiml, Flex-lang/transpiler

Alternatives to astroid

All languages, types and runtimes

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside astroid are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
parso pypi
Python parser library for syntax analysis and AST generation.
60 7 (0.4%) 24.8M 679 MIT

More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths

Is astroid right for your project? Ask AgentGid →