This document explains the dependencies used in the AutoOps Retail Optimization system.
- strands: AWS Strands Agents framework for multi-agent orchestration and communication
- boto3/botocore: AWS SDK for Python, used for Bedrock (Claude) integration
- chromadb: Vector database for agent memory and decision storage
- numpy: Numerical computing support for embeddings and calculations
- fastapi: Modern, fast web framework for building APIs
- uvicorn: ASGI server for running FastAPI applications
- python-multipart: Support for form data and file uploads in FastAPI
- pydantic: Data validation and settings management using Python type annotations
- pydantic-settings: Settings management with environment variable support
- python-dotenv: Load environment variables from .env files
- httpx: Modern HTTP client for Python with async support
- structlog: Structured logging for better observability
- pytest: Testing framework
- pytest-asyncio: Async support for pytest
- pytest-mock: Mock object support for testing
- anyio: Async I/O library compatibility
- black: Code formatter
- isort: Import sorter
- mypy: Static type checker
- ruff: Fast Python linter
- pre-commit: Git hooks for code quality
- streamlit: Alternative Python-based dashboard (React dashboard is preferred)
- pandas: Data manipulation and analysis
- matplotlib: Plotting library
- seaborn: Statistical data visualization
The React.js dashboard has its own dependency management in dashboard/package.json:
- react: React library
- react-dom: React DOM rendering
- typescript: TypeScript support
- @radix-ui/react-slot: Accessible UI primitives
- lucide-react: Icon library
- tailwindcss: Utility-first CSS framework
- class-variance-authority: Utility for creating variant-based component APIs
- recharts: React charting library for metrics visualization
- vite: Fast build tool and dev server
- eslint: JavaScript/TypeScript linter
- @playwright/test: End-to-end testing framework
- @testing-library/react: React testing utilities
# Install core dependencies
pip install -e .
# Install with development dependencies
pip install -e .[dev]
# Install with all optional dependencies
pip install -e .[dev,dashboard,simulation]cd dashboard
npm installTo validate that all dependencies are properly installed:
python scripts/validate_dependencies.py- Python: >=3.9
- Node.js: >=18.0 (for React dashboard)
- AWS CLI: Configured with appropriate permissions for Bedrock
- Amazon Bedrock: For Claude model access
- AWS IAM: For service permissions
- AWS CloudWatch: For logging (optional)
Key environment variables that need to be configured:
# AWS Configuration
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
# Application Configuration
ENVIRONMENT=development
LOG_LEVEL=INFO
HOST=0.0.0.0
PORT=8000
# Database Configuration
CHROMA_PERSIST_DIRECTORY=./data/chromaSee .env.example for a complete list of configuration options.