Skip to content
Free developer tool

AGENTS.md generator

Fill in your commands and rules, check the preview, then copy or download your AGENTS.md. It runs in your browser; nothing is uploaded.

Your project

What the code does and how the folders are laid out.

Setup, build and test commands

The exact commands. Leave a field empty to skip it.

One rule per line.

Where the tests live, how to run one, what must pass.

Optional sections

AGENTS.md preview

# AGENTS.md
  • No test command yet. The agents.md site says agents try to run the checks you list and fix failures before they finish.

Everything runs in your browser. Nothing you type is sent or stored.

The format

What AGENTS.md is

AGENTS.md is a Markdown file that gives AI coding agents the context a new teammate would need: how to set up the project, the exact build and test commands, the code style and the rules for a pull request. A README is written for people; AGENTS.md is one predictable place for the detail an agent needs. The agents.md site says the format is used by over 60k open source projects and is now stewarded by the Agentic AI Foundation under the Linux Foundation.

For the longer story, with nested files and common mistakes, read what AGENTS.md is and how to write one.

Placement

Where AGENTS.md goes

Put it at the root of the repository, next to the README. In a monorepo, add another AGENTS.md inside each package that needs its own commands or rules.

The agents.md site says agents read the nearest file in the directory tree, so the closest AGENTS.md to the edited file wins, and an explicit instruction in the chat overrides everything.

Support

Which agents read AGENTS.md

From the agents.md site and each vendor's docs, checked on 19 November 2026.

The agents.md site lists these as compatible: Codex from OpenAI, Jules and Gemini CLI from Google, Cursor, the GitHub Copilot coding agent, VS Code, Zed, Warp, Aider, goose, opencode, Factory, Devin and Windsurf from Cognition, Junie from JetBrains, Amp, RooCode, Kilo Code, Augment Code, Phoenix, Semgrep, Ona and UiPath Autopilot. How each one loads the file differs; three are documented in detail:

OpenAI Codex

Reads a global AGENTS.md from ~/.codex first (an AGENTS.override.md there wins), then walks from the project root down to your working folder and takes at most one file per folder. Files closer to your folder come later and override earlier ones. It stops adding files at 32 KiB by default.

GitHub Copilot

Accepts one or more AGENTS.md files anywhere in the repository; the nearest one in the directory tree takes priority. A single CLAUDE.md or GEMINI.md at the root works instead.

Claude Code

Reads AGENTS.md by default when there is no CLAUDE.md or CLAUDE.local.md in your working folder or above it. If there is one, it reads CLAUDE.md only, so import AGENTS.md from it with an @AGENTS.md line.

Example

An AGENTS.md example

What the generator makes with the Fill an example button.

# AGENTS.md

## Project overview

A Next.js app with a Postgres database. Routes are in app/, shared code in lib/, tests in tests/.

## Setup and build commands

- Install dependencies: `npm ci`
- Start the dev server: `npm run dev`
- Build: `npm run build`
- Run the tests: `npm test`
- Lint and typecheck: `npm run lint && npm run typecheck`

## Code style

- TypeScript strict mode, no any
- Server code never imports from components/
- Use the existing helpers in lib/ before adding a dependency

## Testing instructions

- Add or update a test for every change in lib/
- Run one file with npx vitest run tests/name.test.ts
- The whole suite must pass before a commit

## Pull request rules

- Keep pull requests small, one topic each
- Title: a one line summary of the change
- Lint, typecheck and tests must pass

## Security

- Never commit .env files or secrets
- Never log tokens or personal data

## Do not touch

- Never edit files in supabase/migrations by hand

FAQ

Questions about AGENTS.md

What is an AGENTS.md file?

AGENTS.md is a plain Markdown file in a repository that tells AI coding agents how to work on the project: how to install it, which commands build and test it, the code style, and the rules for pull requests. The agents.md site describes it as a simple, open format for guiding coding agents.

Does AGENTS.md have required fields?

No. The agents.md site says it is just standard Markdown, so use any headings you like. This generator uses the sections the site suggests.

Where do I put AGENTS.md?

At the root of the repository. In a monorepo, add another AGENTS.md inside each package. Agents read the nearest file in the directory tree, so the closest one to the edited file wins, and an explicit instruction in the chat overrides every file.

Will an agent run the commands I list?

The agents.md site says yes: if you list test commands, the agent will try to run the relevant checks and fix failures before it finishes. So keep each command exact and current.

I already have AGENT.md or CLAUDE.md. What do I do?

The agents.md site suggests renaming the old file to AGENTS.md and adding a symbolic link with the old name. For Claude Code, the Claude Code docs suggest a CLAUDE.md that imports AGENTS.md with an @AGENTS.md line, so every tool reads one file.

Is anything I type uploaded?

No. The file is built in your browser as you type. Nothing is sent to TeaserTrack or stored.

Sources, checked on 19 November 2026

Launching soon? List your tool on TeaserTrack

A free listing with your launch date, reviewed by a person, in front of developers looking for what is new.

Related guide: What is AGENTS.md? How to write one (2026)

More free launch tools