# project_hooks_path

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/hooks/loading/project_hooks_path)

Return the project-scoped hooks configuration path.

## Signature

```python
project_hooks_path(
    project_root: Path,
) -> Path
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `project_root` | `Path` | Yes | Project root directory. |

## Returns

`Path`

`{project_root}/.deepagents/hooks.json`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/hooks/loading.py#L153)