Agents · Frameworks

Pydantic AI

Type-safe agent framework from the Pydantic team — FastAPI vibes for LLM apps.

Stars★ 21k
Forks2939
LanguagePython
LicenseMIT
Last push17/10/2026
Download ↓View repo ↗

Features

  • Structured outputs validated by Pydantic models
  • Dependency injection like FastAPI
  • Graph API for multi-agent state machines
  • OpenTelemetry tracing, Logfire integration
  • Any model provider

Install

Usage

Best for

Structured-data agentsFastAPI-style teamsTyped production pipelines

More frameworks

LangGraph

Graph-based agent runtime — stateful, controllable orchestration for serious agent apps.

Open →

CrewAI

Role-playing multi-agent crews — define agents with goals, let crews collaborate.

Open →