Building autonomous agents that run multi-step workflows across AWS is intoxicating. You wire an Amazon Bedrock model to a set of Lambda action groups, hook up Amazon EventBridge or SQS to orchestrate events asynchronously, and watch the system execute complex tasks with minimal human intervention.
In development, everything works cleanly. You fire a synthetic event, the agent reasons through its tool catalog, executes Step A, writes to DynamoDB, and finishes.
Then you ship to production.
At 2:00 AM, a momentary network blip occurs between your downstream API and your worker Lambda. Amazon EventBridge triggers its standard retry policy. SQS visibility timeouts expire under heavy load.…