---
title: Multiple AGENT.md Files
link: https://ampcode.com/news/multiple-AGENT.md-files
source: ampcode-com
published: 2025-07-07T00:00:00Z
updated: 2025-07-07T00:00:00Z
first_seen: 2026-10-04T12:50:30.804479567Z
summary: 'Update: Amp now looks in files named AGENTS.md (with an S). Amp now looks for AGENT.md files in subtrees, parent directories, and ~/.config/AGENT.md. This lets you keep your top-level AGENT.md general and create more specific AGENT.md files in subtrees. They''ll be included only when Amp works in that subtree. You can also @-mention files in AGENT.md to include additional context. Manual »'
content: extracted
html: 2025-07-07-multiple-agent-md-files.html
remote_preview:
  url: https://static.ampcode.com/news/multiple-agent-md-files-2.png
  alt: Multiple AGENT.md files in use
---

*Update: Amp now looks in files named `AGENTS.md` (with an `S`).*

Amp now looks for `AGENT.md` files in subtrees, parent directories, and `~/.config/AGENT.md`.

This lets you keep your top-level `AGENT.md` general and create more specific `AGENT.md` files in subtrees. They'll be included only when Amp works in that subtree.

You can also @-mention files in `AGENT.md` to include additional context.

[Manual »](https://ampcode.com/manual#AGENTS.md)

![Multiple AGENT.md files in use](https://static.ampcode.com/news/multiple-agent-md-files-2.png)
