pydantic-ai-testing

Community

Test PydanticAI agents deterministically.

Authoranderskev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It describes deterministic testing patterns for PydanticAI-based agents, including TestModel, FunctionModel, VCR cassettes, and inline snapshots.

Core Features & Use Cases

  • Deterministic Runs: Use TestModel for reproducible outputs.
  • Tool Calls & Dependencies: Force tool calls and mock dependencies.
  • Cassettes & Snapshots: Record interactions for replay and assertions.

Quick Start

Create a TestModel, run a run_sync with an agent, and assert deterministic outputs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pydantic-ai-testing
Download link: https://github.com/anderskev/beagle/archive/main.zip#pydantic-ai-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.