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

21k57d 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

21k57d 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.7k59d 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
JetBrainsAGENTS.md

lincheck

JetBrains/lincheck/AGENTS.md

Guidance for AI coding agents working in the Lincheck repository. Follows the agents.md convention; CLAUDE.md just imports this file. check aggregates test + testIsolated. traceRecorderIntegrationTest downloads the target external projects…

7024mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

lincheck / live-debugger

JetBrains/lincheck/live-debugger/AGENTS.md

Module-specific guidance for lincheck/live-debugger/. Parent guidance: ../AGENTS.md. A JVM agent for dynamic, non-suspending breakpoints. A snapshot breakpoint captures the program state at a source line — stack trace, local variables,…

7024mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

lincheck / tracer

JetBrains/lincheck/tracer/AGENTS.md

Module-specific guidance for lincheck/tracer/. Parent guidance: ../AGENTS.md. The runtime tracing engine shared by the trace-recorder and live-debugger JVM agents. It provides the common agent scaffolding (premain/agentmain), manages tracing sessions, and…

7024mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

thinkrail

JetBrains/thinkrail/AGENTS.md

A ThinkRail-branded desktop-and-mobile client for the pi coding agent. The app is a thin host that runs pi and bridges it to a rich UI; pi owns models, skills, compaction, cost, and session state. - Use goal-and-requirements.md for the product's goal, principles, capabilities, and non-goals. - Use architecture.md for system topology, cross-module decisions, and repo-wide invariants. - Read the owning SPEC.md when work is governed by or may alter a module boundary, contract, invariant, documented behavior, or architecture decision. -…

5082mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

godot-support / gdscript

JetBrains/godot-support/gdscript/AGENTS.md

Project-specific development guidelines for gdscript module (JetBrains Godot plugin) This document captures practical, project-specific knowledge to help contributors and AI agents build, test, and extend the GDScript plugin efficiently. This plugin can be opened in two different ways, and the right build/test commands differ between them. Detect the scenario before you do anything: Detection rule for agents: if a tests.cmd exists at the workspace root, you are in the monorepo. Otherwise you are standalone. Prerequisites - Gradle: use the included…

5055mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

godot-support / godot-rd

JetBrains/godot-support/godot-rd/AGENTS.md

If you want to test if your changes compile, you must use bazel, not cmake. The only time you should ever use cmake, is if the user explicitly asks you to do so.

5055mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

youtrackdb

JetBrains/youtrackdb/AGENTS.md

YouTrackDB is a general-purpose object-oriented graph database developed by JetBrains, used internally in production. It implements the Apache TinkerPop API with Gremlin query language support and features O(1) link traversal, schema-less/mixed/full modes, and encryption at rest. The project is a fork of OrientDB, re-architected under the com.jetbrains.youtrackdb package namespace. The docs/ folder contains user-facing product documentation. See docs/README.md for the index. Project-internal documentation (development workflow, role guidelines, ADR archive) lives in docs-internal/ — see docs-internal/README.md for the index. Storage engine,…

4375mo agoReviewMountCreate a free account to mount
JetBrainsAGENTS.md

kotlin-toolchain

JetBrains/kotlin-toolchain/AGENTS.md

The Kotlin Toolchain is a build system for Kotlin projects. This is the project that builds this build system, and it uses itself as a build system. Docs are located in the docs/ folder. Here are useful commands: * To learn about the available CLI commands: ./kotlin --help * To learn about the specific options of some command: ./kotlin <command> --help (Example: ./kotlin build --help) * To compile the project: ./kotlin build * To run all tests of a given…

4302mo 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.