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
MicrosoftAGENTS.md

mcp-for-beginners / zh-TW

microsoft/mcp-for-beginners/translations/zh-TW/AGENTS.md

初學者 MCP 是一個開源的教學課程,用於學習模型上下文協議 (Model Context Protocol, MCP)——一個 AI 模型與客戶端應用程式之間交互的標準化框架。本儲存庫提供涵蓋多種程式語言的實作程式碼範例的完整學習材料。 這是一個以文件為主的儲存庫,大多數設定工作發生在各個範例專案與實驗室中。 範例專案位置為: - 03-GettingStarted/samples/ - 特定語言範例 - 03-GettingStarted/01-first-server/solution/ - 第一個伺服器實作 - 03-GettingStarted/02-client/solution/ - 客戶端實作 - 11-MCPServerHandsOnLabs/ - 全面性資料庫整合實驗室 每個範例專案都有自己的設定說明: - [x] <strong>新貢獻者清晰度</strong>:此文件定義儲存庫目的、 結構、貢獻規則及範例設定路徑。 - [x] 精確標記的建置/測試/程式碼風格檢查指令: - 儲存庫文件風格檢查: npx --yes markdownlint-cli2 "**/*.md" "#node_modules" "#translations" "#translated_images" - 儲存庫文件連結模式稽核: find . -name "*.md" -not -path "*/node_modules/*" -not -path "./translations/*" -not -path "./translated_images/*" -print0 | xargs -0 grep -En "\[.*\]\(.*\)" - TypeScript 範例驗證: cd 03-GettingStarted/samples/typescript && npm ci && npm test && npm run…

17k3mo agoReviewMountCreate a free account to mount
LangChainAGENTS.md

openwiki

langchain-ai/openwiki/AGENTS.md

This repository has a generated openwiki/ evidence index. It is optional just-in-time context, not required startup reading. The scheduled OpenWiki GitHub Actions workflow refreshes the repository wiki. Do not hand-edit generated OpenWiki pages unless explicitly asked; prefer updating source code/docs and letting OpenWiki regenerate.

No other project uses it yet

17k2mo agoReviewMountCreate a free account to mount
AppleAGENTS.md

foundationdb

apple/foundationdb/AGENTS.md

Key cmake options: - -DCMAKE_BUILD_TYPE=Debug (default Release) - -DUSE_WERROR=ON for development - -DOPEN_FOR_IDE=ON to generate IDE project without building macOS: add -DBUILD_SWIFT_BINDING=OFF if Swift issues arise. Linux with Clang: CC=clang CXX=clang++ cmake -DUSE_LD=LLD -DUSE_LIBCXX=1 -G Ninja .. Unit tests use TEST_CASE("/path/to/test") macros (defined in flow/include/flow/UnitTest.h). Prefer the narrowest dedicated unit-test target instead of fdbserver -r unittests; these targets compile and run faster. Use fdbclient_test for client tests or the relevant fdbserver_<library>_test target defined via add_fdbserver_unit_test (for example, fdbserver_core_test, fdbserver_kvstore_test, or…

No other project uses it yet

17k6mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

vercel

vercel/vercel/AGENTS.md

Guidelines for AI agents working on the Vercel monorepo. This is a pnpm monorepo containing 44+ packages for the Vercel CLI and runtimes: Run tests for a specific package: Always create a changeset for all PRs. A changeset is a markdown file in .changeset/ with YAML frontmatter listing affected packages and their bump type (patch/minor/major). Example changeset for a package change: Example changeset for non-package changes: Run before committing: When adding tests: Each package follows this structure: Workspace dependencies use…

No other project uses it yet

16k10mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

vercel / cli

vercel/vercel/packages/cli/AGENTS.md

Always-loaded guidance for work inside packages/cli. Keep this file small. The CLI UX design system lives in packages/cli/.agents/skills/cli-ux/ and should be loaded only when the task or code review touches user-facing CLI behavior. Common shared areas:

16k10mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

vercel / python

vercel/vercel/python/AGENTS.md

- Dependencies: PEP 440 compatible release clauses (rich ~= 14.0), avoid pinning patch releases (rich ~= 14.0.0). - Only add code that is actually used. No speculative APIs or exports. - _internal/ is private — no backwards compatibility needed when refactoring. - uv: uv sync, uv run <cmd>, uv add <pkg> - ruff: uv run ruff check . (lint), uv run ruff format . (format) - pytest: uv run pytest, uv run pytest tests/test_foo.py, uv run pytest -k test_name. Tests…

No other project uses it yet

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

transformers.js

huggingface/transformers.js/.ai/AGENTS.md

This file governs AI-assisted contributions to the huggingface/transformers.js repository. Agentic users must read and follow it before proposing changes. - transformers-js — how to use the library itself. Load this skill when working on code that calls @huggingface/transformers. Before opening a pull request: - Check for existing work. Search open PRs and issues (gh pr list, gh issue list) for the area you're touching. Don't duplicate someone else's in-progress work. - Coordinate on the issue first. If an issue exists,…

No other project uses it yet

16k3mo agoReviewMountCreate a free account to mount
CloudflareAGENTS.md

cloudflared

cloudflare/cloudflared/AGENTS.md

Cloudflare's command-line tool and networking daemon written in Go. Production-grade tunneling and network connectivity services used by millions of developers and organizations worldwide. Notes on linting: - .golangci.yaml is configured with new-from-rev and whole-files: true. Touching a file triggers linting of the ENTIRE file, not just the changed hunks. Expect to fix pre-existing issues in files you modify, or add targeted // nolint: <linter> comments with a short justification. - Prefer defer func() { _ = resource.Close() }() over defer…

No other project uses it yet

16k3mo agoReviewMountCreate a free account to mount
HashiCorpAGENTS.md

packer

hashicorp/packer/AGENTS.md

Packer is HashiCorp's open-source (BUSL-1.1) CLI for building automated machine images. It is a Go program that orchestrates pluggable builders, provisioners, post-processors, and data sources through the hashicorp/packer-plugin-sdk, driven by…

No other project uses it yet

16k5mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

logstash

elastic/logstash/AGENTS.md

Logstash is a server-side data processing pipeline that ingests data from multiple sources, transforms it, and sends it to various destinations. It's part of the Elastic Stack and is a…

No other project uses it yet

15k8mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

logstash / qa

elastic/logstash/qa/AGENTS.md

Guidance for coding agents working with the QA test infrastructure. See also the root AGENTS.md for general project conventions. The qa/ directory contains three independent test suites: Each suite has…

No other project uses it yet

15k8mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

logstash / x-pack

elastic/logstash/x-pack/AGENTS.md

Guidance for coding agents working with X-Pack (Elastic-licensed) features. See also the root AGENTS.md for general project conventions. X-Pack provides commercial features that extend the Logstash core. Most features integrate…

No other project uses it yet

15k8mo agoReviewMountCreate a free account to mount
NVIDIAReads credentialsAGENTS.md

OpenShell

NVIDIA/OpenShell/AGENTS.md

This file is the primary instruction surface for agents contributing to OpenShell. It is injected into your context on every interaction — keep that in mind when proposing changes to it. See CONTRIBUTING.md for build instructions, task reference, project structure, and the full agent skills table. OpenShell is built agent-first. We design systems and use agents to implement them — this is not vibe coding. The product provides safe, sandboxed runtimes for autonomous AI agents, and the project itself is…

No other project uses it yet

15k2mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

RD-Agent / claude

microsoft/RD-Agent/rdagent/scenarios/rl/autorl_bench/agents/claude/AGENTS.md

You MUST maintain a file called summary.md in the workspace root. Update it after every training attempt and every submission, not just at the end.

No other project uses it yet

15k9mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM / agent-flow

NVIDIA/TensorRT-LLM/agent-flow/AGENTS.md

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

No other project uses it yet

15k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM

NVIDIA/TensorRT-LLM/AGENTS.md

TensorRT-LLM: open-source library for optimized LLM inference on NVIDIA GPUs. Python and C++ codebase with a PyTorch execution path. If a CLAUDE.local.md file exists alongside this file, read and respect…

No other project uses it yet

15k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM

NVIDIA/TensorRT-LLM/.codex/AGENTS.md

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

No other project uses it yet

15k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM / kv_cache_manager_v2

NVIDIA/TensorRT-LLM/cpp/tensorrt_llm/batch_manager/kv_cache_manager_v2/AGENTS.md

This directory contains the C++ implementation of KVCacheManagerV2: allocation, prefix reuse, eviction, GPU/host/disk movement, page locking, and KV-cache event generation. Python accesses it through the nanobind bindings in cpp/tensorrt_llm/nanobind/batch_manager/kvCacheManagerV2.cpp. This…

15k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM / kv_cache_manager_v2

NVIDIA/TensorRT-LLM/tensorrt_llm/runtime/kv_cache_manager_v2/AGENTS.md

This file provides guidance to coding agents when working with code in this directory. The Python surface of KVCacheManagerV2, the KV cache management subsystem for TensorRT-LLM. It manages GPU/host/disk memory…

15k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

TensorRT-LLM / tests

NVIDIA/TensorRT-LLM/tests/AGENTS.md

Scope: this directory and everything under it. Supplements the repo-root AGENTS.md. This is a reminder for whoever adds a test, not a hard gate. Not every test runs in CI…

15k4mo 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.