Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Pydantic vs jsonschema

In 1,621 Python projects set up for AI coding agents, Pydantic is a dependency in 537 (33.1%) and jsonschema in 102 (6.3%): Pydantic is 5.3× as common. Among repos created in the last 90 days that use a forms, validation and schemas tool, Pydantic is in 90.9% and jsonschema in 15.2%, against 89.6% and 17.1% of older ones. 71 projects list both, often a sign of a migration or of a monorepo with several apps.

Forms, validation and schemas PyPI Updated Nov 17, 2026

Pydantic33.1%
jsonschema6.3%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

Pydanticjsonschema
Agent projects that use it537102
Rank in forms, validation and schemas#3#6
In new repos with a forms, validation and schemas tool (last 90 days)90.9%15.2%
In older repos with one89.6%17.1%
Downloads, last 7 days281M159M
GitHub stars29.5K4,996
Last push to its repoNov 17, 2026Nov 16, 2026
LicenseMITMIT
Funding——
Projects that list both71

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposPydanticjsonschema
Claude Code78234.4%8.3%
GitHub Copilot80535.0%6.1%
Cursor54837.0%6.8%
Gemini CLI8337.3%13.3%
OpenAI Codex7830.8%15.4%
OpenCode5335.8%0%
OpenClaw10429.8%6.7%
Devin Desktop6038.3%0%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Pydantic

Data validation and parsing library using Python type hints.

Most often used with it:

FastAPI55.3% of its projects
Uvicorn55.1% of its projects
python-dotenv52.5% of its projects
Requests34.8% of its projects
Pydantic Settings34.1% of its projects

pip install pydantic

jsonschema

Python implementation of JSON Schema validation for structured data.

Most often used with it:

Pydantic69.6% of its projects
PyYAML63.7% of its projects
Requests54.9% of its projects
Uvicorn54.9% of its projects
python-dotenv52.9% of its projects

pip install jsonschema

More matchups

Zod vs Ajv

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.