Multi-agent system using Google ADK and Gemini to analyze room photos, plan renovations, and generate photorealistic renderings.
### π FREE Step-by-Step Tutorial
**π [Click here to follow our complete step-by-step tutorial](https://www.theunwindai.com/p/build-an-ai-home-renovation-planner-agent-using-nano-banana) and learn how to build this from scratch with detailed code walkthroughs, explanations, and best practices.**
A multi-agent system built with Google ADK that analyzes photos of your space, creates personalized renovation plans, and generates photorealistic renderings using Gemini 3 Flash and Gemini 3 Pro's multimodal capabilities.
## Features
- **π Smart Image Analysis**: Upload room photos and inspiration images - agent automatically detects and analyzes them
- **π¨ Photorealistic Rendering**: Generates professional-quality images of your renovated space using Gemini 3 Pro
- **π° Budget-Aware Planning**: Tailors recommendations to your budget constraints
- **π Complete Roadmap**: Provides timeline, budget breakdown, contractor list, and action checklist
- **π€ Multi-Agent Orchestration**: Demonstrates Coordinator/Dispatcher + Sequential Pipeline patterns
- **βοΈ Iterative Refinement**: Edit generated renderings based on feedback
## How It Works
The system uses a **Coordinator/Dispatcher pattern** with three specialized agents:
1. **Visual Assessor** πΈ
- Analyzes uploaded room photos (layout, condition, dimensions)
- Extracts style from inspiration images
- Estimates costs and identifies improvement opportunities
2. **Design Planner** π¨
- Creates budget-appropriate design plans
- Specifies exact materials, colors, and fixtures
- Prioritizes high-impact changes
3. **Project Coordinator** ποΈ
- Generates comprehensive renovation roadmap
- Creates photorealistic rendering of renovated space
- Provides budget breakdown, timeline, and action steps
## Quick Start
1. **Clone the repository**
```bash
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/advanced_ai_agents/multi_agent_apps/ai_home_renovation_agent
```
2. **Install dependencies**
```bash
pip install -r requirements.txt
```
3. **Set up your API key**
```bash
export GOOGLE_API_KEY="your_gemini_api_key"
```
Or create a `.env` file:
```
GOOGLE_API_KEY=your_gemini_api_key
```
4. **Launch ADK Web**
```bash
cd multi_agent_apps
adk web
```
5. **Open browser** and select "ai_home_renovation_agent"
## Usage Examples
### Scenario 1: Current Room + Budget
```
[Upload photo of your kitchen]
"What can I improve here with a $5k budget?"
```
β Agent analyzes your space, suggests budget-friendly improvements, generates rendering
### Scenario 2: Room + Inspiration
```
[Upload photo 1: your kitchen]
[Upload photo 2: Pinterest inspiration]
"Transform my kitchen to look like this. What's the cost?"
```
β Agent extracts style from inspiration, applies to your room, provides budget + rendering
### Scenario 3: Text Only
```
"Renovate my 10x12 kitchen with oak cabinets and laminate counters.
Want modern farmhouse style with white shaker cabinets. Budget: $30k"
```
β Agent creates design plan and generates rendering from description
### Scenario 4: Iterative Refinement
```
[After initial rendering]
"Make the cabinets cream instead of white"
"Add pendant lights over the island"
"Change flooring to lighter oak"
```
β Agent refines the rendering with your feedback
## Sample Prompts
- "I want to renovate my small galley kitchen. It's 8x12 feet, has oak cabinets from the 90s. I love modern farmhouse style. Budget: $25k"
- "My master bathroom is tiny (5x8) with a cramped tub. I want a spa-like retreat with walk-in shower. Budget: $15k"
- "Transform my boring bedroom into a cozy retreat. Thinking accent wall, new flooring. Budget: $12k"
## Tools & Capabilities
- **google_search**: Finds renovation costs, materials, and trends
- **estimate_renovation_cost**: Calculates costs by room type and scope
- **calculate_timeline**: Estimates project duration
- **generate_renovation_rendering**: Creates photorealistic renderings
- **edit_renovation_rendering**: Refines renderings based on feedback
- **Versioned artifacts**: Automatic version tracking for all renderings
## Multi-Agent Pattern
Demonstrates **Coordinator/Dispatcher + Sequential Pipeline**:
```
Coordinator (Root Agent)
βββ Info Agent (quick Q&A)
βββ Planning Pipeline (Sequential)
βββ Visual Assessor (image analysis)
βββ Design Planner (specifications)
βββ Project Coordinator (rendering + roadmap)
```
**Why this pattern?**
- Efficient: Only runs workflows that are needed
- Modular: Each agent has clear responsibilities
- Scalable: Easy to add new features
- Production-ready: Real-world agentic system pattern