agentleFS
PydanticKnown publisherpydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/capabilities/AGENTS.md

pydantic-ai / capabilities

AGENTS.md20k starsChanged 2 months agoMITView on GitHub

Capabilities are the composable home for cross-cutting agent behavior.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 29 mentionsMay 2026: 2 mentionsJun 2026: 2 mentionsJul 2026: 3 mentionsAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the pydantic/pydantic-ai repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about pydantic/pydantic-ai

The biggest 5 of 64 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 64

Talked about on GitHub, Bluesky, Hacker News and the web (64 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 7

2 more on Bluesky

On Hacker News · 5

On the web · 2

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer a capability over a new Agent constructor kwarg when behavior contributes instructions, settings, tools, native tools, wrappers, …

    line 5
  2. Distinctive:

    Keep capabilities provider-agnostic unless the capability is explicitly modeling a provider-native feature.

    line 6

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

capabilities/ Guidelines

Capabilities are the composable home for cross-cutting agent behavior.

  • Prefer a capability over a new Agent constructor kwarg when behavior contributes instructions, settings, tools, native tools, wrappers, lifecycle hooks, or event/history processing.
  • Keep capabilities provider-agnostic unless the capability is explicitly modeling a provider-native feature; provider-specific facts belong in providers/profiles or provider-native tool classes.
  • Preserve composition order. If a capability wraps model/tool/output/event behavior, check how it interacts with CombinedCapability and adjacent capabilities.
  • For user-facing capabilities, update docs and examples so users discover the capability as the primary API, not an implementation detail.
  • Check durable execution, agent specs, and serialized configuration before adding non-serializable state or hidden runtime dependencies. Anything a capability reads from RunContext at tool-call time must survive the durable boundary: inside a Temporal activity an uncarried field raises, reads as None, or reads as a stated default — tool_manager reads as None, so ctx.tools empties to {} instead of raising — and state keyed by id(...) or another process-local address misses entirely, because the object it keyed lives in the workflow process. _GUARDED_FIELDS, _NONE_UNLESS_ATTACHED and _DEFAULTED_UNLESS_CARRIED in durable_exec/temporal/_run_context.py say which a field is; prove the behavior with a test in tests/durable_exec/.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.