Home/AI Agents/pydantic-ai
pydantic-ai logo

pydantic-ai

pydantic/pydantic-ai

Python AI SDK with typed, extensible agent loop

GraphCanon updated Oct 29, 2026 · GitHub synced Oct 29, 2026

20k stars2.7k forksLast push Sep 18, 2026 Python MIT

Decision brief

Unverified catalog guidance: Pydantic AI is a Python SDK for AI that offers a typed, extensible agent loop with support for various models and interfaces, including web frontend, terminal, voice call, durable background queue, and GitHub Actions.

Good fit when

  • Unverified catalog guidance: When you need a typed and extensible agent loop that can be easily integrated into different interfaces such as web frontends, terminals, voice calls, and GitHub Actions.
  • Unverified catalog guidance: If your project requires support for image generation and embeddings, as these features are included in the same package.

Avoid when

  • Unverified catalog guidance: If your project does not require a typed agent loop or if you prefer a more loosely typed framework.
  • Unverified catalog guidance: When you are working in a language other than Python, as Pydantic AI is specifically designed for Python.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Oct 4, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/pydantic/pydantic-ai
Source repository

Relationship proposals(5)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Pydantic AI is a Python SDK for AI that provides a typed, extensible agent loop with support for various models and interfaces, including web frontend, terminal, voice call, durable background queue, and GitHub Actions.

Capability facts

CLI
Unknown; CLI entrypoint not verified

Source: pyproject.toml:[project.scripts] · Sep 18, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

<h3>How Python does AI</h3>
Source link

Tags

README

<div align="center" <a href="https://pydantic.dev/docs/ai/" <picture <source media="(prefers color scheme: dark)" srcset="https://pydantic.dev/docs/ai/img/pydantic ai dark.svg" <img src="https://pydantic.dev/docs/ai/img/pydantic ai light.svg" alt="Pydantic AI" </picture </a </div...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.