## Inspiration
In many cities, getting a building permit takes longer than building the house. Contractors kept telling the same story: they submit an application, wait weeks, and get it back with a list of corrections: a missing drawing, a wrong setback, a form from the wrong city. Then they fix it, resubmit, and wait again.
Big cities are starting to fix this with AI pre-check tools on their side. But a small contractor working across several municipalities deals with a different rulebook in each one, and smaller towns often don't have these tools at all. We wanted to build something that works on the **contractor's side**, across cities, *before* they submit.
## What it does
**PermitPathAI** checks a contractor's permit application before it goes to City Hall:
1. The contractor uploads their application documents.
2. They choose the municipality they're applying to.
3. The AI checks the documents against that city's requirements and flags missing items, mistakes and inconsistencies.
4. Each issue comes with a plain-language explanation of how to fix it.
5. The contractor submits a correct application the first time.
Fewer rejections means fewer resubmission cycles, faster approvals and lower costs.
## How we built it
We built PermitPathAI on **Replit**, using AI coding tools to move fast and get a working prototype within the hackathon.
- **App:** Built and hosted on Replit, where contractors upload their permit documents and choose their municipality.
- **AI review:** An AI model reads the uploaded application and compares it against the requirements for the selected city.
- **Requirements data:** We connected the app to a IfcOpenShell database that engineers and builders already use, so the checks are based on real building rules.
- **Results:** The app returns a list of issues, each with an explanation of what's wrong and how to fix it before submitting to City Hall.
Using AI and Replit let our team focus on the problem and the user experience instead of setting up servers and infrastructure.
## Challenges we ran into
- **Every city is different.** Requirements, forms and bylaws vary between municipalities, so a single generic checklist doesn't work. That's why connecting to real requirements data was essential.
- **Accuracy matters.** A wrong "looks good" could cost a contractor weeks, so the AI's feedback has to be reliable and clear.
- **Limited time.** Building a working prototype during a hackathon meant choosing the core features carefully.
## What we learned
- Permit delays aren't only a city problem. Incomplete or incorrect applications cause much of the back-and-forth.
- Cities are already adopting AI pre-checks, which shows the demand, but contractors who work in multiple cities still lack one tool that covers them all.
- AI tools like Replit make it possible to go from idea to working product in days.
## What's next
- Add more municipalities, starting with small and mid-sized BC cities
- Help contractors respond to correction letters after submission
- Test with real contractors to measure how much time and money it saves