---
slug: "pydantic-ai"
name: "Pydantic AI"
effect: "Runs a typed Python agent loop with validated tools and outputs, and models swapped by a string"
category: "agent-framework"
tier: "standard"
url: "https://pydantic.dev/docs/ai/overview/"
github: "pydantic/pydantic-ai"
pricing: "open-source"
license: "MIT"
tags: ["python", "type-safe", "structured-output", "durable-execution", "model-agnostic", "opentelemetry"]
platforms: []
install_kind: "pip"
date_added: "2026-10-14"
rank: null
rising_score: 45
stars: 20622
star_velocity: 24.4
velocity_basis: "since creation"
created_at: "2024-06-21T15:55:04Z"
pushed_at: "2026-10-15T04:26:28Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T05:02:47.912Z"
page: "https://agenttooldrop.com/tools/pydantic-ai"
---

# Pydantic AI

Runs a typed Python agent loop with validated tools and outputs, and models swapped by a string

Category: Agent frameworks. Tier: standard (a well-known tool, listed for reference, not ranked). Pricing: Open source. License: MIT.

## Why you would want it

Pydantic AI gives you an agent whose tools and outputs are typed: tool arguments are validated before your code runs, and a run is guaranteed to return the output type you declared. The same agent can run behind a web frontend, in the terminal, on a voice call, or under durable execution with Temporal, DBOS or Prefect. Pydantic AI Harness adds capabilities such as memory, guardrails, sub-agents, planning and context management, and its instrumentation is plain OpenTelemetry.

## Best for

- Typed data extraction
- Python teams already using Pydantic
- Durable background agents on Temporal or DBOS

## Use it when

You want type checking and validation across tools and outputs, plus the option to switch model providers without rewriting the agent.

## Skip it if

You are not working in Python.

## Install

Install with uv:

```sh
uv add pydantic-ai
```

Source: https://github.com/pydantic/pydantic-ai#readme

## Live signals

Fetched 2026-10-15T05:02:47.912Z (status: ok).

- Repository: pydantic/pydantic-ai
- Repository created: 2024-06-21
- Stars: 20,622 (GitHub's count; it cannot be authenticated)
- Stars per day, since repo creation: 24.4 (an average over the repo's life, not a growth rate)
- Forks: 2,917
- Open issues and PRs: 1,400
- License (GitHub): MIT
- Last push: 2026-10-15
- Latest release: v2.56.0 (2026-10-13)

## Links

- Website: https://pydantic.dev/docs/ai/overview/
- GitHub: https://github.com/pydantic/pydantic-ai
- Install instructions verified at: https://github.com/pydantic/pydantic-ai#readme
- Source for this entry: https://github.com/pydantic/pydantic-ai#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/pydantic-ai
- Full catalog (JSON): https://agenttooldrop.com/tools.json
