Launch offer: use code LAUNCH20 for 20% off any single pack. See all kits

Warp AGENTS.md vs WARP.md: Which Rules File Warp Reads

Published 2026-11-25 · 5 min read · by AgentKit Co

Warp (the terminal with built-in coding agents, plus the Warp Agent CLI) reads project rules from AGENTS.md. That's the default now. But Warp still supports the older WARP.md, and if both files sit in the same folder, WARP.md wins and your AGENTS.md is skipped. The name also has to be exactly AGENTS.md in capitals.

We checked this on 2026-11-25 against Warp's Rules docs and the Warp Agent CLI configuration docs.

Download free-warp-rules.zip (MIT: warp-check.py lists which rules files Warp uses in the root, subfolders and ~/.agents/, and flags shadowed or misnamed files, plus root, subfolder and personal AGENTS.md templates and a 37-test test.sh)

python3 warp-check.py .             # what Warp reads in this repo
python3 warp-check.py . --cwd api   # what applies when you start Warp in api/

What Warp reads

File When it applies
AGENTS.md in the repo root always, inside the project
AGENTS.md in your current folder always; beats the root file on conflict
AGENTS.md in other subfolders "best effort" when the agent edits files there
~/.agents/AGENTS.md every project (documented for the Warp Agent CLI)
Global Rules in Warp Drive every project; lowest priority

Any project AGENTS.md can be a WARP.md instead (the legacy name). Precedence, per the docs: current subfolder rules, then root rules, then Global Rules.

The traps

  • An old WARP.md hides AGENTS.md. Warp's /init used to create WARP.md, so older repos often have one. Add an AGENTS.md next to it for your other tools and Warp keeps reading WARP.md. Every edit you make to AGENTS.md does nothing in Warp.
  • Case matters. Warp's docs say the name must be all caps: agents.md or Agents.md aren't recognized. One of Warp's own guide pages writes the old name as Warp.md, so copy-pasted mixed-case names are out there.
  • CLAUDE.md and .cursorrules aren't read on their own. Warp's /init can link an existing CLAUDE.md, .cursorrules, AGENT.md, GEMINI.md, .clinerules, .windsurfrules or .github/copilot-instructions.md to AGENTS.md. The docs don't list them as rules files Warp reads by itself, so a repo with only CLAUDE.md gives Warp no project rules until you link or rename it. Some config directories say Warp "recognises" these files; the docs say "link".
  • Only the root and your current folder are certain. If you start Warp in apps/web/src/, the docs promise the root file and the one in src/. A file in apps/web/ in between isn't mentioned. Start Warp where the rules live, or repeat the key lines.
  • Each folder is checked on its own. A WARP.md in api/ hides api/AGENTS.md even if the root is clean.

warp-check.py flags all of these, plus empty files, broken symlinks and a misnamed ~/.agents/agents.md. It can't see Global Rules stored in Warp Drive.

Fix it in one minute

python3 warp-check.py .
# Root rules       WARP.md
# WARNING: WARP.md and AGENTS.md are both here. Warp uses WARP.md and skips AGENTS.md. ...

# move anything unique from WARP.md into AGENTS.md, then:
git rm WARP.md
python3 warp-check.py .      # Root rules       AGENTS.md

Only have CLAUDE.md? Either run /init in Warp and choose to link it, or do it yourself: ln -s CLAUDE.md AGENTS.md. Warp, Codex, Cursor and Copilot then read the same file. If you'd rather keep AGENTS.md as the real file, add @AGENTS.md to CLAUDE.md for Claude Code instead.

Warp made the same move in its own repository: a June 2026 commit (6f0cedb) renamed the repo's WARP.md to AGENTS.md so non-Warp agents pick it up too.

Example AGENTS.md for Warp

## Commands
| Task | Command |
|---|---|
| Install | `pnpm install` |
| Test | `pnpm test` |
| Lint | `pnpm lint` |

## Rules
- Make small, targeted changes. No drive-by refactors or renames.
- Add or update tests for new behavior and run `pnpm test` before you finish.
- Ask before running anything that deletes data, force-pushes or touches production.
- Never print or log tokens, passwords or `.env*` values.

## Done means
- Tests and lint pass, and you list what you changed and how you checked it.

Warp's own guide puts it well: everything in this file is added to your prompt, so a longer file costs more tokens. Keep it to what the agent can't work out from the code.

For a monorepo, add a short AGENTS.md per area (api/, web/) with only that area's commands and rules, and start Warp in that folder. The kit has an api/AGENTS.md example.

Personal rules: ~/.agents/AGENTS.md

The Warp Agent CLI docs say a file at ~/.agents/AGENTS.md applies across all projects on your machine, and that the CLI picks up the same rules files as the Warp app. Use it for personal habits ("explain the plan before big changes", "never force-push"), not project facts. The project file wins when they disagree. Global Rules you create in Warp Drive (Settings > Agents > Knowledge > Manage Rules) also apply everywhere, at the lowest priority.

FAQ

Does Warp read AGENTS.md? Yes. It's the default project rules file, as long as there's no WARP.md in the same folder.

Should I rename WARP.md to AGENTS.md? Yes, for new and shared repos. Warp's docs say you can rename it at any time without other changes, and other agents will read it too.

Does Warp read CLAUDE.md? Not on its own, per the docs. /init can link it to AGENTS.md.

How do I see which rules Warp used? Rules that guided an answer show up under References in the conversation. You can also open them with /open-project-rules, or run warp-check.py.

Get matching files for every tool

The free AGENTS.md generator builds a root AGENTS.md (which Warp reads) plus Cursor, Copilot, CLAUDE.md, GEMINI.md and Kiro files. The AI Coding Agent Config Kit adds 12 stack templates and prompts that audit them. More: AGENTS.md examples, AGENTS.md not working? and Zed rules and AGENTS.md.

AgentKit Co is not affiliated with Warp.

AI Coding Agent Config Kit · $14 · 30-day refund

One AGENTS.md for Warp and every other agent

AGENTS.md templates for 12 stacks, a CLAUDE.md with .claude/rules, 8 Cursor .mdc rules, Copilot instructions and 12 prompts that draft, audit and trim them. No Warp-specific files; the free checker kit above covers those.

Not ready to buy? Get our free Agent Skills pack on Gumroad (pay what you want, $0 is fine; Gumroad asks for your email to deliver it). Get the free skills

Keep reading

Agent Skills (SKILL.md) Explained: Formats, Folders and SafetyWhat an Agent Skill is, how SKILL.md works, which folders Claude Code, Codex, Cursor and Copilot read, and how to write and vet one. Checked on 2026-10-17.5 min readAGENTS.md Examples: 7 Copy-Paste Files for Real Projects (2026)Seven AGENTS.md examples to copy: Next.js, Python API, Go, a monorepo with nested files, a global ~/.codex file, an override and review rules.8 min readWhat Is an AI Agent? Plain-English Guide for BeginnersWhat an AI agent is, how it differs from a chatbot or automation, and the four building blocks every agent has. No jargon.4 min read