# Agent 5 — Revenue Projector Agent

**Build Priority:** 6
**Time to Build:** 2–3 days
**Impact:** ⭐⭐⭐ — Nice to have, manual works too
**Cost/Month:** $5

## What It Does

When a lead is qualified and a pitch meeting is booked, auto-generates a complete, customized revenue projection for that specific property. This becomes Slide 10 in the pitch deck and the centerpiece of the leave-behind packet.

## Inputs

- Property address and details (bedrooms, baths, amenities)
- AirDNA MarketMinder data for that ZIP code
- Seasonality data, local event calendar

## Outputs

- Customized revenue projection (3 scenarios: conservative / expected / optimistic)
- Formatted as PDF + slides
- Embedded into the pitch deck (Agent 6)

## How to Build

```python
class RevenueProjectorAgent:
    def __init__(self, airdna_api_key): ...

    def fetch_comps(self, zip_code, bedrooms):
        """Pull comparable properties from AirDNA"""
        comps = airdna.get_market_comps(zip_code=zip_code, bedrooms=bedrooms, radius_miles=2)
        return comps

    def calculate_projection(self, comps, property_details):
        """Generate 3 scenarios: conservative, expected, optimistic"""
        avg_nightly = comps['avg_daily_rate'].median()
        avg_occupancy = comps['occupancy_rate'].median()
        # ... calculation logic for 3 scenarios
        return conservative, expected, optimistic

    def generate_pdf(self, projection, output_path): ...
    def generate_slide(self, projection): ...
```

## Three Scenarios

| Scenario | Nightly | Occupancy | Monthly Gross | Net (after 20%) |
|----------|---------|-----------|--------------|-----------------|
| Conservative | -10% | -15% | Adjusted | Calculated |
| Expected | AVG | AVG | AVG | Calculated |
| Optimistic | +10% | +10% | Adjusted | Calculated |

## Trigger

Calendly booking created → webhook fires → Agent 5 runs → output feeds Agent 6
