# LibCST — card for AI agents

Concrete syntax tree parser for Python code enabling precise automated code transformations.

Category: Languages, types and runtimes · PyPI package `libcst` · latest version 1.9.0 (checked 2026-11-01)
Install: `pip install libcst`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 54.0 (#1456 of all tools, 26 of 66 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 8,811,761 (as of 2026-11-17), +2.4% over 4 weeks
- GitHub stars: 1,974 (as of 2026-11-17)
- Last push: 2026-08-11

## Often used with
aiohttp 95.5%, NumPy 95.5%, Pydantic 95.5%, Anthropic Python SDK 93.9%, Beautiful Soup 93.9%, OpenAI Python Library 93.9%

## Checked alternatives (same job)
- parso: https://agentgid.com/tools/parso/agent.md
- astor: https://agentgid.com/tools/astor/agent.md
- astroid: https://agentgid.com/tools/astroid/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/libcst/
- Repository: https://github.com/Instagram/LibCST

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
