AGENTS.md@pydantic-clai2A
AGENTS.md@pydantic-clai2 from pydantic/pydantic-ai-harness is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add pydantic/pydantic-ai-harness/pydantic-clai2/AGENTS.md@git:20260924.984d098Pins git:20260924.984d098 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
pydantic-clai2/AGENTS.md- Versions recorded
- 20
- Latest version
- git:20260924.984d098, committed Sep 24, 2026
- First version recorded
- Sep 17, 2026
- Size
- 19,496 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
# CLAI 2 guide for AI code assistants Read this before touching `pydantic-clai2/`. The repository-level `AGENTS.md` still applies (no em-dashes, no `Any`, pyright strict, keyword-only arguments, 100% branch coverage). This file adds what is specific to the terminal shell. ## What CLAI is A thin terminal around any Pydantic AI agent. It reads a prompt, runs the agent, streams the answer, and repeats. Everything beyond that is a plugin, including the default coding tools. The three layers, and who owns what: | Layer | Owns | Never does | |---|---|---| | Pydantic AI core | the agent loop, hooks, events, toolsets | know CLAI exists | | `pydantic_ai_harness` | reusable capabilities (`Coder`, `Shell`, ...) | print to a terminal | | `pydantic_clai2` | the prompt loop, rendering, `/commands`, plugin loading | reimplement a core hook | If a change needs the agent loop to behave differently, propose it in core. If it is a reusable behavior with no terminal in it, it belongs in harness. Only the shell itself lives here. ## The plugin model A plugin is a module with `activate(host: PluginHost)`, or a bare capability class. `@host.on(name)` registers a handler for a lifecycle moment; …
Read the whole file at its exact version.
How to install
mdr add pydantic/pydantic-ai-harness/pydantic-clai2/AGENTS.md@sha256:2e1d4683731fe785The line at the top of this page pins the label git:20260924.984d098, 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.
[](https://markdownregistry.com/a/art_v37eqir2vp5chvwp)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 20 versions of this file, between Sep 17, 2026 and Sep 24, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.984d098 latest | 2026-09-24 | 984d098 | 19,496 B | A | view · diff |
| git:20260924.0d3e9a0 | 2026-09-24 | 0d3e9a0 | 19,391 B | A | view · diff |
| git:20260924.4a6824a | 2026-09-24 | 4a6824a | 19,100 B | A | view · diff |
| git:20260921.6d022ae | 2026-09-21 | 6d022ae | 18,628 B | A | view · diff |
| git:20260921.3b0110c | 2026-09-21 | 3b0110c | 18,094 B | A | view · diff |
| git:20260921.7b0eed7 | 2026-09-21 | 7b0eed7 | 17,767 B | A | view · diff |
| git:20260920.1dbd72e | 2026-09-20 | 1dbd72e | 17,653 B | A | view · diff |
| git:20260920.81949bf | 2026-09-20 | 81949bf | 17,333 B | A | view · diff |
| git:20260920.23fa92b | 2026-09-20 | 23fa92b | 15,941 B | A | view · diff |
| git:20260919.6f4f50e | 2026-09-19 | 6f4f50e | 14,352 B | A | view · diff |
| git:20260919.047b769 | 2026-09-19 | 047b769 | 13,963 B | A | view · diff |
| git:20260919.f2d328a | 2026-09-19 | f2d328a | 13,956 B | A | view · diff |
| git:20260918.f4e527b | 2026-09-18 | f4e527b | 13,726 B | A | view · diff |
| git:20260918.f6f02e6 | 2026-09-18 | f6f02e6 | 13,416 B | A | view · diff |
| git:20260918.80eca9b | 2026-09-18 | 80eca9b | 13,199 B | A | view · diff |
| git:20260918.9b3ef02 | 2026-09-18 | 9b3ef02 | 12,487 B | A | view · diff |
| git:20260917.53e6ee8 | 2026-09-17 | 53e6ee8 | 12,386 B | A | view · diff |
| git:20260917.77ac59b | 2026-09-17 | 77ac59b | 11,973 B | A | view · diff |
| git:20260917.7fb89ff | 2026-09-17 | 7fb89ff | 11,799 B | A | view · diff |
| git:20260917.94b1e0e | 2026-09-17 | 94b1e0e | 11,105 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (19496 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
pydantic/pydantic-ai-harness · 960 stars · license MIT · pushed 2026-10-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_v37eqir2vp5chvwp GET https://markdownregistry.com/api/v1/resolve?ref=pydantic/pydantic-ai-harness/pydantic-clai2/AGENTS.md GET https://markdownregistry.com/api/v1/blob/2e1d4683731fe7853b55494884c0d24d9e432b417a6be64814c5729ce6342908
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.