AI Cloud Architect

Build Strands Agents with SageMaker AI models and MLflow

AWSHow-to by Dheeraj Hegde and Gi KimAWS Artificial Intelligence Blog

In this post, we demonstrate how to build AI agents using Strands Agents SDK with models deployed on SageMaker AI endpoints. You will learn how to deploy foundation models from SageMaker JumpStart, integrate them with Strands Agents, and establish production-grade observability using SageMaker Serverless MLflow for agent tracing. We also cover how to implement A/B testing across multiple model variants and evaluate agent performance using MLflow metrics and show how you can build, deploy, and…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A walkthrough shows Strands Agents calling Qwen3 models hosted on SageMaker AI endpoints, with MLflow tracing and an A/B test between Qwen3-4B and Qwen3-8B variants.

Who it is for

Teams running AI agents on infrastructure they control in SageMaker AI who want tracing and model A/B evaluation.

Key points

  • Models are deployed from SageMaker JumpStart on ml.g5.2xlarge instances in the example.
  • Strands needs a model that supports OpenAI-compatible chat completions APIs.
  • Serverless MLflow App is used for agent traces; MLflow 3.4.0 or later is needed for tracing.

Timeline

  1. This postBuild Strands Agents with SageMaker AI models and MLflow
  2. What it explainsStreamlining generative AI development with MLflow v3.10 on Amazon SageMaker AI · AWS · Announcement
  3. What it explainsAnnouncing OpenAI-compatible API support for Amazon SageMaker AI endpoints · AWS · Announcement

Go deeper