{
 "kind": "tool",
 "slug": "pydantic-settings",
 "path": "tools/pydantic-settings/",
 "name": "Pydantic Settings",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Settings management and configuration from environment variables using Pydantic.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install pydantic-settings"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pydantic/pydantic-settings"
  },
  {
   "label": "Website",
   "href": "https://github.com/pydantic/pydantic-settings"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/pydantic/pydantic-settings"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 20, 2026",
   "note": "Latest GitHub release Nov 13, 2026. ",
   "src": "https://github.com/pydantic/pydantic-settings"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "219 projects",
   "status": "info",
   "sub": "#7 of 299 in its category",
   "note": "Dependency in 219 public GitHub projects set up for AI coding agents that we scanned (3.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "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 Pydantic Settings does",
   "parts": [
    {
     "t": "prose",
     "text": "Settings management and configuration from environment variables using Pydantic."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Pydantic Settings popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "71",
       "of": "/ 100",
       "l": "Gid Score, #354 overall"
      },
      {
       "n": "123M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1,504",
       "l": "GitHub stars"
      },
      {
       "n": "219",
       "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 Pydantic Settings is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Pydantic Settings is a dependency in 219 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (13.5% of the 1,623 Python ones), #7 of 299 in dev workflow and config.",
      "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 1,439; those are left out of every share on this page.",
      "The most used alternative in our scan is python-dotenv (568 projects).",
      "Projects that use it most often also use Pydantic (84.5%), Uvicorn (71.2%), FastAPI (67.6%).",
      "It is more common in projects set up for Roo Code (6.3%) than for OpenAI Codex (2.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "117 projects, 3.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "115 projects, 3.8%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "74 projects, 3.0%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "14 projects, 4.2%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "13 projects, 2.7%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "11 projects, 2.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "10 projects, 3.6%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "7 projects, 6.3%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 84.5% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 71.2% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 67.6% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 57.1% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 41.6% of its projects",
       "v": "python-multipart",
       "path": "tools/python-multipart/"
      },
      {
       "l": "In 41.1% of its projects",
       "v": "httpx",
       "path": "tools/httpx/"
      },
      {
       "l": "In 38.4% of its projects",
       "v": "SQLAlchemy",
       "path": "tools/sqlalchemy/"
      },
      {
       "l": "In 37.0% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Pydantic Settings",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/samuelcolvin",
        "21 GitHub sponsors"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "python-dotenv vs Pydantic Settings",
         "note": "used together in 125 projects",
         "path": "tools/compare/python-dotenv-vs-pydantic-settings/"
        }
       ]
      },
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        },
        {
         "text": "chalk",
         "path": "tools/chalk/"
        },
        {
         "text": "Commander",
         "path": "tools/commander/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Pydantic Settings",
       "me": true,
       "facts": [
        "MIT",
        "Gid 71",
        "123M/wk"
       ]
      },
      {
       "name": "python-dotenv",
       "why": "Load environment variables from .env files in Python applications.",
       "path": "tools/python-dotenv/",
       "facts": [
        "BSD-3-Clause",
        "Gid 80",
        "185M/wk"
       ]
      }
     ],
     "more": "Compare Pydantic Settings with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install pydantic-settings"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Pydantic Settings yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi pydantic-settings"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "70.7"
  ],
  [
   "Rank in category",
   "#7 of 299"
  ],
  [
   "GitHub",
   "pydantic/pydantic-settings"
  ],
  [
   "Last change",
   "Nov 20, 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/pydantic.png"
}