AGENTS.mdA

AGENTS.md from pydantic/pydantic-ai-harness is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add pydantic/pydantic-ai-harness/AGENTS.md@git:20260918.f6f02e6

Pins git:20260918.f6f02e6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
pydantic/pydantic-ai-harness
Path
AGENTS.md
Versions recorded
6
Latest version
git:20260918.f6f02e6, committed Sep 18, 2026
First version recorded
Jul 28, 2026
Size
13,192 bytes
Repository stars
960
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Pydantic AI Harness

## Repository purpose

`pydantic-ai-harness` is the first-party capability library for Pydantic AI.

Pydantic AI core owns the primitive runtime: agent loop semantics, normalized
messages, model/provider/profile behavior, tool execution semantics, durable
execution primitives, and generic capability hooks.

Harness owns optional, batteries-included compositions built from those
primitives: coding-agent tools, guardrails, memory, context management, repo
tools, verification loops, skills, planning, sub-agents, and other reusable
agent behaviors.

When a change needs new core semantics, stop and propose the Pydantic AI core
change instead of reimplementing core behavior in harness.

## Vocabulary

- **Capability**: an `AbstractCapability` subclass that bundles tools, hooks, instructions, and model settings into a reusable unit. This is the core abstraction of pydantic-ai-harness.
- **Hook**: a lifecycle method on `AbstractCapability` that intercepts agent graph execution (e.g. `before_model_request`, `wrap_run`, `after_tool_execute`)
- **Toolset**: a collection of tools that a capability can provide to the agent
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pydantic/pydantic-ai-harness/AGENTS.md@sha256:5dddc346b2a0672d

The line at the top of this page pins the label git:20260918.f6f02e6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pr3t73iajamnfoey.svg)](https://markdownregistry.com/a/art_pr3t73iajamnfoey)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Jul 28, 2026 and Sep 18, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260918.f6f02e6 latest2026-09-18 f6f02e6 13,192 BA view · diff
git:20260909.74a3d4a2026-09-09 74a3d4a 12,105 BA view · diff
git:20260908.f6c64d42026-09-08 f6c64d4 11,738 BA view · diff
git:20260822.643f6642026-08-22 643f664 11,167 BA view · diff
git:20260804.d7e30e92026-08-04 d7e30e9 10,717 BA view · diff
git:20260728.70c4b6c2026-07-28 70c4b6c 10,265 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (13192 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pydantic/pydantic-ai-harness · 960 stars · license MIT · pushed 2026-10-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pr3t73iajamnfoey
GET https://markdownregistry.com/api/v1/resolve?ref=pydantic/pydantic-ai-harness/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/5dddc346b2a0672d65685cee6cedd1fcd51a15eff677392c5d72bfe921be7fe4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from pydantic/pydantic-ai-harness

adopt-pr SKILL.md skill
pydantic/pydantic-ai-harness · .agents/skills/adopt-pr/SKILL.md · Bootstrap branch-context on an existing PR. Writes issue-brief.md from the linked issue(s) + current PR state, and…
git:20260724.e60b555 · audit A · 960 stars
branch-context SKILL.md skill
pydantic/pydantic-ai-harness · .agents/skills/branch-context/SKILL.md · Branch-local durable PR state -- issue brief, decisions log, and session handoffs. Read the brief, decisions, and…
git:20260724.e60b555 · audit A · 960 stars
pushing-commits-to-the-repo SKILL.md skill
pydantic/pydantic-ai-harness · .agents/skills/pushing-commits-to-the-repo/SKILL.md · What to do when you open a PR and every time you push -- label the PR, watch CI to
git:20260804.d7e30e9 · audit A · 960 stars
CLAUDE.md CLAUDE.md file
pydantic/pydantic-ai-harness · CLAUDE.md
git:20260320.72a1052 · audit B · 960 stars
AGENTS.md@pydantic-clai2 AGENTS.md file
pydantic/pydantic-ai-harness · pydantic-clai2/AGENTS.md
git:20260924.984d098 · audit A · 960 stars
migrating-deep-agents-to-pydantic-ai-harness SKILL.md skill
pydantic/pydantic-ai-harness · pydantic_ai_harness/.agents/skills/migrating-deep-agents-to-pydantic-ai-harness/SKILL.md · Migrate Python LangChain Deep Agents applications to Pydantic AI and Pydantic AI Harness. Use when the source uses the…
git:20260915.ea12b7f · audit A · 960 stars
pydantic-ai-harness SKILL.md skill
pydantic/pydantic-ai-harness · pydantic_ai_harness/.agents/skills/pydantic-ai-harness/SKILL.md · Extend Pydantic AI agents with batteries-included capabilities from pydantic-ai-harness -- Code Mode (collapse many…
v0.1.0 · audit A · 960 stars

Every file in pydantic/pydantic-ai-harness

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.