huggingface/diffusers
GitHub🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
- deep-learning
- diffusion
- flux
- image-generation
- image2image
- image2video
- latent-diffusion-models
- pytorch
- qwen-image
- score-based-generative-modeling
- stable-diffusion
- stable-diffusion-diffusers
- text2image
- text2video
- video2video
- Stars:
- 34.9k
- Language:
- Python
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #146 of 401
- Top 36% · #31 of 56 Python repos
- Checks passed
- 8 of 17
- Full list below
- Best set up for
- Claude Code
- Score 80.0
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Type configurationAdd a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.+7.9 pts
- 2Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
- 3Reproducible dev envAdd a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.+3.6 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does huggingface/diffusers have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 4,082 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 8 passed
How huggingface/diffusers compares
- vs leaderboard average
- 5.2 pts above
- Average 66.8
- vs Python average
- 1.0 pts above
- Average 71.0
- Stars among Python repos
- #38 of 56
Missing here, and how many repos have it
- Type configuration · passed by 68% of leaderboard repos, 57% of Python repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 71% of Python repos
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 20% of Python repos
One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.
Similar repos
Same language and host as this repo, closest in overall score.
- crewAIInc/crewAI73.6Python · 60.5k ★
- Kludex/starlette72.1Python · 12.7k ★
- Python · 34.3k ★
- Python · 22.1k ★
- Python · 52.8k ★
- Python · 50.3k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- Python · deep learning, diffusion, image generation, image2image, PyTorch, stable diffusion, text2image
- Python · diffusion, qwen image
- Python · PyTorch, stable diffusion
- C++ · deep learning, PyTorch
- ray-project/ray73.6Python · deep learning, PyTorch
- Python · deep learning, PyTorch
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/huggingface/diffusers)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.