An advanced Chrome extension that provides intelligent guidance for AWS Console workflows, combining traditional step-by-step instructions with AI-powered assistance. Built for Dubhacks 2025, this system makes AWS accessible to beginners while offering advanced AI capabilities for experienced users.
- Node.js 18+ and npm
- Python 3.8+ and pip
- Chrome browser (Manifest V3 compatible)
- AWS Account with Bedrock access
- AWS API Key (Bearer Token)
# Clone and setup everything
git clone <repository-url>
cd Dubhacks2025
./scripts/setup.sh
# Start both backends
./quick-start.sh
# Load Chrome extension and test!# 1. Install dependencies
cd lambda-backend && npm install
cd ../python-agent && pip install -r requirements.txt
# 2. Configure environment
cp env.example .env
# Edit .env with your API keys
# 3. Start backends
cd lambda-backend && npm run offline # Terminal 1
cd ../python-agent && python3 start-agent.py # Terminal 2
# 4. Load Chrome extension
# Open Chrome β Extensions β Developer mode β Load unpacked β Select 'extension' folder- Dual Backend System: Node.js Lambda backend for AWS guidance + Python Bedrock Agent for AI features
- Natural Language Input: Describe your AWS goals in plain English
- Visual Navigation Cues: Red pulsing borders and guidance panels highlight target elements
- Step-by-Step Guidance: Break down complex AWS workflows into manageable steps
- AI-Powered Analysis: Advanced element analysis and conversational AI
- Smart Page Detection: Automatically detects page changes and advances workflow
- Clickable Navigation: Direct links to AWS services with automatic page tracking
- Multi-Mode Interface: Explain, Do, Error Whisperer, and AI Chat modes
- Conversational AI: Ask questions and get intelligent responses
- Advanced Element Analysis: AI-powered analysis of AWS Console elements
- Tool Calling: AI can use tools like time, calculator, and element explanation
- AWS Expertise: Specialized knowledge about AWS services and best practices
- Error Troubleshooting: AI-powered error diagnosis and solutions
- EC2 Instance Launch: Complete 12-step workflow for launching EC2 instances
- S3 Static Website Hosting: Guide for hosting static websites
- RDS Database Setup: Database creation and configuration
- Lambda API Creation: Serverless API development
- Bedrock AI Integration: AI model invocation and analysis
- General AWS Navigation: Flexible guidance for any AWS service
- Purpose: Traditional AWS guidance and step-by-step instructions
- Technology: Express.js, Serverless Framework, AWS Lambda
- Features:
- AWS workflow plans
- Element explanations
- Error help
- Bedrock integration for content generation
- Purpose: Advanced AI capabilities and conversational interface
- Technology: Flask, boto3, AWS Bedrock
- Features:
- AI conversation
- Advanced element analysis
- Tool calling capabilities
- AWS expertise
- Purpose: User interface and AWS Console integration
- Technology: Manifest V3, Service Workers, Content Scripts
- Features:
- Visual guidance cues
- Multi-mode interface
- Smart backend selection
- Real-time status monitoring
Dubhacks2025/
βββ README.md # This comprehensive guide
βββ LICENSE # License file
βββ .env # Environment configuration
βββ .gitignore # Git ignore rules
βββ package.json # Root package configuration
βββ quick-start.sh # Quick start script
βββ start-backends.sh # Start both backends
β
βββ lambda-backend/ # Node.js Lambda Backend
β βββ index.mjs # Main Express application
β βββ bedrock-*.mjs # Bedrock integration files
β βββ package.json # Dependencies
β βββ serverless.yml # Serverless configuration
β βββ test-*.js # Test scripts
β
βββ python-agent/ # Python Bedrock Agent
β βββ src/
β β βββ app.py # Main application logic
β β βββ app_with_bearer.py # Bearer token authentication
β βββ start-agent.py # Agent startup script
β βββ template.yaml # AWS SAM template
β βββ requirements.txt # Python dependencies
β
βββ extension/ # Chrome Extension
β βββ manifest.json # Extension configuration
β βββ popup.html # Main popup interface
β βββ popup.js # Popup functionality
β βββ background.js # Service worker
β βββ content.js # Content script
β βββ enhanced-api.js # Smart API integration
β βββ enhanced-popup-integrated.html # Enhanced popup
β βββ icons/ # Extension icons
β
βββ cloudflare/ # Cloudflare Worker (Proxy)
β βββ worker.js # Worker script
β βββ wrangler.toml # Cloudflare configuration
β
βββ config/ # Configuration
β βββ index.js # Centralized configuration
β βββ env.js # Environment configuration
β
βββ testing/ # Testing Suite
β βββ run-all-tests.js # Comprehensive test runner
β βββ check-config.js # Configuration validation
β βββ demo-integration.js # Integration testing
β βββ test-both-systems.js # System testing
β βββ README.md # Testing documentation
β
βββ scripts/ # Utility scripts
β βββ setup.sh # Project setup
β
βββ docs/ # Additional documentation
# AWS Configuration
AWS_BEARER_TOKEN_BEDROCK=your-bedrock-api-key-here
AWS_DEFAULT_REGION=us-east-1
# Backend URLs
NODE_BACKEND_URL=https://api.thishurtyougave.select
NODE_BACKEND_LOCAL=http://localhost:3000/dev
PYTHON_AGENT_URL=http://localhost:5001
# Development
NODE_ENV=development
DEBUG=true
LOG_LEVEL=info
# Bedrock Model Configuration
BEDROCK_MODEL_ID=amazon.titan-text-express-v1
BEDROCK_MAX_TOKENS=1000
BEDROCK_TEMPERATURE=0.7- Port: 3000 (development)
- Endpoints:
/health,/plan,/explain-element,/error-help - Authentication: Bearer token for Bedrock API
- Port: 5001 (development)
- Endpoints:
/health,/agent,/explain-element - Authentication: Bearer token for Bedrock API
- Purpose: Traditional step-by-step AWS guidance
- Backend: Lambda backend
- Features: Workflow plans, element explanations, error help
- Purpose: Conversational AI assistance
- Backend: Python agent
- Features: AI conversation, AWS expertise, tool calling
- Purpose: Advanced element analysis
- Backend: Both systems (Python preferred, Lambda fallback)
- Features: Smart element analysis, AI-powered insights
- Test Element Analysis: Simulate element analysis
- Test AI Conversation: Test AI chat functionality
- Test AWS Guidance: Test traditional guidance
- Test Both Systems: Comprehensive integration test
- Lambda Setup: Pre-configured Lambda workflow
- EC2 Instance: Pre-configured EC2 workflow
- S3 Bucket: Pre-configured S3 workflow
- RDS Database: Pre-configured RDS workflow
# Run all tests
node testing/run-all-tests.js
# Run individual tests
node testing/check-config.js
node testing/demo-integration.js
node testing/test-both-systems.js
# Test individual backends
cd lambda-backend && npm run test-bedrock
cd python-agent && python3 -m pytest- Load extension in Chrome
- Navigate to AWS Console
- Test different modes and features
- Check browser console for debug information
# Test Lambda backend
curl http://localhost:3000/dev/health
# Test Python agent
curl http://localhost:5001/health
# Test AI conversation
curl -X POST http://localhost:5001/agent \
-H "Content-Type: application/json" \
-d '{"message":"Hello, what can you do?"}'- Both backends run locally
- Chrome extension uses localhost URLs
- Perfect for development and testing
- Deploy Lambda backend to AWS Lambda
- Deploy Python agent to AWS Lambda
- Update extension URLs to production endpoints
- Publish extension to Chrome Web Store
# Deploy Lambda backend
cd lambda-backend && npm run deploy
# Deploy Python agent
cd python-agent && sam deploy- Check status indicators: Extension shows backend status
- Verify ports: Ensure 3000 and 5001 are available
- Check environment variables: Verify API keys are set
- Reload extension: After making changes
- Check console: Look for error messages
- Verify permissions: Ensure extension has required permissions
- Check API key: Verify bearer token is correct
- Check region: Ensure AWS region is set
- Check model access: Verify Bedrock model access
Enable detailed logging by checking browser console for:
π Backend availability:β Found element with strategy:β οΈ AWS Console error detected
- Lambda Backend: Check terminal output
- Python Agent: Check terminal output
- Chrome Extension: Check browser console
- Lambda Backend: ~100-200ms response time
- Python Agent: ~500-2000ms response time (AI processing)
- Fallback System: Graceful degradation when backends unavailable
- Visual Cues: 60fps animations
- Element Detection: 11 robust search strategies
- Memory Usage: Minimal impact on browser performance
- Fork the repository
- Create a feature branch
- Make changes following the code style
- Test thoroughly
- Submit a pull request
- JavaScript: ES6+, modern Chrome extension practices
- Python: PEP 8, type hints where appropriate
- Documentation: Comprehensive comments and README updates
- Fork the repository
- Create a feature branch
- Make changes following the code style
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Dubhacks 2025: Hackathon platform and community
- AWS Bedrock: AI model capabilities
- Chrome Extension API: Modern extension development
- Community: Testing and feedback
For issues, questions, or contributions:
- Check the troubleshooting section
- Review console logs for debug information
- Test with provided demo scripts
- Submit issues with detailed reproduction steps
AWS Tutor - Making AWS accessible through intelligent guidance and AI assistance π
Built for Dubhacks 2025 - Empowering developers to master cloud infrastructure with the power of AI