Pydantic AI Harness — Summary
Pydantic AI Harness (pip: pydantic-ai-harness) is the official capability library for Pydantic AI, maintained by the Pydantic team. Its stated purpose is "batteries for your Pydantic AI agent" — standalone building blocks (capabilities, lifecycle hooks, tool bundles) that extend what a Pydantic AI Agent can do without framework changes. The first shipped capability is CodeMode: a run_code tool that sandboxes all agent tools behind a Python execution environment powered by Monty (pydantic-monty), allowing the model to write Python that calls multiple tools with loops, conditionals, and asyncio.gather — reducing N tool calls to one model round-trip. The capability matrix tracks 30+ planned capabilities (filesystem, shell, memory, session persistence, sub-agents, skills, input/output guardrails, secret masking, approval workflows, stuck loop detection, etc.) of which most are in active PRs as of v0.0.x.
Compared to seeds, Pydantic AI Harness is closest to spec-kit in being an extension pack for an existing framework, but differs: where spec-kit extends Claude Code (an AI tool), pydantic-ai-harness extends Pydantic AI (a Python agent library) — making it a pip extension pack rather than an IDE plugin.