aws agentcore optimization