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

kotlin

JetBrains/kotlin/AGENTS.md

CRITICAL: guidelines.md MUST be followed at all times.

No other project uses it yet

53k2mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

kotlin / analysis

JetBrains/kotlin/analysis/AGENTS.md

A library for analyzing Kotlin code at the semantic level, providing structured access to symbols, types, and semantic relationships. Entry point: Use analyze() to start an analysis session. See Analysis…

No other project uses it yet

53k2mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

kotlin / compiler

JetBrains/kotlin/compiler/AGENTS.md

Consider reading fir-basics.md. FIR processes code through sequential phases (see FirResolvePhase.kt). Key invariant: In phase B following phase A, all FIR elements visible in B are resolved to phase A.

No other project uses it yet

53k2mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-community

JetBrains/intellij-community/AGENTS.md

Critical: These guidelines MUST be followed at all times. Write every user-visible artifact in ASD-STE100 Simplified Technical English, and keep it short. This covers a comment, KDoc, a commit message,…

No other project uses it yet

21k59d agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-community / java

JetBrains/intellij-community/java/AGENTS.md

Rules for this directory and every directory below it. They override the root AGENTS.md. More intellij.java.* modules live outside this tree, under ../plugins/ and ../platform/. This file does not reach…

No other project uses it yet

21k59d agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

koog

JetBrains/koog/AGENTS.md

Koog is a Kotlin multiplatform framework for building AI agents with graph-based workflows. It supports JVM and JS targets and integrates with multiple LLM providers (OpenAI, Anthropic, Google, OpenRouter, Ollama) and Model Context Protocol (MCP). The project follows a modular architecture with a clear separation of concerns: AIAgent — Main orchestrator that executes strategies in coroutine scopes, manages tools via ToolRegistry, runs features through AIAgentPipeline, and handles LLM communication via PromptExecutor. AIAgentStrategy — Graph-based execution logic that defines workflows as…

4.6k7mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-plugins / CloudFormation

JetBrains/intellij-plugins/CloudFormation/AGENTS.md

These notes are specific to contrib/CloudFormation and its metadata-crawler subproject.

2.3k24mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

intellij-plugins / terraform

JetBrains/intellij-plugins/terraform/AGENTS.md

Use these conventions when writing or changing tests in this plugin. Run asynchronous tests inside timeoutRunBlocking. Invoke editor actions in a narrow withContext(Dispatchers.EDT) block with the required lock context. Await…

2.3k24mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

MPS

JetBrains/MPS/AGENTS.md

This project is a mixed JetBrains MPS + plain Java/Kotlin codebase. Developers typically use two environments against the same checkout: - IntelliJ IDEA for editing, debugging, testing, and inspecting Java/Kotlin code, including code generated by MPS. - JetBrains MPS for editing languages, models, generators, and other MPS artifacts. Agents must adapt to the tools available in the current session. Use this file as the cross-environment entry point. For detailed MPS node, model, language, generator, validation, and MCP workflows, load the…

1.7k2mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

android / compose-designer

JetBrains/android/compose-designer/AGENTS.md

This document describes how an AI agent can interact specifically with the Compose Designer. For common preview interaction patterns, see the Preview Designer Agent Guide.

1.1k3mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

android / designer

JetBrains/android/designer/AGENTS.md

This document describes how an AI agent can interact with the Layout Editor (Designer).

1.1k3mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

android / preview-designer

JetBrains/android/preview-designer/AGENTS.md

This document describes how an AI agent can interact with common Preview Designer features.

1.1k3mo 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.