AWS Builder Center

Building a rooftop solar planner where AI explains and code calculates

homesol turns one tap on a satellite map into a complete rooftop solar plan: a real panel layout, a year of shadows traced to their causes, and the cost after subsidy. Here's how we built it with Strands Agents, Amazon Bedrock, AWS Lambda and Amazon Transcribe, how we kept Claude's answers tied to real numbers, and how we tested the advisor like software.

Building scalable systems, intelligent products, and real‑world solutions.

Building a rooftop solar planner where AI explains and code calculates

Ask three solar installers how many panels fit on your roof and you will get three different answers, three different prices, and no explanation of the tree next door. For a household weighing a purchase worth one or two lakh rupees, even after the PM Surya Ghar subsidy, that is how the decision usually gets made.
We built homesol so a household can find the answers themselves. Tap your roof on a map and, in about a minute, you see where each panel would go, what shades the roof and when, how much the system would generate, and what it would cost and save after subsidy. Then you can ask questions about your own plan in English or Hindi, by typing or by speaking.

The rule: models perceive and explain, code calculates

Ask a large language model "how much will I save with solar?" and it will give you a confident, plausible number. For a family about to spend a year's savings, plausible isn't good enough. So we split the work in two:
Deterministic code produces every number on screen: the roof's area, each obstruction's height, the shadows, the panel count, the generation, the subsidy and the payback.
Claude on Amazon Bedrock does three things code can't. It reads a photo of the electricity bill. It says what each measured obstruction is, such as "stair room" or "large tree cluster to the south-west". And it explains the plan in the household's own language.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article