Migrating multi-model AI agents to Amazon Bedrock AgentCore runtime
AWS•How-to••by Sanhita Sarkar•AWS Artificial Intelligence Blog
Migrate a multi-model healthcare AI agent from self-managed Amazon ECS with AWS Fargate to Amazon Bedrock AgentCore runtime, preserving triple-model orchestration and vector-enhanced knowledge retrieval while reducing infrastructure management. The framework-agnostic pattern applies across healthcare, financial services, and manufacturing.
AgentCore runtime can host an existing multi-model healthcare agent (smolagents, Bedrock, SageMaker, containerized backend) with a decorator wrapper and a single deploy command, replacing ECS/Fargate management.
Who it is for
Teams running multi-model agents on ECS with Fargate who want managed agent hosting with built-in scaling, identity and observability.
Key points
Agent logic is kept unchanged; the migration adds BedrockAgentCoreApp, @app.entrypoint and app.run().
Deployment uses agentcore deploy, which builds the container and pushes to ECR; the post says it takes about 10-15 minutes.
Sample uses Llama 3.1 70B Instruct on Bedrock, BioM-ELECTRA on SageMaker AI, and OpenSearch Service for vector retrieval.
The post presents the sample as a demonstration, and recommends Bedrock Guardrails for production.
AI:AWS sets out architectural principles for running many agentic AI systems across mixed frameworks, models and providers, keeping identity, policy, observability and routing central while execution stays decentralized.
AI:A reference architecture uses Bedrock AgentCore agents built with Strands Agents to route radiology exams to radiologists by specialty, workload and fatigue, and to raise priority for critical findings.
AI:A reference architecture and sample code for a serverless order-management chatbot that uses Claude on Bedrock, LangGraph for a three-stage conversation graph, and managed MLflow tracing on SageMaker AI.