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

PhiCookBook / zh-MO

microsoft/PhiCookBook/translations/zh-MO/AGENTS.md

PhiCookBook 是一個全面的廚房書庫,包含針對微軟 Phi 系列小型語言模型(SLMs)進行操作的實務範例、教學和文件。該庫展示了多種使用案例,包括推理、微調、量化、RAG 實作以及跨不同平台與框架的多模態應用。 主要技術: - 語言: Python、C#/.NET、JavaScript/Node.js - 框架: ONNX Runtime、PyTorch、Transformers、MLX、OpenVINO、Semantic Kernel - 平台: Microsoft Foundry、GitHub Models、Hugging Face、Ollama - 模型類型: Phi-3、Phi-3.5、Phi-4(文本、視覺、多模態、推理變體) 倉庫結構: - /code/ - 實作程式碼範例及樣本 - /md/ - 詳細的文件、教程和操作指南 - /translations/ - 多語言翻譯(50 多種語言通過自動化工作流程) - /.devcontainer/ - 開發容器配置(Python 3.12 搭配 Ollama) 先決條件: - Python 3.12 或更新版本 - .NET 8.0 SDK(用於 C# 範例) - Node.js 18+ 及 npm(用於 JavaScript 範例) - 建議最低 16GB RAM Python 範例: 進入指定範例目錄並安裝依賴: JavaScript/Web 範例: 大多數範例以 Jupyter 筆記本形式提供: 本倉庫包含範例代碼及教程,而非傳統帶有單元測試的軟件項目。驗證通常通過以下方式完成: 常見驗證方式: - 在目標環境中測試範例執行 - 驗證依賴安裝正確…

3.9k9mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

PhiCookBook / zh-TW

microsoft/PhiCookBook/translations/zh-TW/AGENTS.md

PhiCookBook 是一個綜合性的食譜存放庫,包含針對 Microsoft Phi 系列小型語言模型(SLMs)的實作範例、教學與文件。此存放庫展示多種使用案例,涵蓋推論、微調、量化、RAG 實作,以及跨不同平台和框架的多模態應用。 主要技術: - 語言: Python、C#/.NET、JavaScript/Node.js - 框架: ONNX Runtime、PyTorch、Transformers、MLX、OpenVINO、Semantic Kernel - 平台: Microsoft Foundry、GitHub Models、Hugging Face、Ollama - 模型類型: Phi-3、Phi-3.5、Phi-4(文本、視覺、多模態、推理變種) 存放庫結構: - /code/ - 可操作的程式碼範例與示範實作 - /md/ - 詳細文件、教學與操作指南 - /translations/ - 多語言翻譯(超過50種語言透過自動化工作流程) - /.devcontainer/ - 開發容器配置(Python 3.12 與 Ollama) 前置需求: - Python 3.12 或更新版本 - .NET 8.0 SDK(用於 C# 範例) - Node.js 18+ 與 npm(用於 JavaScript 範例) - 建議記憶體至少16GB Python 範例: 進入特定範例目錄並安裝相依套件: JavaScript/網頁範例: 大部分範例均為 Jupyter 筆記本形式: 本存放庫提供的是範例程式碼與教學,而非傳統軟體專案單元測試。驗證通常透過: 常見驗證方式: - 在目標環境測試範例執行 - 確認套件正確安裝 - 驗證模型能下載/載入成功 -…

3.9k9mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

k8s-device-plugin

NVIDIA/k8s-device-plugin/AGENTS.md

Guidance for AI coding agents working in this repository. Human contributors should also read CONTRIBUTING.md. The NVIDIA device plugin for Kubernetes is a DaemonSet that advertises NVIDIA GPUs to the kubelet through the Kubernetes device plugin framework, so that the kubelet can allocate those GPUs to containers. It also tracks GPU health. As of v0.15.0 this repository additionally holds the implementation of GPU Feature Discovery (GFD), which labels nodes with GPU properties. The repository builds four binaries, each with its…

3.9k3mo agoReviewMountCreate a free account to mount
Model Context ProtocolAGENTS.md

java-sdk

modelcontextprotocol/java-sdk/AGENTS.md

Java SDK for the Model Context Protocol, enabling Java applications to implement MCP clients and servers (sync and async) over stdio, SSE, and Streamable HTTP transports. Formatting (spring-javaformat) is validated automatically as part of every build (bound to the validate phase), so a formatting violation fails ./mvnw test before any tests run. Fix violations with: Records in McpSchema are serialized directly to the MCP JSON wire format, so changing one is a wire-format change, not a routine refactor. Whether a…

3.7k5mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

WinUI-Gallery

microsoft/WinUI-Gallery/AGENTS.md

Follow the repository architecture, build, accessibility, and coding guidance in .github/copilot-instructions.md.

3.7k3mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elasticsearch-net

elastic/elasticsearch-net/AGENTS.md

The repository builds with the standard .NET SDK CLI; the SDK version is pinned in global.json. - Build the client: dotnet build src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj - Build and test the request converter: dotnet test RequestConverter.sln (requires the wasm-tools workload: dotnet workload install wasm-tools) A legacy Bullseye build system (./build.sh, .\build.bat, driven by the F# project build/scripts/scripts.fsproj) still backs a few CI workflows. It is planned to be modernized or removed; do not use it for local development. There is no separate lint…

3.6k4mo agoReviewMountCreate a free account to mount
GoogleAGENTS.md

recaptcha

google/recaptcha/AGENTS.md

This file provides authoritative context, architectural invariants, branching policies, and verification requirements for AI coding agents and maintainers working on google/recaptcha.

3.6k2mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

wterm

vercel-labs/wterm/AGENTS.md

All apps and examples with dev servers use portless to avoid hardcoded ports. Portless assigns random ports and exposes each app via .localhost URLs. Naming convention: - Docs app: docs.wterm → docs.wterm.localhost - Examples: <name>.wterm → <name>.wterm.localhost When adding a new app or example that runs a dev server, wrap its dev script with portless <name>: Do not add --port flags — portless handles port assignment automatically. Do not add portless as a project dependency; it must be installed globally.

3.5k3mo agoReviewMountCreate a free account to mount
VercelAGENTS.md

wterm / nextjs

vercel-labs/wterm/examples/nextjs/AGENTS.md

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices. This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree…

3.5k3mo agoReviewMountCreate a free account to mount
AWSAGENTS.md

agentcore-samples / codex

awslabs/agentcore-samples/01-features/02-host-your-agent/01-runtime/04-coding-agents/03-code-agents-competition-e2e/coding_agents/codex/AGENTS.md

You are a coding agent running on AWS Bedrock AgentCore. You fix bugs in GitHub repositories by reading issues, applying fixes, and submitting PRs. You have a gateway MCP server connected that provides GitHub tools. Use them directly — they are available as native tools. When given a prompt, act immediately: 1. Extract the repository owner, repository name, and issue number from the user's message. 2. Use the MCP tools to read the issue, fix the code, and submit a…

3.4k6mo agoReviewMountCreate a free account to mount
AWSAGENTS.md

agentcore-samples / open-code

awslabs/agentcore-samples/01-features/02-host-your-agent/01-runtime/04-coding-agents/03-code-agents-competition-e2e/coding_agents/open-code/AGENTS.md

You are a coding agent running on AWS Bedrock AgentCore. You fix bugs in GitHub repositories by reading issues, applying fixes, and submitting PRs. You have a gateway MCP server connected that provides GitHub tools. Use them directly — they are available as native tools. When given a prompt, act immediately: 1. Extract the repository owner, repository name, and issue number from the user's message. 2. Use the MCP tools to read the issue, fix the code, and submit a…

3.4k6mo agoReviewMountCreate a free account to mount
AWSAGENTS.md

agentcore-samples / event-driven-claims-agent

awslabs/agentcore-samples/02-use-cases/02-workflow-automation-agents/event-driven-claims-agent/AGENTS.md

For humans: This file provides context for AI coding assistants (Kiro, Cursor, Claude Code, GitHub Copilot). For the human-readable documentation, see docs/, README.md, or docs/tutorial.md. This project is an event-driven insurance claims processor built on Amazon Bedrock AgentCore. It uses a dual-agent architecture (Claims Processor + Validation Agent) with cost-based model routing (Sonnet for reasoning, Haiku for validation) and a deterministic execution phase. Deploys as a single CloudFormation stack (AgentCore-ClaimsAgent-dev) via the AgentCore CLI. Important: AgentCore resources (Runtime, Gateway, Memory,…

3.4k6mo agoReviewMountCreate a free account to mount
MicrosoftAGENTS.md

tgrep

microsoft/tgrep/AGENTS.md

A short guide for AI agents (and the humans who wire them up) that want to use tgrep as a fast search tool inside a repository. It complements the README, which documents every flag; this file covers the few things an agent has to get right. tgrep is ripgrep with a pre-built trigram index and an optional server. A search resolves in this order: 1. Server running for this tree: query it over TCP. Fastest. A file watcher keeps the…

3.4k2mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / cuda_bindings

NVIDIA/cuda-python/benchmarks/cuda_bindings/AGENTS.md

Read the README.md in this directory for more details about the benchmarks. When generating code verify that that the code is correct based on the source for cuda-bindings that can be found in ../../cuda_bindings

3.4k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / cuda_core

NVIDIA/cuda-python/benchmarks/cuda_core/AGENTS.md

Read the README.md in this directory for more details about the benchmarks. When generating code verify that that the code is correct based on the source for cuda-core that can be found in ../../cuda_core. This suite shares the pyperf runner with ../cuda_bindings/ via a sys.path insert in run_pyperf.py. The per-suite setup (runtime.py, the benchmarks/ module files) lives here. Benchmark IDs are kept identical to the cuda.bindings suite so compare.py can diff them directly.

3.4k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / cuda_bindings

NVIDIA/cuda-python/cuda_bindings/AGENTS.md

This file describes cuda_bindings, the low-level CUDA host API bindings subpackage in the cuda-python monorepo. - Role: provide low-level, close-to-CUDA interfaces under cuda.bindings.* with broad API coverage. - Style: prioritize correctness and API compatibility over convenience wrappers. High-level ergonomics belong in cuda_core, not here. - Cross-platform: preserve Linux and Windows behavior unless a change is intentionally platform-specific. - Public module layer: Cython modules under cuda/bindings/ expose user APIs (driver, runtime, nvrtc, nvjitlink, nvvm, cufile, etc.). - Internal binding layer: cuda/bindings/_bindings/…

3.4k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / cuda_core

NVIDIA/cuda-python/cuda_core/AGENTS.md

This file describes cuda_core, the high-level Pythonic CUDA subpackage in the cuda-python monorepo. - Role: provide higher-level CUDA abstractions (Device, Stream, Program, Linker, memory resources, graphs) on top of cuda.bindings. - API intent: keep interfaces Pythonic while preserving explicit CUDA behavior and error visibility. - Compatibility: changes should remain compatible with supported cuda.bindings major versions (12.x and 13.x). - Main package: cuda/core/ contains most Cython modules (*.pyx, *.pxd) implementing runtime behaviors and public objects. - Subsystems: - memory/resource stack: cuda/core/_memory/…

3.4k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / tests

NVIDIA/cuda-python/cuda_core/tests/AGENTS.md

Package-wide conventions live in ../AGENTS.md; repository-wide ones in ../../AGENTS.md. This file covers conventions specific to the tests. A memory pool created without max_size reserves virtual address space similar in size to the installed physical device memory regardless of what the test actually allocates. The reservation is charged to the process address space even though it is not backed by physical memory, and it is not returned until the pool is destroyed and the stream-ordered frees of its outstanding allocations retire.…

3.4k4mo agoReviewMountCreate a free account to mount
NVIDIAAGENTS.md

cuda-python / cuda_pathfinder

NVIDIA/cuda-python/cuda_pathfinder/AGENTS.md

This file describes cuda_pathfinder, a Python sub-package of cuda-python. It locates and loads NVIDIA dynamic libraries (CTK, third-party, and driver) across Linux and Windows. - Language: all implementation code in this package is pure Python. - Public API: keep user-facing imports stable via cuda.pathfinder. Internal modules should stay under cuda.pathfinder._*. - Behavior: loader behavior must remain deterministic and explicit. Avoid "best effort" silent fallbacks that mask why discovery/loading failed. - Cross-platform: preserve Linux and Windows behavior parity unless a change…

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