Claude Agent SDK (Python) vs Pydantic AI: leaders split

Claude Agent SDK (Python), OpenAI Agents SDK (Python) and Pydantic AI compared: Claude SDK leads with 10.1M downloads in 7 days, OpenAI SDK leads in stars.

Claude Agent SDK (Python), OpenAI Agents SDK (Python) and Pydantic AI all belong to the Agent Frameworks category. Compared on PyPI downloads and GitHub stars, the leader differs by metric. As of November 22, 2026, Claude Agent SDK (Python) had the most downloads over the last 7 days. As of November 23, 2026, OpenAI Agents SDK (Python) had the most stars. Claude Agent SDK (Python), the download leader, has the fewest stars.

PyPI download volume and recent trend

Comparison: Downloads, last 7 daysPyPI downloads for AI and developer toolsSource: pypistats.org · as of 2026-11-22
Claude Agent SDK (Python): 10.1MClaude Agent SDK (Python)10.1MOpenAI Agents SDK (Python): 4.9MOpenAI Agents SDK (Python)4.9MPydantic AI: 1.7MPydantic AI1.7M
Claude Agent SDK (Python): 10.1MClaude Agent SDK (Python)10.1MOpenAI Agents SDK (Python): 4.9MOpenAI Agents SDK (Python)4.9MPydantic AI: 1.7MPydantic AI1.7M
Claude Agent SDK (Python): 10.1MClaude Agent SDK (Python)10.1MOpenAI Agents SDK (Python): 4.9MOpenAI Agents SDK (Python)4.9MPydantic AI: 1.7MPydantic AI1.7M
View as table
Comparison: Downloads, last 7 days
RankItemValue
1Claude Agent SDK (Python)10.1M
2OpenAI Agents SDK (Python)4.9M
3Pydantic AI1.7M

Claude Agent SDK (Python) recorded 10.1M downloads in the last 7 days. That is 5.3M more than the 4.9M downloads of OpenAI Agents SDK (Python), or about 2.1 times as many downloads. Pydantic AI had 1.7M downloads. Claude Agent SDK (Python) had about 6 times as many downloads as Pydantic AI. Among the 59 tracked packages, they rank No. 20, No. 23 and No. 35 overall, in that order. Within the Agent Frameworks category they rank No. 4, No. 5 and No. 6.

Recent momentum differs slightly from the size order. Pydantic AI posted the highest growth rate from 7 days earlier, at +13.5%. Over the same span, Claude Agent SDK (Python) changed by +8.3% and OpenAI Agents SDK (Python) by +6.7%. Claude Agent SDK (Python) added the most downloads in absolute terms, +771.9K downloads. Against 30 days earlier, Claude Agent SDK (Python) grew the most, at +27.7%. Pydantic AI followed at +11.7% and OpenAI Agents SDK (Python) at +7.8%. Every compared tool gained downloads in both the 7-day and 30-day comparisons.

Spikes in the trend

Trend: Downloads, last 7 daysPyPI downloads for AI and developer tools, last 174 days, weeklySource: pypistats.org · as of 2026-11-22
02M4M6M8M10M12MJul2026SepNovClaude AgentSDK (Python)OpenAI AgentsSDK (Python)Pydantic AI
02M4M6M8M10M12MJul2026AugSepOctNovClaude Agent SDK(Python)OpenAI Agents SDK(Python)Pydantic AI
02M4M6M8M10M12MJul2026AugSepOctNovClaude Agent SDK (Python) 10.1MOpenAI Agents SDK (Python) 4.9MPydantic AI 1.7M
View as table
Trend: Downloads, last 7 days
DateClaude Agent SDK (Python)OpenAI Agents SDK (Python)Pydantic AI
2026-11-2210.1M4.9M1.7M
2026-11-159.3M4.6M1.5M
2026-11-088.8M4.5M1.6M
2026-11-018.1M4.5M1.7M
2026-10-258M4.7M1.5M
2026-10-187.7M3.2M1.5M
2026-10-117.6M3M1.4M
2026-10-047.4M3M1.4M
2026-09-276.3M3M1.3M
2026-09-207.2M2.9M1.2M
2026-09-137M2.8M1.2M
2026-09-066.7M2.6M1.2M
2026-08-306.1M3.5M1.4M
2026-08-238M10.7M3.1M
2026-08-167.9M10.2M3.3M
2026-08-097.5M9.1M3.2M
2026-08-027.6M8.6M3.2M
2026-07-267.7M8.5M4M
2026-07-197.2M8.2M4.4M
2026-07-125.7M7.3M3.5M
2026-07-054.6M6.6M3M
2026-06-285.5M7.4M4M
2026-06-215M7.4M7.9M
2026-06-144.2M7.3M5.6M
2026-06-073.7M6.9M4.8M

Claude Agent SDK (Python) went from 3.7M downloads on the first day of the series to 10.1M downloads now, about 2.7 times its starting level. Its change over the whole period is +169.9%. OpenAI Agents SDK (Python) spiked to 10.7M downloads on August 23, 2026. It now sits lower, at 4.9M downloads. Its change over the whole period is -25.3%. Pydantic AI also rose to 7.9M downloads on June 21, 2026. Its change over the whole period is -81.6%. This data alone cannot explain why these spikes occurred.

According to the collection method, downloads for all tracked packages fell sharply at the same time, shortly after the OpenAI Agents SDK (Python) peak. The whole-period changes span this point, so they should not be read as shifts in popularity. The recent 7-day and 30-day comparisons only use values from after this point.

GitHub stars change the order

Comparison: StarsGitHub stars for AI and developer toolsSource: GitHub API · as of 2026-11-23
OpenAI Agents SDK (Python): 30,842OpenAI Agents SDK (Python)30,842Pydantic AI: 21,352Pydantic AI21,352Claude Agent SDK (Python): 8,632Claude Agent SDK (Python)8,632
OpenAI Agents SDK (Python): 30,842OpenAI Agents SDK (Python)30,842Pydantic AI: 21,352Pydantic AI21,352Claude Agent SDK (Python): 8,632Claude Agent SDK (Python)8,632
OpenAI Agents SDK (Python): 30,842OpenAI Agents SDK (Python)30,842Pydantic AI: 21,352Pydantic AI21,352Claude Agent SDK (Python): 8,632Claude Agent SDK (Python)8,632
View as table
Comparison: Stars
RankItemValue
1OpenAI Agents SDK (Python)30,842
2Pydantic AI21,352
3Claude Agent SDK (Python)8,632

OpenAI Agents SDK (Python) has the most stars, at 30,842 stars. Pydantic AI follows with 21,352 stars, and Claude Agent SDK (Python) with 8,632 stars. OpenAI Agents SDK (Python) has about 1.4 times as many stars as Pydantic AI and about 3.6 times as many as Claude Agent SDK (Python). Among the 132 tracked repositories, their overall ranks are No. 67, No. 83 and No. 107.

Within the Agent Frameworks category they rank No. 4, No. 8 and No. 11, in the same order. Forks follow the same order: 5,099, 3,248 and 1,455 forks. Stars reflect accumulated interest, so their order can differ from current install volume.

Data and methodology

Downloads are daily counts from pypistats.org, excluding mirrors, summed over 7-day windows. The reference date is November 22, 2026, the last fully counted day. Changes compare periods of equal length. Days on which several packages were recorded as 0 at the same time are treated as missing data. They are filled with the average of the same weekday in the weeks before and after. Values that drop or jump sharply within a single day are flagged as anomalies and are not used as a basis for commentary. Downloads are install counts that include CI and automated installs, so they are not user counts. The series covers 174 days within the range pypistats provides. During this range, downloads for all tracked packages fell sharply at the same time, so comparisons that span that point do not reflect changes in popularity.

Stars and forks come from metadata of each tool’s main repository, collected daily through the GitHub REST API. The reference date is November 23, 2026. Stars are cumulative, so they are not a measure of usage. Projects whose development has stopped can still score high, so the last push date and archive status are published alongside. Tools split across several repositories are counted separately by language, and this post uses the Python values. Ranks are positions among the items this site tracks and do not represent the whole ecosystem. Values from the two datasets were not compared with each other.

See the full rankings and daily trends on the PyPI downloads for AI and developer tools, GitHub stars for AI and developer tools pages.