agentleFS

AGENTS.md examples from real projects

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

Best matches · from page 3Worked for most · soon
MicrosoftAGENTS.md

vscode / agentHost

microsoft/vscode/src/vs/platform/agentHost/AGENTS.md

# Multi-Chat Architecture > Before adding or changing protocol constructs or `_meta`, follow [AHP interoperability

196k17d agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

vscode / prompts

microsoft/vscode/src/vs/platform/agentHost/node/copilot/prompts/AGENTS.md

overridden sections) and the full config at `trace`. Keep new config shapes summarizable there. - **Tests.** `../../../test/node/agentHostPromptRegistry.test.ts` covers the registry/wiring; `../../../test/node/toolInstructions.test.ts` covers the composition/gating. Add cases there, not new harnesses

No other project uses it yet

196k17d agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

vscode / node

microsoft/vscode/src/vs/platform/agentHost/test/node/AGENTS.md

Agent host unit tests For tests in this area that touch the SessionDatabase, they MUST use an in-memory database, not a real database file on disk. Use `SessionDatabase.open(':memory

No other project uses it yet

196k17d agoReviewMountCreate a free account to mount
Significant-GravitasAGENTS.md

AutoGPT

Significant-Gravitas/AutoGPT/AGENTS.md

polish on the live app. 4. `Tech Debt & Improvements (QN YYYY)` for refactors, cleanup, tests, dev experience and infra. 5. `Feature Suggestions (QN YYYY)` for ideas and requests nobody

188k11d agoReviewMountCreate a free account to mount
Significant-GravitasReads credentialsAGENTS.md

AutoGPT / autogpt_platform

Significant-Gravitas/AutoGPT/autogpt_platform/AGENTS.md

files, and the `check-env-defaults-blank` pre-commit hook (plus the matching unit test in `single-container/tests/test_runtime_config.py`, which CI runs) asserts that the settings listed in `BLANK

Steady6 mentions in 2 weeks

No other project uses it yet

188k11d agoReviewMountCreate a free account to mount
Significant-GravitasAGENTS.md

AutoGPT / local_executor

Significant-Gravitas/AutoGPT/local_executor/AGENTS.md

apply here. - Set up: `python -m venv .venv && .venv/bin/pip install -e ".[dev]"`. - Test: `.venv/bin/python -m pytest tests/`. CI (`.github/workflows/local-executor-ci.yml`) runs the tests on Linux, macOS and Windows with Python

188k11d agoReviewMountCreate a free account to mount
fReads credentialsAGENTS.md

prompts.chat

f/prompts.chat/AGENTS.md

AUTH_AZURE_AD_ISSUER= ``` Optional features: ``` OPENAI_API_KEY= # For AI-powered semantic search ``` ## Testing Currently no automated tests. When implementing: - Place tests adjacent to source files or in `__tests

Steady12 mentions in 2 weeks

1 project uses a version of this

179k10mo agoReviewMountCreate a free account to mount
Hugging FaceAGENTS.md

transformers

huggingface/transformers/AGENTS.md

docstrings. - `make check-repo` — `make typing` plus consistency checks. - `RUN_SLOW=1 pytest ...` — many tests are marked slow and skipped in CI. Run `make style` (or `make fix-repo

169k8mo agoReviewMountCreate a free account to mount
langgeniusReads credentialsAGENTS.md

dify

langgenius/dify/AGENTS.md

contributor exemptions. ## Repository Gotchas - Run backend commands through `uv run --project api `. - Backend integration tests are CI-only and are not expected to run locally. - Prefer targeted checks (specific test

162k5d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / api

langgenius/dify/api/AGENTS.md

repository root: - Format and lint: `make lint` - Type check: `make type-check` - Unit tests: `make test` - Targeted tests: `make test TARGET_TESTS=./api/tests/ ` Run direct Python commands through

162k5d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / cli

langgenius/dify/cli/AGENTS.md

requires the Bun version pinned in `.bun-version`; command-tree generation and the `dev`, `test`, and `build` pre-scripts invoke it. Read [`ARD.md`] before adding a command or changing shared

No other project uses it yet

162k5d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / dify-agent

langgenius/dify/dify-agent/AGENTS.md

agent/`: - Lint: `make check` - Format and fix lint: `make fix` - Type check: `make typecheck` - Tests: `make test` Use the package's `uv` environment and Pydantic v2 APIs. Inspect current dependency

162k5d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / e2e

langgenius/dify/e2e/AGENTS.md

when a required fixture is missing. ## Browser, API, And Contract Boundaries The action under test belongs to the browser. APIs may prepare fixtures, poll persistence, and clean up; they

162k5d agoReviewMountCreate a free account to mount
langgeniusAGENTS.md

dify / web

langgenius/dify/web/AGENTS.md

port. Switch to the Next.js development server (`pnpm -C web dev:next`) only when testing Next.js-specific functionality or investigating behavior that differs from Next.js. - Read `docs/test.md` only for frontend

162k5d agoReviewMountCreate a free account to mount
GitHubAGENTS.md

spec-kit

github/spec-kit/AGENTS.md

operation boundary, command-module naming, private phases, nested command groups, registration ownership, and mirrored tests. ## Adding or Updating MCP Commands Before adding or changing MCP tools for Specify commands, read

Coolinginterest down 25% this month

No other project uses it yet

153k6d agoReviewMountCreate a free account to mount
LangChainReads credentialsAGENTS.md

langchain

langchain-ai/langchain/AGENTS.md

support │ │ └── ... (other integrations maintained by the LangChain team) │ ├── text-splitters/ # Document chunking utilities │ ├── standard-tests/ # Shared test suite for integrations │ └── model-profiles/ # Model configuration profiles ├── .github/ # CI/CD workflows and templates

No other project uses it yet

150k2mo agoReviewMountCreate a free account to mount
VercelReads credentialsAGENTS.md

next.js

vercel/next.js/AGENTS.md

packages ├── turbopack/ # Turbopack bundler (Rust) - git subtree ├── crates/ # Rust crates for Next.js SWC bindings ├── test/ # All test suites ├── examples/ # Example Next.js applications ├── docs/ # Documentation └── scripts/ # Build and maintenance scripts ``` ### Core

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / crates

vercel/next.js/crates/AGENTS.md

Rust conventions](../turbopack/AGENTS.md#rust-conventions) in `turbopack/AGENTS.md` also apply throughout `crates/`. For building, testing, and benchmarking, use `$rust-turbopack

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / test

vercel/next.js/test/AGENTS.md

Test instructions ## Deployment coverage Tests for behavior that affects deployed applications must live in `test/e2e/` and exercise the real deployment path. This applies to new features and regressions. Reserve `test/production

144k7mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

next.js / turbopack

vercel/next.js/turbopack/AGENTS.md

Rust conventions These apply to all Rust code in this directory tree. For building, testing, snapshot updates, and benchmarking, use `$rust-turbopack`. - Run `cargo fmt` rather than ordering imports

144k7mo 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.