---
id: 6900
lang: en
title: "AWS shows how to build AI agents on SageMaker and test models with MLflow"
published_at: "2026-04-27 19:03:38"
source_name: "AWS Machine Learning Blog"
source_url: "https://aws.amazon.com/blogs/machine-learning/build-strands-agents-with-sagemaker-ai-models-and-mlflow/"
canonical_url: "https://news.hamidun.com/en/news/6900"
categories: ["autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# AWS shows how to build AI agents on SageMaker and test models with MLflow

> **Краткая суть (BLUF):** AWS has published a hands-on walkthrough for building AI agents with the Strands Agents SDK on models deployed in SageMaker. The setup combines JumpStart for launching foundation models, Serverless MLflow for tracing and metrics, and A/B tests between model variants.  The core idea: agentic systems can be built, measured and continuously improved on your own managed infrastructure.

On April 27, 2026, AWS published a hands-on walkthrough of how to run AI agents on your own managed infrastructure rather than only on fully managed services. The company showed a stack of Strands Agents SDK, SageMaker AI and Serverless MLflow in which an agent can be built quickly, deployed to an endpoint, observed in production, and compared across several model variants without changing the overall architecture. For teams that care about control, predictable costs and security requirements, it looks like an attempt to turn agentic systems from an experimental layer into a normal MLOps process.

The approach is built on Strands Agents SDK, an open-source framework for assembling agents from a model, a prompt and a set of tools. In its example, AWS first shows a baseline scenario with a model in Bedrock, then carries the same idea over to models hosted in SageMaker AI. The key point is that Strands can work with SageMaker inference endpoints as a model provider, provided the model supports an OpenAI-compatible chat completions API.

The demo uses two versions of Qwen3 from SageMaker JumpStart: 4B and 8B. The first is deployed as the main endpoint, after which the agent gets access to tools such as HTTP requests and a calculator and can handle typical tasks on top of your own model infrastructure.

Why move agent logic to SageMaker at all when the market is full of ready-made APIs? AWS makes four arguments. First, control over infrastructure: you can choose instances, network settings and scaling rules precisely to hit the latency and SLA you need. Second, model flexibility: besides ready-made foundation models, you can use custom or fine-tuned variants as well as open-source models. Third, more predictable economics for heavy workloads thanks to dedicated endpoints and precise resource sizing. Fourth, a proper enterprise perimeter around agents: tracing, versioning, A/B tests and auditing, which matter in production, not in a demo.

AWS also puts particular emphasis on observability. For this it uses SageMaker AI Serverless MLflow: the service automatically records execution traces, agent steps, tool calls and metrics, so the team does not have to instrument the code by hand with custom telemetry. Once autolog is enabled, the data lands in the MLflow interface, where you can view the list of runs, open a specific trace, and see the Agent Loop, the span tree, and the inputs and outputs of each step.

This matters for more than debugging. That level of transparency is needed when an agent starts making decisions in sensitive business processes and the team has to understand exactly where it went wrong, why it chose a particular tool, and how its behavior changes after a model update.

The most practical part of the material is A/B testing between model variants. AWS shows how to attach two production variants to the same endpoint, here Qwen3 4B and Qwen3 8B, and initially split traffic between them 50/50. After that, you can either compare responses in the live stream or create two separate agents, each pointing at its own target variant.

Next comes MLflow GenAI evaluation: the team assembles a single set of test cases, defines expectations for facts and the tools used, and then runs both variants through the same scorers. The example uses both deterministic checks and LLM-as-a-judge metrics such as correctness and relevance. This turns model selection from an argument based on gut feeling into a reproducible procedure: a new version does not just seem smarter but passes the same tests, after which it can be gradually made the primary one by changing the weights.

The takeaway is simple: AWS is selling not yet another agent SDK but an engineering blueprint in which the agent becomes a managed product component. If a company needs its own models, its own perimeter, auditing of agent actions and careful rollout of new versions, the Strands, SageMaker and MLflow combination covers that scenario much closer to enterprise reality than many quick demo stacks. For the market, it is one more signal that the next round of AI competition is being fought not only over model quality but over the quality of the infrastructure around it.

---
- **Первоисточник:** [AWS Machine Learning Blog](https://aws.amazon.com/blogs/machine-learning/build-strands-agents-with-sagemaker-ai-models-and-mlflow/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/6900
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
