name 9f2f9f470f Add AWS Operations Conversational Agent use case
- Complete serverless AI-powered AWS operations platform
- Multi-Lambda architecture with Function URL deployment
- Bedrock AgentCore Gateway integration with MCP protocol
- 20 AWS service tools for comprehensive operations
- Dual authentication: AWS SigV4 + Okta JWT
- Natural language interface with streaming responses
- DynamoDB conversation persistence
- Docker-based MCP Tool Lambda with Strands framework
- Production-ready with enterprise security patterns
- Comprehensive documentation and setup guides
- Read-only operations by default with write enablement guide
- Interactive client with CLI interface
- Complete Okta OAuth2 PKCE setup
- Management scripts for gateway and target operations
- Sanitized configuration with dummy data for public sharing
2025-07-15 17:30:49 -07:00

43 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# Bedrock AgentCore Gateway AWS Operations Agent Client Runner
# Runs the modular AWS Operations Agent client (main.py)
set -e
# Get script directory
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SRC_DIR="$SCRIPT_DIR/src"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
echo "🤖 Bedrock AgentCore Gateway AWS Operations Agent Client"
echo "====================================="
# Check Python version
if ! command -v python3 &> /dev/null; then
echo "❌ Python 3 is not installed. Please install Python 3.8 or higher."
exit 1
fi
# Check if virtual environment exists
if [ ! -d "$SCRIPT_DIR/venv" ]; then
echo "📦 Creating virtual environment..."
python3 -m venv "$SCRIPT_DIR/venv"
fi
# Activate virtual environment
source "$SCRIPT_DIR/venv/bin/activate"
# Install requirements
echo "📦 Installing requirements..."
pip install -q -r "$SCRIPT_DIR/requirements.txt"
# Set Python path
export PYTHONPATH="$SRC_DIR:$PYTHONPATH"
echo "🚀 Starting AWS Operations Agent Client..."
echo ""
# Run the client
python3 "$SRC_DIR/main.py" "$@"