Skip to main content
← Back to News
AI Tools

AWS Shows How to Train Multi‑Turn RL Agents on SageMaker AI

AWS publishes a hands‑on guide demonstrating multi‑turn reinforcement learning on SageMaker AI using a Wordle example, detailing architecture, costs, and step‑by‑step setup.

Published: October 23, 2026By GetAISet Editorial

Original source published: October 23, 2026

AWS released a hands‑on guide that explains how to run Multi‑Turn Reinforcement Learning (MTRL) on Amazon SageMaker AI. MTRL trains a policy model by having an agent interact with an environment over several turns and receive a single reward at the end of each episode. The guide uses the Wordle game as an example, where the agent makes up to six guesses and receives per‑letter feedback after each guess.

In the demonstration, the GPT‑OSS‑20B model was fine‑tuned with a LoRA adapter, improving its solve rate on held‑out words from 61 % to 84 % at default reasoning effort and from 15 % to 69 % at low effort, using roughly $339 in token charges. The post walks through the full pipeline—deploying the agent to Bedrock AgentCore, preparing a secret‑word dataset, running the training job, monitoring with MLflow, and evaluating the served model—while listing supported base models and token‑based pricing.

The guide notes that all datasets, the agent, and the trained model stay in the user’s AWS account and are not used to train the base models. It also provides detailed steps for creating the required IAM roles, deploying the agent, verifying the runtime, and preparing the dataset, offering a practical resource for developers building custom multi‑step AI workflows.