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
View as table
| Rank | Item | Value |
|---|---|---|
| 1 | Claude Agent SDK (Python) | 10.1M |
| 2 | OpenAI Agents SDK (Python) | 4.9M |
| 3 | Pydantic AI | 1.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
View as table
| Date | Claude Agent SDK (Python) | OpenAI Agents SDK (Python) | Pydantic AI |
|---|---|---|---|
| 2026-11-22 | 10.1M | 4.9M | 1.7M |
| 2026-11-15 | 9.3M | 4.6M | 1.5M |
| 2026-11-08 | 8.8M | 4.5M | 1.6M |
| 2026-11-01 | 8.1M | 4.5M | 1.7M |
| 2026-10-25 | 8M | 4.7M | 1.5M |
| 2026-10-18 | 7.7M | 3.2M | 1.5M |
| 2026-10-11 | 7.6M | 3M | 1.4M |
| 2026-10-04 | 7.4M | 3M | 1.4M |
| 2026-09-27 | 6.3M | 3M | 1.3M |
| 2026-09-20 | 7.2M | 2.9M | 1.2M |
| 2026-09-13 | 7M | 2.8M | 1.2M |
| 2026-09-06 | 6.7M | 2.6M | 1.2M |
| 2026-08-30 | 6.1M | 3.5M | 1.4M |
| 2026-08-23 | 8M | 10.7M | 3.1M |
| 2026-08-16 | 7.9M | 10.2M | 3.3M |
| 2026-08-09 | 7.5M | 9.1M | 3.2M |
| 2026-08-02 | 7.6M | 8.6M | 3.2M |
| 2026-07-26 | 7.7M | 8.5M | 4M |
| 2026-07-19 | 7.2M | 8.2M | 4.4M |
| 2026-07-12 | 5.7M | 7.3M | 3.5M |
| 2026-07-05 | 4.6M | 6.6M | 3M |
| 2026-06-28 | 5.5M | 7.4M | 4M |
| 2026-06-21 | 5M | 7.4M | 7.9M |
| 2026-06-14 | 4.2M | 7.3M | 5.6M |
| 2026-06-07 | 3.7M | 6.9M | 4.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
View as table
| Rank | Item | Value |
|---|---|---|
| 1 | OpenAI Agents SDK (Python) | 30,842 |
| 2 | Pydantic AI | 21,352 |
| 3 | Claude 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.