# Ruff — card for AI agents

Extremely fast Python linter and code formatter written in Rust for modern projects.

Category: Linting and formatting · PyPI package `ruff` · latest version 0.17.3 (checked 2026-11-01)
Install: `pip install ruff`
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: 80.2 (#99 of all tools, 5 of 83 in its category)
- Used in 54 public projects set up for AI coding agents (0.9%)
- Downloads last week: 108,410,112 (as of 2026-11-24), +17.5% over 4 weeks
- GitHub stars: 51,403 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
pytest 81.5%, Pydantic 70.4%, Uvicorn 59.3%, python-dotenv 53.7%, FastAPI 51.9%, Requests 50.0%

## Checked alternatives (same job)
- Black: https://agentgid.com/tools/black/agent.md
- flake8: https://agentgid.com/tools/flake8/agent.md
- Pylint: https://agentgid.com/tools/pylint/agent.md
- pycodestyle: https://agentgid.com/tools/pycodestyle/agent.md
- Pyflakes: https://agentgid.com/tools/pyflakes/agent.md
- autoflake: https://agentgid.com/tools/autoflake/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/ruff/
- Homepage: https://docs.astral.sh/ruff
- Repository: https://github.com/astral-sh/ruff

---
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.
