PydanticAI

agent-framework🔥 Trending

AI Agent Framework, the Pydantic way

Stars

17,759

Δ stars 7d

+140

Δ stars 30d

Forks

2,216

Contributors

472

npm DL / wk

PyPI DL / wk

3,688,342

Language

Python

Last push

2026-06-14

About PydanticAI

FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of Pydantic Validation and modern Python features like type hints. Yet despite virtually every Python agent framework and LLM library using Pydantic Validation, when we began to use LLMs in Pydantic Logfire, we couldn't find anything that gave us the same feeling. We built Pydantic AI with one simple aim: to bring that FastAPI feeling to GenAI app and agent development.

Read the full README on GitHub →

Install

pip install pydantic-ai

Why PydanticAI is trending

Growth score: 21/100 week of 2026-06-08

Acceleration (40%)0
Relative velocity (30%)16
Downloads (20%)0
Activity (10%)100

Signal history

WeekScoreΔ★Signal
2026-06-0821+140🔥 Trending

PydanticAI alternatives

Projects in the same category, closest in size — picked by data, not opinion.

CAMELStable17,195
WrenAIStable15,548
OpenAI SwarmStable21,628
smolagentsStable27,863

See all agent-framework projects ranked by growth →

Frequently asked questions

Is PydanticAI still maintained?
Yes — actively maintained. The last push was on 2026-06-14, with 472 contributors.
Is PydanticAI growing?
Yes — it currently carries our trending signal, gaining 87 stars in the last 7 days. See the weekly signal history above.
What are the best PydanticAI alternatives?
Closest by category and size in our data: CAMEL, WrenAI, OpenAI Swarm — full list with live signals above.

Embed this badge

Show your project's live signal in your README — it updates weekly with the data.

[![PydanticAI on What's Trending in AI](https://whatstrendinginai.com/badges/pydantic-pydantic-ai-agent-framework.svg)](https://whatstrendinginai.com/projects/pydantic-pydantic-ai-agent-framework/)

PydanticAI badge

Tracked since 2026-06-10 · data as of 2026-06-15 · 626 open issues · 269 releases