Amit Arora a6fc665364 feat: Add debug mode support and comprehensive deployment guide
Add --debug command line flag and DEBUG environment variable support:
- Created shared logging configuration module
- Updated CLI and runtime to support --debug flag
- Made debug traces conditional on DEBUG environment variable
- Added debug mode for container and AgentCore deployments

Enhanced build and deployment script:
- Added command line argument for ECR repository name
- Added help documentation and usage examples
- Added support for local builds (x86_64) vs AgentCore builds (arm64)
- Added environment variable pass-through for DEBUG, LLM_PROVIDER, ANTHROPIC_API_KEY

Created comprehensive deployment guide:
- Step-by-step instructions from local testing to production
- Docker platform documentation (x86_64 vs arm64)
- Environment variable configuration with .env file usage
- Debug mode examples and troubleshooting guide
- Provider configuration for Bedrock and Anthropic

Updated README with AgentCore Runtime deployment section and documentation links.
2025-07-25 21:59:13 +00:00

22 lines
599 B
Plaintext

# SRE Agent Environment Variables
# Copy this file to .env and fill in your actual values
# Anthropic API Key for Claude models
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Gateway Access Token (copy from gateway/.access_token)
# This token is used to authenticate with the SRE Gateway
GATEWAY_ACCESS_TOKEN=your_gateway_access_token_here
# LLM Provider Configuration
# Options: bedrock, anthropic
LLM_PROVIDER=bedrock
# Optional: AWS credentials if using AWS Bedrock
# AWS_PROFILE=your_aws_profile_name
# AWS_DEFAULT_REGION=us-east-1
# Optional: Debug settings
# DEBUG=true
# LOG_LEVEL=INFO