4d745f78bd
* Add Cost Optimization Agent use case - Single-agent LLM-powered AWS cost monitoring and optimization - Uses Strands framework with Claude 3.5 Sonnet - Includes 5 tool functions for cost analysis - Supports Cost Explorer, Budgets, and CloudWatch APIs - Complete deployment automation with Python SDK - Comprehensive documentation and architecture diagram * Update CONTRIBUTORS.md Add contributor name to CONTRIBUTORS.md * Fix linting errors in cost-optimization-agent - Remove unused imports: get_budget_status, forecast_budget_overrun, calculate_burn_rate from cost_optimization_agent.py - Remove unused json import from test_local.py - Remove unused Optional import from budget_tools.py - Fix f-strings without placeholders in test_agentcore_runtime.py Resolves python-lint check failures. * Address security review feedback and fix build issues - Fixed LICENSE reference from MIT to Apache License 2.0 - Replaced all 'AWS Bedrock' with 'Amazon Bedrock' service name standardization - Added AI/GenAI Usage Disclosure section explaining Claude 3.5 Sonnet usage - Added Bias and Fairness Considerations section - Enhanced Data Privacy section with classification and retention policies - Added Data Encryption and Key Management section to ARCHITECTURE.md - Fixed import issues by removing references to missing optimization_tools.py and memory_tools.py - Updated tools/__init__.py to only import existing modules - Fixed deploy.py required files list - Aligned dependency versions between requirements.txt and pyproject.toml - All Python files now compile and import successfully Ready for aws-samples publication with proper security documentation and compliance measures. * Fix Python code formatting with ruff format - Applied ruff format to all Python files to fix CI linting failures - Standardized quote usage (single to double quotes) - Improved line length and multiline formatting - Added proper whitespace and blank lines between functions - Fixed docstring formatting and trailing spaces - No functional changes - purely cosmetic formatting improvements Resolves Python Code Quality check failures in CI pipeline. * docs: restructure cost optimization agent documentation - Remove images/README.md (not present in other projects) - Restructure main README.md to be concise and focused on getting started - Add comprehensive AI agent introduction and overview - Include architecture diagram on main page - Move detailed deployment instructions to DEPLOYMENT.md - Maintain required sections: AI/GenAI usage disclosure, bias considerations, contributing guidelines - Update license section to follow repository standards - Improve natural flow and readability * Fix dependency versions and update documentation * Enhance cost optimization agent cleanup and deployment * Fix ruff linting issues and format code
34 lines
671 B
TOML
34 lines
671 B
TOML
[project]
|
|
name = "cost-optimization-agent"
|
|
version = "1.0.0"
|
|
description = "AWS Cost Optimization Agent using Amazon Bedrock AgentCore"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"bedrock-agentcore>=0.2.0",
|
|
"bedrock-agentcore-starter-toolkit>=0.2.0",
|
|
"strands-agents>=0.1.0",
|
|
"boto3>=1.34.0",
|
|
"botocore>=1.34.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.7.0",
|
|
"ruff>=0.0.285",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py310']
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|