Skip to content

How Pydantic AI’s scores are calculated

The full audit trail, recomputed from the verdict data at build time through the same code that produced the leaderboard: verdict × quality × story weight per cell, cells sum to dimension scores, dimensions blend into the PA Score. Every number on the product page is reproducible from this page alone; for why the formula looks like this, see the methodology.

verdict factors: full ×1.0 · partial ×0.6 · disputed ×0.3 · none ×0.0 · n/a excluded from both sides · cell points = weight × quality × factor · cell max = weight × 10

PA Score36/100

Agent-ready 62.2 × 0.30 = 18.66

API quality 12.9 × 0.20 = 2.58

Openness 37.5 × 0.20 = 7.50

Built-in AI 44.0 × 0.15 = 6.60

Automation 6.0 × 0.15 = 0.90

(18.66 + 2.58 + 7.50 + 6.60 + 0.90) ÷ (0.30 + 0.20 + 0.20 + 0.15 + 0.15) = 36.24 ÷ 1.00 = 36.2

Scores are stored to 1 decimal; the product page’s pills round to whole numbers for display. Each dimension below shows the stories, verdicts, and cited evidence behind its number.

Agent-ready62.2/100×0.30 of the PA blend

Outside-in: can YOUR agent reach and drive this product — API, MCP, CLI, headless runs, agent docs.

Point an agent at llms.txt or agent-oriented docsweight 2

2 (weight) × 8 (quality) × 1.0 (full) = 16.0 of 20 max

  • [probe] https://pydantic.dev/llms.txtPROBE llms.txt: HTTP 200 at https://pydantic.dev/llms.txt ## Querying This Documentation **warning**: agent query parameters (`goal` and `organization`) not included. Include t
  • [probe] https://pydantic.dev/docs/ai/overview.mdPROBE docs-md: HTTP 200 at https://pydantic.dev/docs/ai/overview.md > ## Documentation Index > Fetch the complete documentation index at: https://pydantic.dev/llms.txt > Use this file to d
  • [claimed-docs] https://pydantic.dev/pydantic-ai/llms.txtBuild typed agents, long-running coding and research agents, and realtime voice applications with model-agnostic tools and OpenTelemetry tracing.

Run the product headlessly / in CI for automationweight 2

2 (weight) × 8 (quality) × 1.0 (full) = 16.0 of 20 max

  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue, or as a plain object you call run() on.
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts
  • [claimed-docs] https://pydantic.dev/docs/ai/models/overview/Pydantic AI also comes with TestModel and FunctionModel for testing and development.
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/logfire/A trace is generated for the agent run, and spans are emitted for each model request and tool call.
  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals follows a code-first philosophy where all evaluation components are defined in Python.

Plug MCP servers into this product so it can use their toolsweight 3

3 (weight) × 8 (quality) × 1.0 (full) = 24.0 of 30 max

  • [claimed-docs] https://pydantic.dev/docs/ai/mcp/client/Pydantic AI can act as an MCP client, connecting to MCP servers to use their tools as part of an agent run.

Connect an agent via an official MCP serverweight 3

n/a — not applicable to this product: excluded from numerator and denominator

  • [claimed-docs] https://pydantic.dev/docs/ai/mcp/client/Pydantic AI can act as an MCP client, connecting to MCP servers to use their tools as part of an agent run.

Use an official CLIweight 2

2 (weight) × 8 (quality) × 1.0 (full) = 16.0 of 20 max

  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/you can directly launch CLI mode from an `Agent` instance using `Agent.to_cli_sync()`
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, clai (pronounced “clay”). You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/you can directly launch CLI mode from an Agent instance using Agent.to_cli_sync().
  • [probe] https://pydantic.dev/openapi.jsonPROBE openapi: HTTP 200 at https://pydantic.dev/openapi.json — contains "openapi" key

Drive the product through a documented public APIweight 3

3 (weight) × 8 (quality) × 1.0 (full) = 24.0 of 30 max

  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/agent/an agent which required dependencies of type `Foobar` and produced outputs of type `list[str]` would have type `Agent[Foobar, list[str]]`
  • [claimed-docs] https://pydantic.dev/docs/ai/tools-toolsets/tools/Function tools provide a mechanism for models to perform actions and retrieve extra information to help them generate a response.
  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/output/Here's an example using a Pydantic model as the `output_type`, forcing the model to respond with data matching our specification
  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/message-history/Pydantic AI provides access to messages exchanged during an agent run. These messages can be used both to continue a coherent conversation, and to understand how an agent performed.
  • [claimed-docs] https://pydantic.dev/docs/ai/mcp/client/Pydantic AI can act as an MCP client, connecting to MCP servers to use their tools as part of an agent run.
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [probe] https://pydantic.dev/llms.txtPROBE llms.txt: HTTP 200 at https://pydantic.dev/llms.txt ## Querying This Documentation **warning**: agent query parameters (`goal` and `organization`) not included. Include t
  • [probe] https://pydantic.dev/docs/ai/overview.mdPROBE docs-md: HTTP 200 at https://pydantic.dev/docs/ai/overview.md > ## Documentation Index > Fetch the complete documentation index at: https://pydantic.dev/llms.txt > Use this file to d
  • [probe] https://pydantic.dev/docs/ai/integrations/cli/official CLI documented at https://pydantic.dev/docs/ai/integrations/cli/
  • [community] https://news.ycombinator.com/item?id=45055439Pydantic-AI is lovely - I've been working on a coding agent CLI for a year plus now. IMO it does make constructing any given agent very easy, though the lower level APIs are a little painful to use but they seem to be aware of that.
  • [community] https://hn.algolia.com/api/v1/items/45243320I did look at instructor and probably for structured output pydantic-ai and instructor are about the same, but pydantic-ai supports a ton of other stuff that isn't part of instructor's feature set. For me killer apps were the ability to serialize/deserialize conversations as json; frictionless tool-calling; and ability to mock the LLM client for testing.

Issue scoped/least-privilege API credentials for an agentweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Build against official SDKsweight 2

2 (weight) × 8 (quality) × 1.0 (full) = 16.0 of 20 max

  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/agent/an agent which required dependencies of type `Foobar` and produced outputs of type `list[str]` would have type `Agent[Foobar, list[str]]`
  • [claimed-docs] https://pydantic.dev/docs/ai/models/overview/Pydantic AI is model-agnostic and has built-in support for multiple model providers
  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/agent/In typing terms, agents are generic in their dependency and output types...your IDE can tell you when you have the right type
  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/agent/Agents are Pydantic AI’s primary interface for interacting with LLMs.
  • [community] https://news.ycombinator.com/item?id=45055439Pydantic-AI is lovely - I've been working on a coding agent CLI for a year plus now. IMO it does make constructing any given agent very easy, though the lower level APIs are a little painful to use but they seem to be aware of that.
  • [community] https://news.ycombinator.com/item?id=45055439We have a pretty complex agent running on Pydantic AI. The team is very responsive to bugs / feature requests. If I had to do it over again, I'd pick Pydantic AI again.
  • [community] https://news.ycombinator.com/item?id=45243320I've been very happy with pydantic-ai, it blows the rest of the python ai ecosystem out of the water
  • [community] https://hn.algolia.com/api/v1/items/45243320I did look at instructor and probably for structured output pydantic-ai and instructor are about the same, but pydantic-ai supports a ton of other stuff that isn't part of instructor's feature set. For me killer apps were the ability to serialize/deserialize conversations as json; frictionless tool-calling; and ability to mock the LLM client for testing.

Subscribe to events via webhooksweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Agent-ready = 112.0 ÷ 180 × 100 = 62.2

API quality12.9/100×0.20 of the PA blend

The programmable surface once an agent is there — machine-readable spec, interactive docs, sandbox, versioning discipline.

Explore an interactive API reference with runnable examplesweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Download a machine-readable API spec (OpenAPI or equivalent)weight 2

2 (weight) × 5 (quality) × 0.6 (partial) = 6.0 of 20 max

  • [probe] https://pydantic.dev/docs/ai/overview.mdPROBE docs-md: HTTP 200 at https://pydantic.dev/docs/ai/overview.md > ## Documentation Index > Fetch the complete documentation index at: https://pydantic.dev/llms.txt > Use this file to d

Test against a sandbox environment without touching production dataweight 1

1 (weight) × 5 (quality) × 0.6 (partial) = 3.0 of 10 max

  • [claimed-docs] https://pydantic.dev/docs/ai/models/overview/Pydantic AI also comes with TestModel and FunctionModel for testing and development.
  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals follows a code-first philosophy where all evaluation components are defined in Python.
  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals is a powerful evaluation framework for systematically testing and evaluating AI systems, from simple LLM calls to complex multi-agent applications.
  • [community] https://hn.algolia.com/api/v1/items/45243320I did look at instructor and probably for structured output pydantic-ai and instructor are about the same, but pydantic-ai supports a ton of other stuff that isn't part of instructor's feature set. For me killer apps were the ability to serialize/deserialize conversations as json; frictionless tool-calling; and ability to mock the LLM client for testing.

Rely on versioned APIs with a documented deprecation policyweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

API quality = 9.0 ÷ 70 × 100 = 12.9

Openness37.5/100×0.20 of the PA blend

Can you leave, inspect, or self-host — data export, open source, portability.

Do everything through the API that I can do in the UIweight 2

n/a — not applicable to this product: excluded from numerator and denominator

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Export all of my data in open formats and leaveweight 3

3 (weight) × 5 (quality) × 0.6 (partial) = 9.0 of 30 max

  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/message-history/Pydantic AI provides access to messages exchanged during an agent run. These messages can be used both to continue a coherent conversation, and to understand how an agent performed.
  • [community] https://hn.algolia.com/api/v1/items/45243320I did look at instructor and probably for structured output pydantic-ai and instructor are about the same, but pydantic-ai supports a ton of other stuff that isn't part of instructor's feature set. For me killer apps were the ability to serialize/deserialize conversations as json; frictionless tool-calling; and ability to mock the LLM client for testing.

Read the product's source under an open licenseweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Self-host the core productweight 3

3 (weight) × 7 (quality) × 1.0 (full) = 21.0 of 30 max

  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue
  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue, or as a plain object you call run() on.
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts, and handle long-running, asynchronous, and human-in-the-loop workflows with production-grade reliability.
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/You can use it to chat with various LLMs and quickly get answers, right from the command line, or spin up a uvicorn server to chat with your Pydantic AI agents from your browser.
  • [community] https://news.ycombinator.com/item?id=45055439We have a pretty complex agent running on Pydantic AI. The team is very responsive to bugs / feature requests. If I had to do it over again, I'd pick Pydantic AI again.

Openness = 30.0 ÷ 80 × 100 = 37.5

Built-in AI44.0/100×0.15 of the PA blend

Inside-out: how agentic the product itself is for its users — built-in assistants, autonomous features.

Get AI-generated insights and suggestions from my data inside the productweight 2

n/a — not applicable to this product: excluded from numerator and denominator

no evidence cited — the verdict rests on absence of evidence, re-checked on refresh

Set up automations that run autonomously in the backgroundweight 2

2 (weight) × 5 (quality) × 0.6 (partial) = 6.0 of 20 max

  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts
  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue, or as a plain object you call run() on.
  • [community] https://news.ycombinator.com/item?id=46544231We've been building agents with pydantic-ai in production. The framework is great for defining agents, but we kept rewriting the same infrastructure to actually show them to users... pydantic-ai gives you Agent.iter() and streaming primitives, but wiring this up - structured events, reconnection, history across turns - is a lot of glue.

Delegate tasks to a built-in AI assistant inside the productweight 3

3 (weight) × 6 (quality) × 0.6 (partial) = 10.8 of 30 max

  • [claimed-docs] https://pydantic.dev/docs/ai/overviewA complete coding agent in your terminal: workspace-rooted file access, allowlisted shell, repo orientation, planning, and context management that survives long sessions.
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/you can directly launch CLI mode from an `Agent` instance using `Agent.to_cli_sync()`
  • [claimed-docs] https://pydantic.dev/docs/ai/overviewA complete coding agent in your terminal: workspace-rooted file access, allowlisted shell, repo orientation, planning, and context management that survives long sessions
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, clai...You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, clai (pronounced “clay”). You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/you can directly launch CLI mode from an Agent instance using Agent.to_cli_sync().
  • [probe] https://pydantic.dev/openapi.jsonPROBE openapi: HTTP 200 at https://pydantic.dev/openapi.json — contains "openapi" key

Operate the product with natural-language commandsweight 2

2 (weight) × 7 (quality) × 1.0 (full) = 14.0 of 20 max

  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/Pydantic AI comes with a CLI, `clai` ... You can use it to chat with various LLMs and quickly get answers, right from the command line
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/you can directly launch CLI mode from an `Agent` instance using `Agent.to_cli_sync()`
  • [claimed-docs] https://pydantic.dev/docs/ai/overviewA complete coding agent in your terminal: workspace-rooted file access, allowlisted shell, repo orientation, planning, and context management that survives long sessions.
  • [claimed-docs] https://pydantic.dev/docs/ai/integrations/cli/You can use it to chat with various LLMs and quickly get answers, right from the command line, or spin up a uvicorn server to chat with your Pydantic AI agents from your browser.
  • [claimed-docs] https://pydantic.dev/docs/ai/overviewA complete coding agent in your terminal: workspace-rooted file access, allowlisted shell, repo orientation, planning, and context management that survives long sessions

Built-in AI = 30.8 ÷ 70 × 100 = 44.0

Automation6.0/100×0.15 of the PA blend

Depth of automation primitives — rules, scheduling, bulk operations, webhooks.

Perform bulk operations across many items at onceweight 2

2 (weight) × 4 (quality) × 0.6 (partial) = 4.8 of 20 max

  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals follows a code-first philosophy where all evaluation components are defined in Python.
  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals is a powerful evaluation framework for systematically testing and evaluating AI systems, from simple LLM calls to complex multi-agent applications.
  • [claimed-docs] https://pydantic.dev/logfire/evalsEvaluate agents and LLM apps against datasets built from production traces, run the suite from your code, and compare a candidate with a baseline case by case.
  • [claimed-docs] https://pydantic.dev/docs/ai/core-concepts/agent/an agent which required dependencies of type `Foobar` and produced outputs of type `list[str]` would have type `Agent[Foobar, list[str]]`

Define rules that trigger actions automatically on eventsweight 3

3 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 30 max

  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts
  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue, or as a plain object you call run() on.
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts, and handle long-running, asynchronous, and human-in-the-loop workflows with production-grade reliability.
  • [claimed-docs] https://pydantic.dev/docs/ai/tools-toolsets/deferred-tools/Pydantic AI provides the concept of deferred tools... tools that require approval... tools that are executed externally

Schedule recurring jobs or workflowsweight 2

2 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 20 max

  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts
  • [claimed-docs] https://ai.pydantic.devThe same agent runs everywhere you need it: behind a web frontend, in the terminal, on a voice call, on a durable background queue, or as a plain object you call run() on.
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts, and handle long-running, asynchronous, and human-in-the-loop workflows with production-grade reliability.

Version, review, and roll back my automationsweight 1

1 (weight) × 0 (quality) × 0.0 (none) = 0.0 of 10 max

  • [claimed-docs] https://pydantic.dev/logfire/evalsEvaluate agents and LLM apps against datasets built from production traces, run the suite from your code, and compare a candidate with a baseline case by case.
  • [claimed-docs] https://pydantic.dev/docs/ai/evals/evals/Pydantic Evals follows a code-first philosophy where all evaluation components are defined in Python.
  • [claimed-docs] https://pydantic.dev/docs/ai/capabilities/durable_execution/overview/Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts

Automation = 4.8 ÷ 80 × 100 = 6.0