Build a serverless image editing agent with Amazon Bedrock AgentCore harness
AWS•How-to••by Salman Ahmed, Sergio Barraza and Ravi Kumar•AWS Artificial Intelligence Blog
This post walks through building a serverless image editor where users upload a photo, describe an edit in plain English, and receive the result in seconds. The agent runs on AgentCore harness without custom orchestration code. We deploy the full solution, including authentication, encrypted storage, three image editing tools, and a React frontend, with a single deployment command. The infrastructure is defined using AWS Cloud Development Kit (AWS CDK).
AgentCore harness can run a serverless image-editing agent defined by configuration, with tools exposed through Gateway and a shell command for watermarking.
Who it is for
Architects and developers on AWS evaluating AgentCore harness versus AgentCore Runtime for tool-calling agents.
Key points
Agent is defined by create_harness API parameters; no orchestration code is written.
Model can be switched per invocation while conversation history carries over via AgentCore Memory.
AgentCore harness is in preview and has no native CDK construct, so a provisioning script calls the API.
Deployment is one script, estimated at 3 to 5 minutes.
AI:Step Functions workflows can now be called by agents as tools through Bedrock AgentCore Gateway over MCP, and OpenAI's GPT-6.1 Terra is generally available on Bedrock at lower token prices.
AI:A step-by-step guide to building an ecommerce MCP server on AgentCore Runtime with two-layer JWT auth via Cognito, deploying it with CDK, and connecting it to Mistral Vibe.
AI:LoanPro's multi-agent assistant on Bedrock AgentCore summarizes borrower account data and suggests next actions for servicing agents, now running in production.