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 firstWorked for most · soon
AWSAGENTS.md

aws-cdk

aws/aws-cdk/AGENTS.md

Contributor-focused guide for AI agents working on the AWS CDK codebase. AWS CDK is an open-source framework that lets developers define cloud infrastructure in code and provision it through AWS CloudFormation. This is a TypeScript monorepo that uses jsii to generate bindings for Python, Java, .NET, and Go. Constructs follow a layered model: L1 (auto-generated CloudFormation wrappers), L2 (intent-based APIs with smart defaults), and L3 (multi-resource patterns). See CONTRIBUTING.md for the full contributor guide. You are a CDK contributor. You…

13k19d agoDiscuss
AWSAGENTS.md

amazon-sagemaker-examples

aws/amazon-sagemaker-examples/AGENTS.md

Guidance for AI coding agents (Cursor, GitHub Copilot, Claude Code, Amazon Q Developer, Kiro, Codex, Gemini CLI, etc.) working in this repository. Follows the AGENTS.md convention (https://agents.md). This repository contains example notebooks for the Amazon SageMaker Python SDK v3. pip install sagemaker installs v3. SDK v3 is a modular redesign and is not backward compatible with v2. It is split into: Generate SageMaker Python SDK v3 code by default. Produce v2 code only when the user explicitly asks for "v2"…

11k26d agoDiscuss
AWSAGENTS.md

jsii

aws/jsii/AGENTS.md

AI agent contributor guide for the aws/jsii repository.

2.9k2mo agoDiscuss
AWSAGENTS.md

sagemaker-python-sdk

aws/sagemaker-python-sdk/AGENTS.md

Guidance for AI coding agents (Cursor, GitHub Copilot, Claude Code, Amazon Q Developer, Kiro, Codex, Gemini CLI, etc.) working in this repository — the source of the Amazon SageMaker Python SDK. Follows the AGENTS.md convention (https://agents.md). This file has two audiences: 1. Contributors' agents editing SDK source, tests, and docs in this repo. 2. Any agent that reads this repo as a reference for how to use the SDK — so the usage guidance (v3 by default) is stated here…

2.3k37d agoDiscuss
AWSAGENTS.md

graph-explorer

aws/graph-explorer/AGENTS.md

Correct behavior is necessary but not sufficient — structural quality is a hard requirement. Don't accept a messy implementation just because it passes tests. Read the relevant doc before working in that area:

48355d agoDiscuss
AWSAGENTS.md

agentcore-cli

aws/agentcore-cli/AGENTS.md

CLI tool for Amazon Bedrock AgentCore. Manages agent infrastructure lifecycle. Note: CDK L3 constructs are in a separate package @aws/agentcore-cdk. These options are available on all commands: - create - Create new AgentCore project - add - Add resources (agent, memory, credential, evaluator, online-eval, gateway, gateway-target, policy-engine, policy, payment-manager, payment-connector, capacity-provider) - remove - Remove resources (agent, memory, credential, evaluator, online-eval, gateway, gateway-target, policy-engine, policy, payment-manager, payment-connector, capacity-provider, all) - deploy - Deploy infrastructure to AWS - status - Check…

28334d agoReads credentialsDiscuss
AWSAGENTS.md

agentcore-cli / AgentCoreCliReviewer

aws/agentcore-cli/examples/AgentCoreCliReviewer/AGENTS.md

This project contains configuration and infrastructure for an Amazon Bedrock AgentCore application. The agentcore/ directory is a declarative model of the project. The agentcore/cdk/ subdirectory uses the @aws/agentcore-cdk L3 constructs to deploy the configuration to AWS. The project uses a flat resource model. Agents, memories, credentials, gateways, evaluators, and policies are independent top-level arrays in agentcore.json. There is no binding between resources in the schema — each resource is provisioned independently. Agents discover memories and credentials at runtime via environment…

28334d agoReads credentialsDiscuss
AWSAGENTS.md

agentcore-cli / agents

aws/agentcore-cli/src/assets/agents/AGENTS.md

This project contains configuration and infrastructure for an Amazon Bedrock AgentCore application. The agentcore/ directory is a declarative model of the project. The agentcore/cdk/ subdirectory uses the @aws/agentcore-cdk L3 constructs to deploy the configuration to AWS. The project uses a flat resource model. Agents, memories, credentials, gateways, evaluators, and policies are independent top-level arrays in agentcore.json. There is no binding between resources in the schema — each resource is provisioned independently. Agents discover memories and credentials at runtime via environment…

28334d agoReads credentialsDiscuss
AWSAGENTS.md

agentcore-cli / assets

aws/agentcore-cli/src/assets/AGENTS.md

This directory stores: The rendering logic is rooted in the AgentEnvSpec and must ALWAYS respect the configuration in the spec. For Container builds, BaseRenderer.render() automatically copies the container/<language>/ templates (Dockerfile, .dockerignore) into the agent directory when buildType === 'Container'.

28334d agoDiscuss
AWSAGENTS.md

agentcore-cli / cli

aws/agentcore-cli/src/cli/AGENTS.md

The cli module defines the terminal interface for Amazon AgentCore. Some functionalities are specifically tied to resource management, which is modeled in schemas and then implemented in CDK. Other functionalities are generic utilities like project template creation of application code and local development tooling are self-contained within the CLI. The TUI should feel streamlined, cohesive, and smooth. The important information should be highlighted and visual clutter should be avoided. Do not add descriptions which take up screen real-estate without offering…

28334d agoReads credentialsDiscuss
AWSAGENTS.md

agentcore-cli / commands

aws/agentcore-cli/src/cli/commands/AGENTS.md

This file defines context around specific commands surfaced by the CLI and related functionalities Each command directory follows a standardized structure: The command.tsx file must be boring Commander registration only: If removing a command file would remove behavior, the design is wrong. Some commands have additional files for their specific needs:

28334d agoDiscuss
AWSAGENTS.md

agentcore-cli / templates

aws/agentcore-cli/src/cli/templates/AGENTS.md

This directory contains the rendering logic for template processing. Template assets live in the assets/ directory at the repository root. The rendering logic is rooted in the AgentEnvSpec and must ALWAYS respect the configuration in the Spec. Tags defined in agentcore.json flow through to deployed CloudFormation resources. 1. createRenderer() selects a renderer based on framework/language 2. BaseRenderer.render() copies and renders the framework base template 3. If hasMemory, capability templates are layered on top 4. If buildType === 'Container', the container…

28334d agoDiscuss
AWSAGENTS.md

agentcore-cli / tui

aws/agentcore-cli/src/cli/tui/AGENTS.md

The TUI is defined using the ink npm package which converts React definitions to terminal output. The TUI layer defines a full immersive app that takes over the running shell process. To accomidate users running arbitrary commands while using the TUI, the ! input serves as an escape. At a high level, the TUI should be thought of more as a unified app than a CLI. Nevertheless, business logic, async work, and process orchestration must live outside the UI and…

28334d agoDiscuss
AWSAGENTS.md

agentcore-cli / lib

aws/agentcore-cli/src/lib/AGENTS.md

The lib module contains functionalities and utilities that are used by both the cli and the cdk modules. This module serves the important goal of making sure that the CDK implementations don't take a direct dependency on the CLI. Packaging: Producing deployment artifacts for AgentCore runtimes. Two packagers are available: - PythonPackager / NodePackager (CodeZip): Installs dependencies and produces a .zip artifact targeting ARM64 architecture. - ContainerPackager (Container): Validates the Dockerfile exists, detects a local container runtime (Docker/Podman/Finch), builds the…

28334d agoDeletes or force-pushesDiscuss
AWSAGENTS.md

agentcore-cli / schema

aws/agentcore-cli/src/schema/AGENTS.md

The schema module contains the high level schemas which serve as abstractions enabling a streamlined L3 implementation to model AgentCore resources. This module only houses schemas and zod validation logic. Schemas are modeled separately with types and interfaces for readability and clean imports. Zod validators take a dependency on the top level types and serve only validation. Schemas: The core interface for both CLI and the input props to the L3 CDK constructs. These schemas allow high-level definitions for agent…

28334d agoDiscuss
AWSAGENTS.md

agentcore-cli / llm-compacted

aws/agentcore-cli/src/schema/llm-compacted/AGENTS.md

This directory contains manually maintained TypeScript type definitions optimized for LLM consumption. When Zod schemas in schemas/ are updated, manually update the corresponding file here: Every enum (union type) and regex pattern MUST be exactly correct. On every update: Incorrect enums or regex will cause agents to generate invalid JSON that fails validation.

28334d agoDiscuss
AWSAGENTS.md

smithy-go

aws/smithy-go/AGENTS.md

smithy-go is the Go code generator and runtime for Smithy. It has two major components: 1. Codegen (codegen/) — A Smithy build plugin written in Java that generates Go client/server/shape code from Smithy models. 2. Runtime (./, top-level Go module) — The Go packages that generated code depends on at runtime. The primary downstream consumer is aws-sdk-go-v2. The codegen artifact version is published to Maven Central and bumped on each release. For local development against unreleased codegen changes, use publishToMavenLocal…

2553mo agoDiscuss
AWSAGENTS.md

aws-ofi-nccl

aws/aws-ofi-nccl/AGENTS.md

AWS OFI NCCL is a plugin that enables NVIDIA NCCL, AMD RCCL, and AWS Neuron applications to use libfabric as a network provider. It maps NCCL's connection-oriented transport APIs to libfabric's connection-less reliable interface (FIEPRDM). The project uses GNU autotools (autoconf, automake, libtool). If a compilecommands.json file does not exist, you should run make clean ; bear -- make in order to generate a compilecommands.json to build a database for clangd. Unit tests are in tests/unit/. They run without special…

2335mo agoDiscuss

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.