> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Programmatic deployment API reference

The `metaflow.apps` Python module lets you create, manage, and delete deployments from Python code. It provides the same capabilities as the [deployments CLI](/docs/platform/cli/app/deploy), embeddable in your own programs.

This section is the reference for that module:

* [AppDeployer](/docs/platform/guides/inference/python-api/app-deployer): The class that creates and deploys apps. Start here.
* [DeployedApp](/docs/platform/guides/inference/python-api/deployed-app): The object returned by a deployment, with methods for logs, scaling, and deletion.
* [Utilities](/docs/platform/guides/inference/python-api/bake-image): `bake_image` and `package_code`, the functions that prepare your image and code for deployment.
* [Using metaflow.apps in flows](/docs/platform/guides/inference/python-api/apps-in-flows): Deploy apps from inside a Metaflow flow with the `@app_deploy` decorator.
* [Exceptions](/docs/platform/guides/inference/python-api/exceptions): The exception classes raised by the module.

New to deployments? Start with [Writing your first deployment](/docs/platform/guides/inference/writing-your-first-deployment) for a guided introduction.
