agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
GoogleAGENTS.md

skills / references

google/skills/skills/cloud/developing-genkit-go/references/agents.md

Experimental / preview API. Agents live in the genkit/exp and ai/exp packages and are gated behind an opt-in. Initialize Genkit with genkit.WithExperimental() or the constructors panic. Import paths and signatures may change in any minor release. An agent is a persistent, multi-turn conversation primitive built on top of prompts + tools. Compared to a bare genkit.Generate loop, an agent adds: Read the file for the level you need: Agents span a few packages. These aliases are used throughout the agent…

1 project uses a version of this

21k2mo agoReviewMountCreate a free account to mount
GoogleAGENTS.md

skills / references

google/skills/skills/cloud/developing-genkit-js/references/agents.md

Beta / preview API. Agents are not yet stable. Server APIs come from genkit/beta; the browser client comes from genkit/beta/client. Import paths and signatures may change. Always use genkit/beta, not genkit, for agents. Requires genkit >= 1.39.0. An agent is a persistent, multi-turn conversation primitive built on top of prompts + tools. Compared to a bare ai.generate/ai.definePrompt loop, an agent adds: Progressive disclosure — read the file for the level you need: ai.defineAgent combines prompt + tool config + (optional)…

1 project uses a version of this

21k2mo agoReviewMountCreate a free account to mount
GoogleAGENTS.md

skills / references

google/skills/skills/cloud/developing-genkit-python/references/agents.md

Preview API under genkit.agent. Turn a model + tools into a durable conversation — history, typed state, approvals, branches, and background work. Deeper topics: sessions · HITL · branching · background · state · artifacts · custom · HTTP Options worth knowing: use (middleware), state_schema, max_turns (tool loop depth per user message), transforms. Dotprompt agents: ai.define_prompt_agent. Full control: define_custom_agent. Tool parameters should be a small Pydantic model — even for one field. Empty inputs need an empty subclass, not bare…

21k2mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-community

JetBrains/intellij-community/AGENTS.md

Critical: These guidelines MUST be followed at all times. Write every user-visible artifact in ASD-STE100 Simplified Technical English, and keep it short. This covers a comment, KDoc, a commit message,…

No other project uses it yet

21k58d agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-community / java

JetBrains/intellij-community/java/AGENTS.md

Rules for this directory and every directory below it. They override the root AGENTS.md. More intellij.java.* modules live outside this tree, under ../plugins/ and ../platform/. This file does not reach…

No other project uses it yet

21k58d agoReviewMountCreate a free account to mount
GoogleAGENTS.md

filament

google/filament/AGENTS.md

This document defines machine-readable instructions and technical guardrails for AI coding assistants, agents, and LLMs working on the Filament repository. All AI-generated code, refactorings, and cleanups must strictly adhere to the standardized skills located under the skills/ directory. AI agents must consult and strictly follow the corresponding skill files for each respective development and validation phase:

No other project uses it yet

21k3y agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai

pydantic/pydantic-ai/AGENTS.md

Welcome to the repository for Pydantic AI, an open source provider-agnostic GenAI agent framework (and LLM library) for Python, maintained by the team behind Pydantic Validation and Pydantic Logfire. Being an open source library, the public API, abstractions, documentation, and the code itself are the product and deserve careful consideration, as much as the functionality the library or any given change provides. This means that when implementing a feature or other change, the "how" is as important as the "what",…

No other project uses it yet

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai

pydantic/pydantic-ai/docs/AGENTS.md

Follow the general documentation guidance. These rules cover published Markdown under docs/. The docs index and repository README tell the same story on two surfaces. Keep their shared wording and code examples synchronized while preserving the markup each renderer needs:

No other project uses it yet

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / harness

pydantic/pydantic-ai/docs/harness/AGENTS.md

Rules for the Pydantic AI Harness pages. They add to docs/AGENTS.md. Where these rules or docs-conventions.md differ from docs/AGENTS.md, such as the version-promise blockquote, they apply under docs/harness/. Read docs-conventions.md before you add, rename, or edit a page. - Each capability page has a twin: the README.md in the capability's package under src/pydantic_ai_harness/pydantic_ai_harness/. Update both for every user-facing change. - Keep this directory flat. Do not add capabilities/ or experimental/ subdirectories. - Follow "Writing style" in src/pydantic_ai_harness/AGENTS.md. - Run the…

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / realtime

pydantic/pydantic-ai/docs/realtime/AGENTS.md

All of docs/AGENTS.md applies. Realtime-specific rules, distilled from maintainer review; the source-tree counterpart is pydantic_ai/realtime/AGENTS.md. Each page owns its concept; a rule is stated once on its owning page and linked from everywhere else: overview.md (front door, provider matrix, limitations table — every limitation row links a tracking issue), audio.md (media I/O: audio, images, transcripts), events.md (event vocabulary and its overlap with standard run events; the turn-boundary rule lives here), turns.md, tools.md (tools only), capabilities.md (per-hook support story), history.md, deployment.md…

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / pydantic_ai

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/AGENTS.md

For non-trivial changes to this package, also read Pydantic AI Slim Architecture.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / capabilities

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/capabilities/AGENTS.md

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

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / durable_exec

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/durable_exec/AGENTS.md

Durable execution integrations are first-class compatibility targets. Build new integrations on the public pydantic_ai.durable_exec surface. Subclass BaseDurabilityCapability for the agent-facing capability and provide a DurableOperationBackend from get_durable_operation_backend. Do not copy the model, toolset, event, or capability-operation collection machinery into the integration. Choose the backend tier from the engine SDK's execution model: - Subclass CallableOperationBackend when the SDK accepts an async callback at invocation time. Implement execute to run that callback in one named durable unit. The base owns parameter and…

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / models

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/models/AGENTS.md

No summary in the file. Open it to read it.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / native_tools

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/native_tools/AGENTS.md

No summary in the file. Open it to read it.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / profiles

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/profiles/AGENTS.md

Profiles describe model-family capability facts and schema/request quirks.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / providers

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/providers/AGENTS.md

Providers own API clients, authentication, base URLs, HTTP lifecycle, and provider-level model/profile inference.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / toolsets

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/toolsets/AGENTS.md

Toolsets are reusable tool collections with lifecycle, instructions, and execution boundaries.

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / ui

pydantic/pydantic-ai/pydantic_ai_slim/pydantic_ai/ui/AGENTS.md

Since 3971 we decided to introduce the policy of sticking to the lower (existing) version requirement. In short, this means: - version requirement bumps are disallowed - new functionality should be gated behind version checks (including imports) - older versions don't error out when they encounter new functionality, but instead skip it The inbound half of that last rule lives in ag_ui/_forward_compat.py: AG-UI's Message and InputContent are discriminated unions, so a role or type added after the installed version is…

20k2mo agoReviewMountCreate a free account to mount
PydanticAGENTS.md

pydantic-ai / pydantic_ai_harness

pydantic/pydantic-ai/src/pydantic_ai_harness/AGENTS.md

Rules for the pydantic-ai-harness package in src/pydantic_ai_harness/. They add to the root AGENTS.md. Test rules are in tests/harness/AGENTS.md. Docs page rules are in docs/harness/AGENTS.md. Paths in this file are relative to the repository root. 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,…

20k2mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.