Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

SHAP

Model-agnostic framework for explaining predictions from any machine learning model.

ML and data sciencePYPI

GitHub

1. License

License from PyPI classifier.

github.com/shap/shap

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What SHAP does

Model-agnostic framework for explaining predictions from any machine learning model.

SHAP popularity

60 / 100
Gid Score, #991 overall
2.3M
downloads a week, pypi
25.9K
GitHub stars
11
agent projects use it
SHAP: downloads per weekPyPI, shap 2,269,563
SHAP: GitHub starsshap/shap 25,894

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How SHAP is used

  • SHAP is a dependency in 11 of the 6,258 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 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 65 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use pandas (96.9%), scikit-learn (95.4%), NumPy (90.8%).

By coding agent

9 projects, 0.3%
8 projects, 0.3%

Often used with

In 96.9% of its projects
In 95.4% of its projects
In 90.8% of its projects
In 70.8% of its projects
In 69.2% of its projects
In 63.1% of its projects
In 61.5% of its projects
In 60.0% of its projects

More about SHAP

Agent Skills for it
  • shap: Explain and audit machine-learning predictions with SHAP. Use for selecting SHAP explainers and maskers, computing and validating feature at

See all

More in ML and data science

Alternatives

SHAP This page

MITGid 602.3M/wk

Compare SHAP with another tool

Get started

Install it.

pip install shap

No step-by-step start for SHAP yet: we have not written its hand-checked card.