AI Cloud Architect

Build a serverless image editing agent with Amazon Bedrock AgentCore harness

AWSHow-to by Salman Ahmed, Sergio Barraza and Ravi KumarAWS 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).

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.

Timeline

Posts about Amazon Bedrock AgentCore Harness, oldest first.

  1. What it explainsAmazon Bedrock AgentCore adds new features to help developers build agents faster · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  2. Generally availableAgentCore harness is now generally available · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  3. This postBuild a serverless image editing agent with Amazon Bedrock AgentCore harness
  4. How-toRun production AI agents in n8n with Amazon Bedrock AgentCore harness · AWS · How-to

Go deeper