{
 "kind": "tool",
 "slug": "xgboost",
 "path": "tools/xgboost/",
 "name": "XGBoost",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "Gradient boosting library for fast, accurate machine learning on structured data.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install xgboost"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/dmlc/xgboost"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/dmlc/xgboost"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Sep 15, 2026. ",
   "src": "https://github.com/dmlc/xgboost"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "20 projects",
   "status": "info",
   "sub": "#25 of 293 in its category",
   "note": "Dependency in 20 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "1 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What XGBoost does",
   "parts": [
    {
     "t": "prose",
     "text": "Gradient boosting library for fast, accurate machine learning on structured data."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "XGBoost popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #497 overall"
      },
      {
       "n": "7.5M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "29K",
       "l": "GitHub stars"
      },
      {
       "n": "20",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How XGBoost is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "XGBoost is a dependency in 20 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.2% of the 1,623 Python ones), #25 of 293 in ml and data science.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 149; those are left out of every share on this page.",
      "The most used alternative in our scan is scikit-learn (135 projects).",
      "Projects that use it most often also use scikit-learn (100.0%), pandas (90.0%), NumPy (85.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "15 projects, 0.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "8 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 90.0% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 85.0% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 65.0% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 65.0% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 65.0% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 55.0% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      },
      {
       "l": "In 55.0% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about XGBoost",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Open Collective: https://opencollective.com/xgboost",
        "Own page: https://xgboost.ai/sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "xgboost-analysis: Use when building XGBoost models on tabular data and returning feature importance ranking outputs. Supports binary classification and regres"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "NumPy",
         "path": "tools/numpy/"
        },
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "SciPy",
         "path": "tools/scipy/"
        },
        {
         "text": "PyTorch",
         "path": "tools/torch/"
        },
        {
         "text": "Sentence Transformers",
         "path": "tools/sentence-transformers/"
        },
        {
         "text": "Hugging Face Transformers",
         "path": "tools/transformers/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        },
        {
         "text": "NetworkX",
         "path": "tools/networkx/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "XGBoost",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 68",
        "7.5M/wk"
       ]
      },
      {
       "name": "scikit-learn",
       "why": "Python machine learning library with classification, regression and clustering algorithms.",
       "path": "tools/scikit-learn/",
       "facts": [
        "BSD-3-Clause",
        "Gid 86",
        "54.3M/wk"
       ]
      }
     ],
     "more": "Compare XGBoost with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install xgboost"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for XGBoost yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi xgboost"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "67.8"
  ],
  [
   "Rank in category",
   "#25 of 293"
  ],
  [
   "GitHub",
   "dmlc/xgboost"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/dmlc.png"
}