# Pydantic Settings — card for AI agents

Settings management and configuration from environment variables using Pydantic.

Category: Dev workflow and config · PyPI package `pydantic-settings` · latest version 2.16.2 (checked 2026-11-01)
Install: `pip install pydantic-settings`
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: 70.7 (#354 of all tools, 29 of 299 in its category)
- Used in 219 public projects set up for AI coding agents (3.5%)
- Downloads last week: 123,412,910 (as of 2026-11-24), +16.9% over 4 weeks
- GitHub stars: 1,504 (as of 2026-11-24)
- Last push: 2026-11-20

## Often used with
Pydantic 84.5%, Uvicorn 71.2%, FastAPI 67.6%, python-dotenv 57.1%, python-multipart 41.6%, httpx 41.1%

## Checked alternatives (same job)
- python-dotenv: https://agentgid.com/tools/python-dotenv/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pydantic-settings/
- Homepage: https://github.com/pydantic/pydantic-settings
- Repository: https://github.com/pydantic/pydantic-settings

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