agentleFS
Sign inSign up

AGENTS.md examples from real projects

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

Most stars first · from page 6Worked for most · soon
MicrosoftAGENTS.md

microsoft-ui-xaml / TableViewSampleApp

microsoft/microsoft-ui-xaml/Samples/TableViewSampleApp/AGENTS.md

The end-user quick start is in README.md. This file records how the sample is wired and why, for anyone maintaining it. The sample used to hand-wire around the product, because TableView's type information was withheld from the public winmd and its theme resources did not resolve in a consuming app. It linked raw build output, regenerated its own CsWinRT projection, injected a XAML metadata provider, seeded an internal template part into XamlTypeInfo, compiled the control's theme resources out of the…

8.5k6d agoDiscuss
MicrosoftAGENTS.md

Mastering-GitHub-Copilot-for-Paired-Programming

microsoft/Mastering-GitHub-Copilot-for-Paired-Programming/AGENTS.md

This is Mastering GitHub Copilot for Paired Programming, an open-source educational repository maintained by Microsoft. It is a multi-module, 10-hour course that teaches developers how to use GitHub Copilot as an AI coding partner — from beginner to advanced topics including Agent Mode. The repository is documentation-centric: most content is Markdown-based lesson guides. A small number of code samples exist within specific lessons. Each lesson module follows a consistent structure: Most exercises reference external Codespaces template repos (e.g., github/dotnet-codespaces) rather…

8.1k15mo agoDiscuss
MicrosoftAGENTS.md

vscode-docs / concepts

microsoft/vscode-docs/docs/agents/concepts/agents.md

An agent is an AI system that uses a language model and tools to complete a goal on your behalf. A language model generates responses based on the information in…

6.6k8mo agoDiscuss
MicrosoftAGENTS.md

rushstack / rushd-wire-e2e-test

microsoft/rushstack/build-tests/rushd-wire-e2e-test/AGENTS.md

This package is governed by an ultra-strict lint policy for generated code. All of the rules below are enabled to error in eslint.config.js via the shared local-node-rig/profiles/default/includes/eslint/flat/mixins/strict-codegen.js mixin. They apply…

6.5k16mo agoDiscuss
MicrosoftAGENTS.md

rushstack / rush-daemon-protocol

microsoft/rushstack/libraries/rush-daemon-protocol/AGENTS.md

This package is governed by an ultra-strict lint policy for generated code. All of the rules below are enabled to error in eslint.config.js via the shared local-node-rig/profiles/default/includes/eslint/flat/mixins/strict-codegen.js mixin. They apply…

6.5k16mo agoDiscuss
MicrosoftAGENTS.md

rushstack / rush-daemon-transport

microsoft/rushstack/libraries/rush-daemon-transport/AGENTS.md

This package is governed by an ultra-strict lint policy for generated code. All of the rules below are enabled to error in eslint.config.js via the shared local-node-rig/profiles/default/includes/eslint/flat/mixins/strict-codegen.js mixin. They apply…

6.5k16mo agoDiscuss
MicrosoftAGENTS.md

rushstack / rush-terminal-renderer

microsoft/rushstack/libraries/rush-terminal-renderer/AGENTS.md

This package is governed by an ultra-strict lint policy for generated code. All of the rules below are enabled to error in eslint.config.js via the shared local-node-rig/profiles/default/includes/eslint/flat/mixins/strict-codegen.js mixin. They apply…

6.5k16mo agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-governance-claude-code

microsoft/agent-governance-toolkit/agent-governance-claude-code/AGENTS.md

The agent-governance-claude-code/ directory contains the first-party Claude Code plugin package for Agent Governance Toolkit. It wires AGT policy evaluation into Claude-native hooks, markdown commands, and a bundled MCP server.

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-governance-dotnet

microsoft/agent-governance-toolkit/agent-governance-dotnet/AGENTS.md

agent-governance-dotnet/ contains the .NET SDK for Agent Governance Toolkit: policy enforcement, execution rings, trust, SRE controls, MCP security, lifecycle management, and auditability for .NET applications.

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-governance-opencode

microsoft/agent-governance-toolkit/agent-governance-opencode/AGENTS.md

Scope: this folder publishes @microsoft/agent-governance-opencode, the AGT governance plugin for OpenCode. OpenCode loads plugins in-process as async JS/TS functions. The plugin entry point is src/index.mjs, which: - caches a single loadPolicy() state per OpenCode process - maps AGT decisions (allow / review / deny) onto OpenCode's contract: - deny → throw new Error(...) from the hook - review → annotate output.args._agtreviewreason - allow → return undefined - exposes agtpolicystatus and agtpolicychecktext as both in-process custom tools and stdio MCP server…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-mesh

microsoft/agent-governance-toolkit/agent-governance-python/agent-mesh/AGENTS.md

AgentMesh is a trust-first communication layer for AI agents — providing cryptographic identity, multi-dimensional trust scoring, scope chains, and governance enforcement for multi-agent systems. Architecture: 4-layer trust stack - All data models use Pydantic BaseModel - Identity: AgentIdentity with .sign(data: bytes) -> str (base64 Ed25519 signatures) - Trust scores: 5 dimensions — competence, integrity, availability, predictability, transparency - DID format: did:mesh:{hex} — see the proof-of-possession note under Boundaries: registry/app.py derives DIDs from the public key, while AgentDID.generate mints a random…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / sdks

microsoft/agent-governance-toolkit/agent-governance-python/agent-mesh/sdks/AGENTS.md

This directory contains cross-language AgentMesh SDKs: These SDKs should stay conceptually aligned with the trust, identity, governance, and MCP security surfaces provided elsewhere in the repo. This directory reflects the repo layout at this point in time. Some language implementations may eventually move into standalone top-level directories such as agent-governance-golang/, agent-governance-rust/, or agent-governance-python/. If that happens, treat the standalone top-level directory as the primary home for new work. This directory should then be treated as legacy/shared-layout guidance for the code…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-os

microsoft/agent-governance-toolkit/agent-governance-python/agent-os/AGENTS.md

Agent-OS is a governance-first kernel for AI agents — a Python framework providing policy enforcement, semantic intent classification, identity management, and execution control for autonomous AI agents. Architecture: 4-layer modular kernel Framework adapters route intervention points through HostSession and receive PolicyEvaluation. Raise the canonical PolicyViolationError.fromevaluationresult(result) for denied or escalated results. Hosts should surface str(error) and use error.evaluationresult.reasoncode for structured handling. Use conventional commits: feat:, fix:, docs:, test:, refactor:, chore:

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-governance-python

microsoft/agent-governance-toolkit/agent-governance-python/AGENTS.md

agent-governance-python/ is the top-level home for first-party published Python packages in Agent Governance Toolkit. Use this directory for reusable SDK/package surfaces that are meant to be consumed directly by external Python users. Applications, dashboards, demos, and larger runtime/product assemblies should stay in the repo root, examples/, or other existing homes unless maintainers explicitly decide to promote them into this package workspace. - Prefer this directory for first-party Python packages that are published independently. - Keep package names, import paths, and…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-sre

microsoft/agent-governance-toolkit/agent-governance-python/agent-sre/AGENTS.md

Agent-SRE is an SRE toolkit for AI agent reliability — providing SLO management, error budgets, chaos engineering, progressive delivery, cost guardrails, incident management, and observability for autonomous AI agents. Key engines: Use conventional commits: feat:, fix:, docs:, test:, refactor:, chore:

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / agent-governance-rust

microsoft/agent-governance-toolkit/agent-governance-rust/AGENTS.md

agent-governance-rust/ contains the Rust SDK workspace for Agent Governance Toolkit: policy enforcement, trust, audit, identity, lifecycle, execution rings, and MCP security surfaces for Rust applications.

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit

microsoft/agent-governance-toolkit/AGENTS.md

Agent Governance Toolkit is a multi-package OSS monorepo for runtime governance of AI agents: policy enforcement, zero-trust identity, execution sandboxing, SRE, compliance, examples, docs, demos, SDKs, and publishing pipelines. Use this file for repository-wide routing. When you enter a subdirectory that has its own AGENTS.md, that narrower file takes precedence. This routing reflects the repo as it exists today while reserving room for approved language SDK migrations. Language SDKs may live in standalone top-level directories at the repository root. For…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit

microsoft/agent-governance-toolkit/docs/AGENTS.md

The docs/ tree powers the published documentation site for Agent Governance Toolkit: reference material, tutorials, architecture docs, threat modeling, compliance content, package pages, and integration guides. - Be precise and honest; do not claim a feature is shipped unless the repo actually contains it. - Prefer updating an existing page over creating a near-duplicate page. - Use repo-relative links that work from the current document location. - Match existing tone: technical, direct, and evidence-based. - Keep package names, CLI commands,…

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / examples

microsoft/agent-governance-toolkit/examples/AGENTS.md

The examples/ directory is the preferred place for runnable, self-contained integrations and worked examples. For OSS contributors, examples are often the best starting point for proposing support for a new framework or ecosystem tool. Use examples/ when you want to: Prefer an example over a core package change when the external project is new, niche, or still proving community demand.

6.4k12d agoDiscuss
MicrosoftAGENTS.md

agent-governance-toolkit / demos

microsoft/agent-governance-toolkit/examples/demos/AGENTS.md

The demo/ directory contains live demonstrations of AGT capabilities, including real-service walkthroughs and visual dashboards. Demos should help users see the system working end-to-end without changing the core product contract.

6.4k12d agoDiscuss
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.