# find_project_agent_md

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/project_utils/find_project_agent_md)

Find project-specific AGENTS.md file(s).

Checks two locations and returns ALL that exist:
1. project_root/.deepagents/AGENTS.md
2. project_root/AGENTS.md

Both files will be loaded and combined if both exist.

## Signature

```python
find_project_agent_md(
    project_root: Path,
) -> list[Path]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_root` | `Path` | Yes | Path to the project root directory. |

## Returns

`list[Path]`

Existing AGENTS.md paths.

Empty if neither file exists, one entry if only one is present, or
two entries if both locations have the file.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/88c2b5cb874dc1d093acf54d2a967ba6e085c99b/libs/cli/deepagents_cli/project_utils.py#L159)