# langgraph_cli

> Python package

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

## Classes

- [`Version`](https://reference.langchain.com/python/langgraph-cli/docker/Version)
- [`DockerCapabilities`](https://reference.langchain.com/python/langgraph-cli/docker/DockerCapabilities)
- [`BuildResult`](https://reference.langchain.com/python/langgraph-cli/deploy/BuildResult)
- [`ById`](https://reference.langchain.com/python/langgraph-cli/deploy/ById)
- [`ByName`](https://reference.langchain.com/python/langgraph-cli/deploy/ByName)
- [`ByAgent`](https://reference.langchain.com/python/langgraph-cli/deploy/ByAgent)
- [`Listener`](https://reference.langchain.com/python/langgraph-cli/deploy/Listener)
- [`Unplaced`](https://reference.langchain.com/python/langgraph-cli/deploy/Unplaced)
- [`OnListener`](https://reference.langchain.com/python/langgraph-cli/deploy/OnListener)
- [`RequestedPlacement`](https://reference.langchain.com/python/langgraph-cli/deploy/RequestedPlacement)
- [`ExistingDeployment`](https://reference.langchain.com/python/langgraph-cli/deploy/ExistingDeployment)
- [`Table`](https://reference.langchain.com/python/langgraph-cli/deploy/Table)
- [`DeploymentRow`](https://reference.langchain.com/python/langgraph-cli/deploy/DeploymentRow)
- [`CreatedDeployment`](https://reference.langchain.com/python/langgraph-cli/deploy/CreatedDeployment)
- [`BuildSpec`](https://reference.langchain.com/python/langgraph-cli/deploy/BuildSpec)
- [`DockerBuildCommand`](https://reference.langchain.com/python/langgraph-cli/deploy/DockerBuildCommand)
- [`DeployContext`](https://reference.langchain.com/python/langgraph-cli/deploy/DeployContext)
- [`DeployOutcome`](https://reference.langchain.com/python/langgraph-cli/deploy/DeployOutcome)
- [`DeploymentSource`](https://reference.langchain.com/python/langgraph-cli/deploy/DeploymentSource)
- [`ListenerRequiredError`](https://reference.langchain.com/python/langgraph-cli/deploy/ListenerRequiredError)
- [`ManagedRegistrySource`](https://reference.langchain.com/python/langgraph-cli/deploy/ManagedRegistrySource)
- [`RemoteBuildSource`](https://reference.langchain.com/python/langgraph-cli/deploy/RemoteBuildSource)
- [`BuildAndPush`](https://reference.langchain.com/python/langgraph-cli/deploy/BuildAndPush)
- [`PublishedImage`](https://reference.langchain.com/python/langgraph-cli/deploy/PublishedImage)
- [`CreateOnlySettings`](https://reference.langchain.com/python/langgraph-cli/deploy/CreateOnlySettings)
- [`CustomerRegistrySource`](https://reference.langchain.com/python/langgraph-cli/deploy/CustomerRegistrySource)
- [`NestedHelpGroup`](https://reference.langchain.com/python/langgraph-cli/deploy/NestedHelpGroup)
- [`DeployGroup`](https://reference.langchain.com/python/langgraph-cli/deploy/DeployGroup)
- [`CommandRunner`](https://reference.langchain.com/python/langgraph-cli/exec/CommandRunner)
- [`TTLConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/TTLConfig)
- [`IndexConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/IndexConfig)
- [`StoreConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/StoreConfig)
- [`ThreadTTLConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/ThreadTTLConfig)
- [`SerdeConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/SerdeConfig)
- [`CheckpointerConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/CheckpointerConfig)
- [`SecurityConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/SecurityConfig)
- [`CacheConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/CacheConfig)
- [`AuthConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/AuthConfig)
- [`EncryptionConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/EncryptionConfig)
- [`PriorityConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/PriorityConfig)
- [`CorsConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/CorsConfig)
- [`ConfigurableHeaderConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/ConfigurableHeaderConfig)
- [`HttpConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/HttpConfig)
- [`WebhookUrlPolicy`](https://reference.langchain.com/python/langgraph-cli/schemas/WebhookUrlPolicy)
- [`GraphDef`](https://reference.langchain.com/python/langgraph-cli/schemas/GraphDef)
- [`WebhooksConfig`](https://reference.langchain.com/python/langgraph-cli/schemas/WebhooksConfig)
- [`UvSource`](https://reference.langchain.com/python/langgraph-cli/schemas/UvSource)
- [`Config`](https://reference.langchain.com/python/langgraph-cli/schemas/Config)
- [`UvLockSourceEntry`](https://reference.langchain.com/python/langgraph-cli/uv_lock/UvLockSourceEntry)
- [`UvLockPackage`](https://reference.langchain.com/python/langgraph-cli/uv_lock/UvLockPackage)
- [`UvLockWorkspace`](https://reference.langchain.com/python/langgraph-cli/uv_lock/UvLockWorkspace)
- [`UvLockPlan`](https://reference.langchain.com/python/langgraph-cli/uv_lock/UvLockPlan)
- [`DockerBuildPlan`](https://reference.langchain.com/python/langgraph-cli/uv_lock/DockerBuildPlan)
- [`Progress`](https://reference.langchain.com/python/langgraph-cli/progress/Progress)
- [`LocalDeps`](https://reference.langchain.com/python/langgraph-cli/config/LocalDeps)
- [`NestedHelpGroup`](https://reference.langchain.com/python/langgraph-cli/cli/NestedHelpGroup)
- [`ControlPlaneEndpoints`](https://reference.langchain.com/python/langgraph-cli/host_backend/ControlPlaneEndpoints)
- [`HostBackendError`](https://reference.langchain.com/python/langgraph-cli/host_backend/HostBackendError)
- [`HostBackendClient`](https://reference.langchain.com/python/langgraph-cli/host_backend/HostBackendClient)
- [`ImageReference`](https://reference.langchain.com/python/langgraph-cli/image_reference/ImageReference)
- [`LogData`](https://reference.langchain.com/python/langgraph-cli/analytics/LogData)

## Functions

- [`can_build_locally()`](https://reference.langchain.com/python/langgraph-cli/docker/can_build_locally)
- [`check_capabilities()`](https://reference.langchain.com/python/langgraph-cli/docker/check_capabilities)
- [`debugger_compose()`](https://reference.langchain.com/python/langgraph-cli/docker/debugger_compose)
- [`dict_to_yaml()`](https://reference.langchain.com/python/langgraph-cli/docker/dict_to_yaml)
- [`compose_as_dict()`](https://reference.langchain.com/python/langgraph-cli/docker/compose_as_dict)
- [`compose()`](https://reference.langchain.com/python/langgraph-cli/docker/compose)
- [`build_docker_image()`](https://reference.langchain.com/python/langgraph-cli/docker/build_docker_image)
- [`deployment_selector()`](https://reference.langchain.com/python/langgraph-cli/deploy/deployment_selector)
- [`validate_deploy_commands()`](https://reference.langchain.com/python/langgraph-cli/deploy/validate_deploy_commands)
- [`find_deployment_by_name()`](https://reference.langchain.com/python/langgraph-cli/deploy/find_deployment_by_name)
- [`normalize_name()`](https://reference.langchain.com/python/langgraph-cli/deploy/normalize_name)
- [`normalize_image_tag()`](https://reference.langchain.com/python/langgraph-cli/deploy/normalize_image_tag)
- [`format_timestamp()`](https://reference.langchain.com/python/langgraph-cli/deploy/format_timestamp)
- [`format_log_entry()`](https://reference.langchain.com/python/langgraph-cli/deploy/format_log_entry)
- [`level_fg()`](https://reference.langchain.com/python/langgraph-cli/deploy/level_fg)
- [`deploy()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy)
- [`deploy_list()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_list)
- [`deploy_metrics()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_metrics)
- [`deploy_listeners()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_listeners)
- [`deploy_listeners_list()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_listeners_list)
- [`deploy_revisions()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_revisions)
- [`deploy_revisions_list()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_revisions_list)
- [`deploy_delete()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_delete)
- [`deploy_logs()`](https://reference.langchain.com/python/langgraph-cli/deploy/deploy_logs)
- [`find_tracked_packages()`](https://reference.langchain.com/python/langgraph-cli/dependency_tracking/find_tracked_packages)
- [`Runner()`](https://reference.langchain.com/python/langgraph-cli/exec/Runner)
- [`subp_exec()`](https://reference.langchain.com/python/langgraph-cli/exec/subp_exec)
- [`monitor_stream()`](https://reference.langchain.com/python/langgraph-cli/exec/monitor_stream)
- [`python_config_to_docker_uv_lock()`](https://reference.langchain.com/python/langgraph-cli/uv_lock/python_config_to_docker_uv_lock)
- [`clean_empty_lines()`](https://reference.langchain.com/python/langgraph-cli/util/clean_empty_lines)
- [`warn_non_wolfi_distro()`](https://reference.langchain.com/python/langgraph-cli/util/warn_non_wolfi_distro)
- [`has_disallowed_build_command_content()`](https://reference.langchain.com/python/langgraph-cli/config/has_disallowed_build_command_content)
- [`validate_config()`](https://reference.langchain.com/python/langgraph-cli/config/validate_config)
- [`get_unknown_keys()`](https://reference.langchain.com/python/langgraph-cli/config/get_unknown_keys)
- [`validate_config_file()`](https://reference.langchain.com/python/langgraph-cli/config/validate_config_file)
- [`get_build_tools_to_uninstall()`](https://reference.langchain.com/python/langgraph-cli/config/get_build_tools_to_uninstall)
- [`python_config_to_docker()`](https://reference.langchain.com/python/langgraph-cli/config/python_config_to_docker)
- [`node_config_to_docker()`](https://reference.langchain.com/python/langgraph-cli/config/node_config_to_docker)
- [`default_base_image()`](https://reference.langchain.com/python/langgraph-cli/config/default_base_image)
- [`docker_tag()`](https://reference.langchain.com/python/langgraph-cli/config/docker_tag)
- [`config_to_docker()`](https://reference.langchain.com/python/langgraph-cli/config/config_to_docker)
- [`config_to_compose()`](https://reference.langchain.com/python/langgraph-cli/config/config_to_compose)
- [`cli()`](https://reference.langchain.com/python/langgraph-cli/cli/cli)
- [`up()`](https://reference.langchain.com/python/langgraph-cli/cli/up)
- [`build()`](https://reference.langchain.com/python/langgraph-cli/cli/build)
- [`dockerfile()`](https://reference.langchain.com/python/langgraph-cli/cli/dockerfile)
- [`dev()`](https://reference.langchain.com/python/langgraph-cli/cli/dev)
- [`validate()`](https://reference.langchain.com/python/langgraph-cli/cli/validate)
- [`new()`](https://reference.langchain.com/python/langgraph-cli/cli/new)
- [`prepare_args_and_stdin()`](https://reference.langchain.com/python/langgraph-cli/cli/prepare_args_and_stdin)
- [`prepare()`](https://reference.langchain.com/python/langgraph-cli/cli/prepare)
- [`create_new()`](https://reference.langchain.com/python/langgraph-cli/templates/create_new)
- [`compact_deployment_metrics()`](https://reference.langchain.com/python/langgraph-cli/deployment_metrics/compact_deployment_metrics)
- [`create_archive()`](https://reference.langchain.com/python/langgraph-cli/archive/create_archive)
- [`get_anonymized_params()`](https://reference.langchain.com/python/langgraph-cli/analytics/get_anonymized_params)
- [`log_data()`](https://reference.langchain.com/python/langgraph-cli/analytics/log_data)
- [`log_command()`](https://reference.langchain.com/python/langgraph-cli/analytics/log_command)

## Types

- [`DeploymentSelector`](https://reference.langchain.com/python/langgraph-cli/deploy/DeploymentSelector)
- [`Placement`](https://reference.langchain.com/python/langgraph-cli/deploy/Placement)
- [`ImageSource`](https://reference.langchain.com/python/langgraph-cli/deploy/ImageSource)
