#!/usr/bin/env bash
# Prints AWS CLI and agentcore versions. Does not call Bedrock or deploy anything.
set -euo pipefail

if command -v aws >/dev/null 2>&1; then
  aws --version
else
  echo "aws=absent"
fi

if command -v agentcore >/dev/null 2>&1; then
  echo "agentcore=$(agentcore --version)"
else
  echo "agentcore=absent"
fi

echo "lab=ok"
