Skip to content
Agents tracked: 442 Downloads (7d): 202M down 19.3% GitHub stars: 10.4M Releases (7d): 693 Agent status: 1 with issuesSince last limit reset: Claude 28d · Codex 1d Updated Oct 21, 2026

tree-sitter-lua

Lua language grammar for the Tree-sitter parser generator.

Languages, types and runtimes PyPI MIT

Used in agent projects
1
0.1% of 1,622 Python repos built with AI coding agents; 31 counting our dependency samples
Gid Score
37 /100
#2921 of 3,794 tools, #51 in languages, types and runtimes · ranking
Rank in languages, types and runtimes
#48 of 60
by use in those projects
Downloads
482K
PyPI, last 7 days, tree-sitter-lua
GitHub stars
105
55 forks · last push Jun 19, 2026

How tree-sitter-lua is used

tree-sitter-lua is a dependency in 1 of the 6,211 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,980); counting those, it appears in 31 projects, and what it is used with below comes from all of them. The most used alternative in our scan is tree-sitter-swift (2 projects). Projects that use it most often also use tree-sitter (100.0%), tree-sitter-cpp (100.0%), tree-sitter-java (100.0%).

tree-sitter-lua popularity over time

Top tools by Gid Score

tree-sitter-lua: downloads per weekPyPI, tree-sitter-lua 465,575
tree-sitter-lua: GitHub starstree-sitter-grammars/tree-sitter-lua 105

Gid Score 37: downloads 57, use in agent projects 34, GitHub stars 0, downloads trend 55 (each 0-100). How it is calculated.

Often used with tree-sitter-lua

tree-sitter100.0% of tree-sitter-lua projects · 238.9× more than average
tree-sitter-cpp100.0% of tree-sitter-lua projects · 776.4× more than average
tree-sitter-java100.0% of tree-sitter-lua projects · 621.1× more than average
Tree-sitter JavaScript100.0% of tree-sitter-lua projects · 517.6× more than average
tree-sitter-rust100.0% of tree-sitter-lua projects · 776.4× more than average
tree-sitter-typescript (Python)100.0% of tree-sitter-lua projects · 477.8× more than average

From all 31 projects in our scan that use tree-sitter-lua, including the dependency samples.

Install

Packagepip install tree-sitter-lua
Main stacksPython (31)

Alternatives to tree-sitter-lua

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 tree-sitter-lua are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
tree-sitter-swift pypi
Swift language grammar for the Tree-sitter parser generator for code analysis.
38 2 (0.1%) 606K 225 MIT

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

Is tree-sitter-lua right for your project? Ask AgentGid →