sagemaker-mlflow
AWS Plugin for MLflow with SageMaker
What it is and what it does
This is an AWS plugin for MLflow that bridges MLflow's experiment tracking and model registry with Amazon SageMaker. It generates Signature V4 headers for outgoing requests, handles AWS IAM authentication and authorization, and enables model registration directly to the SageMaker Model Registry. The plugin works as an MLflow entry point and signs requests using credentials from the boto3 default chain (environment variables, shared config, instance role) or a custom boto3.Session you provide.
The plugin is lightweight by default, depending only on boto3 and mlflow-skinny, with an optional [full] extra for the complete MLflow package. It supports Python 3.8 through 3.14 and is actively maintained. You can inject a custom AWS session via a context manager (use_session) or set a default (set_session) without mutating environment variables, making it suitable for multi-tenant or multi-profile scenarios.
Use it for:
- Run MLflow experiment tracking on SageMaker with automatic AWS IAM authentication instead of managing separate credentials.
- Register trained models to the SageMaker Model Registry directly from MLflow without manual AWS API calls.
- Use different AWS profiles or per-tenant credentials in a shared process by injecting custom boto3 sessions.
- Integrate MLflow into SageMaker training jobs or SageMaker Pipelines with minimal configuration overhead.
- Sign MLflow requests with AWS IAM for audit trails and fine-grained access control in enterprise environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates MLflow with Amazon SageMaker by signing requests with AWS IAM credentials and enabling model registration to the SageMaker Model Registry.
Yes. This plugin is worth installing if you use MLflow with SageMaker and need AWS IAM-based authentication. It has low install friction, active maintenance, no known vulnerabilities, and a permissive license. The tight integration with boto3 and support for custom sessions makes it practical for both simple and multi-tenant deployments.
Install
sagemaker-mlflow on PyPI
pip
pip install sagemaker-mlflowuv
uv add sagemaker-mlflowpoetry
poetry add sagemaker-mlflowInstalling sagemaker-mlflow
Before you install
Low friction installation with minimal dependencies—depends only on boto3 and mlflow-skinny by default. Active maintenance with a recent release and no known vulnerabilities.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial use and modification with minimal restrictions.
Quickstart
pip install sagemaker-mlflow
import boto3
import mlflow
import sagemaker_mlflow
custom = boto3.Session(profile_name="my-profile")
with sagemaker_mlflow.use_session(custom):
mlflow.MlflowClient().search_experiments(max_results=1)
Requires AWS credentials available via boto3 (environment variables, shared config, instance role, or explicit session).
Verify before relying
- Whether the plugin works with all MLflow versions listed in tox.ini or only specific ones.
- Performance overhead of SigV4 signing on high-volume MLflow tracking requests.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — boto3, mlflow-skinny |
| Maintenance | actively maintained — 48 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,351,520/month — #2,651 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sagemaker_mlflow-0.5.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
sagemaker-trainTrains and deploys machine learning models on…
unclear · top 5,000 on PyPI
sagemaker-experimentsTracks machine learning experiments, trials,…
permissive · top 15,000 on PyPI
requests-aws-signAdds AWS V4 request signing to the requests…
permissive · top 5,000 on PyPI
azureml-mlflowIntegrates MLflow experiment tracking and model…
permissive · top 5,000 on PyPI
mlflowMLflow is an open-source platform for managing…
permissive · top 1,000 on PyPI
sagemaker-trainingIntegrates training scripts into Docker…
permissive · top 15,000 on PyPI
sagemakerSageMaker Python SDK is a library for training…
permissive · top 5,000 on PyPI
mlflow-tracingInstrument GenAI applications with distributed…
permissive · top 1,000 on PyPI
requests-sigv4Adds AWS Signature Version 4 signing to…
permissive · top 5,000 on PyPI
aws-sdk-signersProvides standalone SigV4 request signing for…
permissive · top 15,000 on PyPI