# setup_deploy_parsers

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/deploy/commands/setup_deploy_parsers)

Register the top-level `init`, `dev`, and `deploy` subparsers.

The three commands used to live under `deepagents deploy {init,dev}`
but are now flat: `deepagents init`, `deepagents dev`, and
`deepagents deploy`. This function registers all three on the root
subparsers object.

## Signature

```python
setup_deploy_parsers(
    subparsers: Any,
    *,
    make_help_action: Callable[[Callable[[], None]], type[argparse.Action]],
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/64d45f67c86edb4df2ced0e7b82f1a8fd158ec8c/libs/cli/deepagents_cli/deploy/commands.py#L21)