Compare frameworks
Mastra vs Pydantic AI
Every figure below carries the source that reported it and the moment it was observed. Values that failed validation are withheld rather than shown, and a dash means no source we track carries that field for that framework.
| Field | Mastra | Pydantic AI |
|---|---|---|
| Stars | 28,295 (highest of the compared values)Synced from sourceCurrentjust now | 20,133Synced from sourceCurrentjust now |
| downloads | 1,161,907Synced from sourceCurrentjust now | 3,076,771 (highest of the compared values)Synced from sourceStale1mo ago· past SLA |
| Last commit | 2026-09-24Synced from sourceCurrentjust now | 2026-09-24Synced from sourceCurrentjust now |
| Language | typescriptSeeded, unreviewedwritten 1mo ago | pythonSeeded, unreviewedwritten 1mo ago |
| Licence | — | MITSynced from sourceCurrentjust now |
| Archived | noSynced from sourceCurrentjust now | noSynced from sourceCurrentjust now |
| Category | orchestrationSeeded, unreviewedwritten 1mo ago | structured-outputSeeded, unreviewedwritten 1mo ago |
| Contributors | 678Synced from sourceCurrentjust now | 589Synced from sourceCurrentjust now |
| Forks | 2845Synced from sourceCurrentjust now | 2768Synced from sourceCurrentjust now |
| Maintainer | MastraSeeded, unreviewedwritten 1mo ago | PydanticSeeded, unreviewedwritten 1mo ago |
| npm downloads, monthly | 5528725Synced from sourceCurrentjust now | — |
| npm downloads, weekly | 1161907Synced from sourceCurrentjust now | — |
| npm package | @mastra/coreSynced from sourceCurrentjust now | — |
| npm window ends | 2026-09-21Synced from sourceCurrentjust now | — |
| Open issues | 447Synced from sourceCurrentjust now | 965Synced from sourceCurrentjust now |
| PyPI downloads, monthly | — | 13478631Synced from sourceStale1mo ago· past SLA |
| PyPI downloads, weekly | — | 3076771Synced from sourceStale1mo ago· past SLA |
| PyPI package | — | pydantic-aiSynced from sourceCurrentjust now |
| PyPI released | — | 2026-09-24T03:23:01.147978ZSynced from sourceCurrentjust now |
| Requires Python | — | >=3.10Synced from sourceCurrentjust now |
| PyPI version | — | 2.49.0Synced from sourceCurrentjust now |
| Repository | https://github.com/mastra-ai/mastraSynced from sourceCurrentjust now | https://github.com/pydantic/pydantic-aiSynced from sourceCurrentjust now |
Sources: GitHub REST API, npm registry downloads, PyPI registry metadata, pypistats.org downloads. Most recent observation just now. Where a row is marked, ▲ is the highest of the values shown and ▼ the lowest — arithmetic on the figures above, not a ranking or a recommendation. Rows where neither extreme is meaningful are left unmarked rather than given a direction they do not have.
Change the comparison
Remove one, or open the directory to pick a different set. Up to 3 at a time.