Build Agentic Workflows with OpenAI GPT OSS on Amazon SageMaker AI and Amazon Bedrock AgentCore
AWS•How-to••by Vivek Gangasani and Surya Kari•AWS Artificial Intelligence Blog
In this post, we show how to deploy gpt-oss-20b model to SageMaker managed endpoints and demonstrate a practical stock analyzer agent assistant example with LangGraph, a powerful graph-based framework that handles state management, coordinated workflows, and persistent memory systems.
Shows how to deploy gpt-oss-20b on a SageMaker AI endpoint with vLLM, build a three-agent LangGraph stock analyzer, and run it on Bedrock AgentCore Runtime.
Who it is for
Architects and developers who want to run open-weight gpt-oss models on SageMaker and host multi-agent workflows on AgentCore Runtime.
Key points
Example uses ml.g6e.4xlarge with one GPU and a custom vLLM container pushed to ECR.
gpt-oss-20b weights use MXFP4 quantization, about 14 GB, so it fits on a single GPU.
Requires G6e quota and a SageMaker domain; the example is a simulated stock dataset, not live data.
AI:Shows how to build a healthcare agent with Hugging Face smolagents that switches between SageMaker, Bedrock Claude and a containerized model server, using OpenSearch for retrieval.
AI:Cisco's 2026 AWS AI League tournament drew 1,200 engineers, and the winning agent's design favored low output-token use and deterministic planning over sub-agents.
AI:Agents on Amazon Bedrock AgentCore Gateway can now call existing Step Functions Standard and Express workflows as tools, with Step Functions running the steps as defined.