AI-powered home renovation planning with multi-agent orchestration, visual analysis, and photorealistic rendering using Google's Gemini 2.5 Flash
SmartHome Architect Agent is an intelligent multi-agent system that revolutionizes home renovation planning. Upload photos of your space and inspiration images, and watch as AI agents collaborate to analyze your room, create detailed design plans, estimate budgets, and generate photorealistic renderings of your transformed space.
- πΈ Visual Intelligence - Upload photos of your current space for AI-powered analysis
- π¨ Style Transfer - Share inspiration images to match your desired aesthetic
- π° Smart Budgeting - Get realistic cost estimates tailored to your budget constraints
- πΌοΈ Photorealistic Rendering - Generate professional-quality visualizations of your renovated space
- π Iterative Refinement - Easily modify renderings with natural language ("make cabinets darker")
- π€ Multi-Agent Orchestration - Specialized AI agents work together seamlessly
- π Complete Planning - Timeline, budget breakdown, contractor list, and action checklist
Transform your renovation planning process:
Before SmartHome Architect:
- β Struggle to visualize renovation outcomes
- β Uncertain about costs and timelines
- β Difficult to communicate ideas to contractors
- β Expensive to hire design consultants
With SmartHome Architect:
- β See your renovated space in photorealistic detail
- β Get accurate budget estimates and timelines
- β Communicate your vision clearly with professional renderings
- β Plan confidently with AI-powered recommendations
This project demonstrates Google ADK's Coordinator/Dispatcher Pattern with specialized agents:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HomeRenovationPlanner (Coordinator) β
β Routes requests to specialists β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββ
β
ββββββββββββΌββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββ ββββββββββ ββββββββββββββββ
β Info β βRender β β Planning β
β Agent β βEditor β β Pipeline β
ββββββββββ ββββββββββ ββββββββ¬ββββββββ
β
ββββββββββββββΌβββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββββ βββββββββββ βββββββββββββ
β Visual β β Design β β Project β
βAssessor β β Planner β βCoordinatorβ
ββββββββββββ βββββββββββ βββββββββββββ
| Agent | Role | Key Functions |
|---|---|---|
| Coordinator | Routes requests | Analyzes user intent, delegates to specialists |
| Info Agent | Q&A | Answers general questions, provides system info |
| Render Editor | Refinement | Modifies existing renderings based on feedback |
| Visual Assessor | Analysis | Examines photos, detects room type, identifies issues |
| Design Planner | Specifications | Creates detailed design plans with materials & colors |
| Project Coordinator | Execution | Generates renderings, timelines, budget breakdowns |
Why This Pattern?
- π― Efficient - Only runs workflows that are needed
- π§© Modular - Each agent has clear, focused responsibilities
- π Scalable - Easy to add new capabilities
- π Production-Ready - Real-world agentic system design
- Python 3.10 or higher
- Google API Key (Gemini 2.5 Flash)
- Google ADK 1.15.0+
- Clone the repository
git clone https://github.com/nobitanobi22/SmartHome-Architect-Agent.git
cd SmartHome-Architect-Agent- Install dependencies
pip install -r requirements.txt- Set up your API key
Get your API key from Google AI Studio
Option A: Environment Variable
export GOOGLE_API_KEY="your_gemini_api_key_here"Option B: .env File
echo "GOOGLE_API_KEY=your_gemini_api_key_here" > .env- Launch ADK Web Interface
adk web- Open in browser
Navigate to http://localhost:8000 and select "SmartHome Architect Agent"
User: "What can I improve in my kitchen with a $15k budget?"
[Upload photo of current kitchen]
β Agent analyzes space
β Suggests budget-friendly upgrades
β Generates before/after rendering
β Provides timeline and contractor list
User: "Transform my bathroom to look like this"
[Upload photo 1: Current bathroom]
[Upload photo 2: Pinterest inspiration - modern spa bathroom]
β Visual Assessor extracts style from inspiration
β Design Planner applies style to your space
β Project Coordinator generates photorealistic rendering
β Complete budget breakdown provided
User: "Renovate my 12x14 bedroom. It has beige carpet and boring white walls.
I want a cozy modern aesthetic with darker walls, hardwood floors, and
better lighting. Budget: $10,000"
β Agent creates design plan from description
β Generates rendering based on specifications
β Provides detailed renovation roadmap
[After initial rendering is generated]
User: "Make the cabinets cream instead of white"
β Rendering Editor updates cabinet color
User: "Add pendant lights over the island"
β Lighting fixtures added
User: "Change the flooring to lighter oak"
β Floor material updated
All changes versioned automatically (v1, v2, v3...)
Kitchens:
- "Small galley kitchen (8x12), oak cabinets from 90s. Want modern farmhouse. Budget: $25k"
- "Outdated kitchen with dark cabinets and laminate counters. Make it bright and airy. $30k budget"
Bathrooms:
- "Tiny bathroom (5x8) with cramped tub. Want spa-like retreat with walk-in shower. $15k"
- "Master bath renovation, upgrade to marble and luxury fixtures. Budget: $35k"
Bedrooms:
- "Boring 10x12 bedroom needs personality. Thinking accent wall, better lighting. $8k"
- "Convert spare room into cozy home office. Need built-ins and good lighting. $12k"
Living Rooms:
- "Open concept living room feels cold. Want warmer colors, better furniture layout. $20k"
- "1970s living room stuck in time. Modernize everything. Budget: $40k"
| Tool | Purpose | Example |
|---|---|---|
google_search |
Find renovation costs, materials, trends | "search for 2024 quartz countertop prices" |
estimate_renovation_cost |
Calculate costs by room type and scope | kitchen, moderate, 120 sq ft |
calculate_timeline |
Estimate project duration | cosmetic bathroom β 2-3 weeks |
generate_renovation_rendering |
Create photorealistic images | 16:9 aspect ratio, ultra-detailed |
edit_renovation_rendering |
Refine existing renderings | "make walls lighter gray" |
list_renovation_renderings |
View all generated versions | v1, v2, v3 tracking |
- Resolution: 8K quality, photorealistic
- Aspect Ratios: 16:9 (default), 1:1, 9:16
- Style: Professional interior photography
- Lighting: Natural, bright, magazine-quality
- Version Control: Automatic versioning (v1, v2, v3...)
1. π€ User Input
β
2. π§ Coordinator Analyzes Intent
β
3. πΈ Visual Assessor Analyzes Photos
ββ Detects room type automatically
ββ Identifies current condition
ββ Extracts style from inspiration
ββ Estimates initial costs
β
4. π¨ Design Planner Creates Specifications
ββ Budget-conscious material selection
ββ Color palette (with exact codes)
ββ Fixture and appliance choices
ββ Timeline estimation
β
5. ποΈ Project Coordinator Generates Deliverables
ββ Photorealistic rendering
ββ Detailed budget breakdown
ββ Timeline with phases
ββ Contractor recommendations
ββ Action checklist
β
6. β
Results Delivered to User
Frontend: Google ADK Web Interface Backend: Python with Google GenAI SDK Image Generation: Gemini 2.5 Flash (multimodal) Pattern: Coordinator/Dispatcher + Sequential Pipeline State Management: Tool Context with version tracking
Kitchen Renovation
- Current: Dated oak cabinets, laminate counters, poor lighting
- Generated: Modern white shakers, quartz counters, recessed lighting
- Budget: $28,000 | Timeline: 8-10 weeks
Bathroom Upgrade
- Current: Cramped 5x8 with tub
- Generated: Spa-like walk-in shower, marble tiles, modern fixtures
- Budget: $16,500 | Timeline: 4-6 weeks
Bedroom Refresh
- Current: Boring beige carpet, white walls
- Generated: Accent wall (navy), hardwood floors, modern lighting
- Budget: $9,200 | Timeline: 2-3 weeks
SmartHome-Architect-Agent/
βββ agent.py # Main multi-agent orchestration
βββ tools.py # Image generation & editing tools
βββ __init__.py # Package initialization
βββ requirements.txt # Python dependencies
βββ README.md # This file
βββ SETUP.md # Detailed setup guide
βββ USAGE.md # Advanced usage patterns
βββ .env.example # Environment template
βββ .gitignore # Git exclusions
Costs per square foot:
| Room Type | Cosmetic | Moderate | Full | Luxury |
|---|---|---|---|---|
| Kitchen | $50-100 | $150-250 | $300-500 | $600-1200 |
| Bathroom | $75-125 | $200-350 | $400-600 | $800-1500 |
| Bedroom | $30-60 | $75-150 | $150-300 | $400-800 |
| Living Room | $40-80 | $100-200 | $200-400 | $500-1000 |
- Cosmetic: 1-2 weeks (paint, fixtures, minor updates)
- Moderate: 3-6 weeks (some structural work)
- Full: 2-4 months (complete transformation)
- Luxury: 4-6 months (custom work, high-end finishes)
Contributions are welcome! Here are ways you can help:
- π Report bugs and issues
- π‘ Suggest new features or improvements
- π Improve documentation
- π§ Submit pull requests
# Fork and clone
git clone https://github.com/YOUR_USERNAME/SmartHome-Architect-Agent.git
# Create feature branch
git checkout -b feature/your-feature-name
# Make changes and test
adk web
# Commit and push
git commit -m "feat: your feature description"
git push origin feature/your-feature-name
# Open pull request- Google ADK Documentation: https://google.github.io/adk-docs/
- Gemini API Docs: https://ai.google.dev/docs
- Multi-Agent Patterns: https://google.github.io/adk-docs/agents/multi-agents/
- Image Generation Guide: https://ai.google.dev/gemini-api/docs/vision
πΊ Step-by-Step Video Tutorial: Coming soon!
Learn how to build this from scratch with detailed explanations of:
- Multi-agent orchestration patterns
- Visual analysis with Gemini 2.5 Flash
- Image generation and editing workflows
- State management and version control
- Images: Uploaded photos are processed in-memory only
- API Keys: Never logged or stored in conversation history
- Data: No renovation data saved externally
- Renderings: Stored locally in session artifacts only
Issue: "GOOGLE_API_KEY not set"
# Solution: Export your API key
export GOOGLE_API_KEY="your_key_here"
# Or create .env fileIssue: "Model not found"
# Solution: Ensure you're using correct model name
model="gemini-2.5-flash"Issue: "Image generation failed"
# Solution: Check prompt is detailed enough
# Minimum: room type, style, colors, materialsIssue: "Rendering edit doesn't work"
# Solution: Ensure rendering was generated first
# Check version history with list_renovation_renderingsFor more troubleshooting, see USAGE.md
This project is licensed under the MIT License - see the LICENSE file for details.
- Google ADK Team - For the excellent agent development framework
- Gemini Team - For powerful multimodal AI capabilities
- Open Source Community - For inspiration and collaboration
For questions, suggestions, or collaborations:
- GitHub: @nobitanobi22
- Repository: https://github.com/nobitanobi22/SmartHome-Architect-Agent
- Issues: https://github.com/nobitanobi22/SmartHome-Architect-Agent/issues
- β Multi-agent orchestration (Coordinator/Dispatcher)
- β Visual analysis of room photos
- β Style extraction from inspiration images
- β Photorealistic rendering generation
- β Iterative rendering refinement
- β Budget and timeline estimation
- π 3D room scanning integration
- π AR preview on mobile devices
- π Material cost database integration
- π Contractor matching system
- π Project management dashboard
- π Multi-room renovation planning
- π Virtual staging for real estate
- π Energy efficiency recommendations
- π Smart home integration suggestions
- π ROI calculators for resale value
- π Community sharing of designs
β If you find this project useful, please star it on GitHub! β
Built with β€οΈ using Google ADK and Gemini AI