This post is written as part of the Kiroween 2026 hackathon. It is about Aavi, a lead water pipe lookup, and what I learned building its engine with Kiro.
The letter
A parent mixing formula with tap water gets a letter from the city. It says the lead status of the pipe into her home is "unknown".
Since October 2024, every US water utility has had to keep a public record of what each service line is made of. The rule is 40 CFR 141.84. The records exist. But each utility publishes them its own way, on its own server, with its own words for lead. Most families never find them.
Detroit is one example of how common "unknown" is. Its own record, which I read live on 4 December at 17:17 UTC, says this: 203,276 of 253,961 service line records say unknown. That is 80 percent. 16,793 say lead.
What Aavi does
Aavi (said AH-vee) is Tamil for ghost, and also for steam. You type an address. Aavi asks the Census geocoder to find it, then asks your utility's own server for the record at that address. You see both sides of the line, the raw value the utility published, the source link and the record's own date. If the record says unknown, Aavi says unknown. It never says a pipe is fine, and it keeps no address.
It reads ten publishers today, from Detroit and Philadelphia to Norfolk and the whole of New York State. They publish through three kinds of server: ArcGIS, Socrata and CKAN, each city with its own words for lead. Aavi stitches all ten into one answer in EPA's four classes.
Specs first
I did not start with code. Kiro works from specs: requirements, a design and a task list. The requirements are written as WHEN, THE and SHALL statements. The design holds numbered properties, each a plain statement a test has to keep true. The first one for the classifier says the overall class is non-lead only if every part is non-lead.
The two repos now hold 23 spec folders, 14 in the product and 9 in the Crew App. The task lists hold 1,408 ticked lines. Kiro wrote the engine, the four API routes, the Kiro power and the Crew App up to 3 December from them. On 3 December, with a day left, I moved the rest of the work to Claude Code, another AI coding tool: the website pages, the docs and the fixes since. Both READMEs list exactly which parts. I set the direction and checked every result.
Rules written once
Steering files hold the rules every change must keep. The safety file has numbered rules. One says a value reads non-lead only when its whole value is on that city's non-lead list. A blank, a typo or a spreadsheet error like "Err:508" reads unknown. Another says the product never uses a word of reassurance. The strongest thing Aavi says is that the utility's record says non-lead, as of a date. The specs repeat the rule numbers they touch, so a rule is written once and every spec points to it.
A city is one data file
Each city is one JSON file. A Kiro hook watches those files. Every time Kiro saves one, the hook runs the gate against the live city server, then the build and the tests, and writes a report. I proved it live in Kiro IDE 1.5.37: three saves, three hooks each. The save with a bad value printed gate: fail bad-spec; utilitySide.official.classMap.CU.
Two things surprised me. A save hook's output never reaches the agent, so I added a second hook of the agent kind that carries the report into the chat and makes Kiro stop and ask me before it changes the file again. And a timeout set inside the action is silently dropped, leaving 60 seconds, so the timeout sits at the hook level. Both are written down in the spec.
The check that changed the product
An accuracy check draws real records from each city's own server, types the address the way a visitor would, and checks that Aavi finds the very record. It showed me that the Census geocoder replaces an address that does not exist with the nearest real one. A lookup could answer for a home the visitor never typed. Now Aavi shows the real address and asks you to confirm it.
The numbers from 3 December: 994 random records, 878 answered, and every one of the 878 was the right record. Zero wrong. I also tried 477 altered addresses, with a changed house number, an added letter or a swapped direction or suffix. None landed on the drawn home's record, and 476 were shown back for confirmation. Aavi refused 64, and in 52 more the visitor could not pick one line. That is the right answer when it cannot be sure.
Failing tests I kept
Kiro stores each property test's last result next to the task list. There are 211 saved results: 194 passed, 16 failed and 1 unexpected pass. Most of the failures are on purpose. Kiro wrote the tests first and ran them on the unfixed code.
One was a real catch. The no-address test failed on the first version of the census code, because a result carried an address-shaped value. The task is ticked after the fix, and the stored result still shows the failing run.
The Crew App and the agent
A Kiro Crew App, aavi-watch, counts every source each day as a plain command that spends no model credits. It hashes each source's field list. When a city changes how it publishes, the website stops answering for that city, and an agent can open one pull request. The agent edits one city's settings and recordings, and it cannot merge. A change in a city's field list starts it. A falling count only raises a flag. It runs at most 3 times a day.
Norfolk, Virginia came in this way. On 30 November the agent opened pull request 1 on my repo: one data file and ten test recordings. I merged it. The run took about 19 minutes. The first try opened nothing. Two of my own tests held a fixed list of cities and failed, and fixing a test was outside the agent's scope, so it stopped. That was my miss, not the agent's.
What I could not prove
The em-dash guard hook fired on three saves, but no file shows Kiro refusing a write that held an em-dash. The city gate has been proved on an existing file, not on a brand-new one. The pass counts on the docs page come from the folders, not from a run that day. And the rule that a code owner must approve lives in GitHub settings only I can open. What anyone can see is the rule at work once: the Norfolk pull request, opened by the bot, approved and merged from my account. The full list is at https://aavi.vercel.app/docs/kiro.
Where it stands
Aavi is free for families and open source under MIT.
Open https://aavi.vercel.app and press the first demo button under the address box.
It looks up a city-owned building in Detroit and needs no typing. The demo video is at https://youtu.be/ePeKQokTw8M.
The code is at https://github.com/ramakrishnanhulk20/aavi and the Crew App is at https://github.com/ramakrishnanhulk20/aavi-watch.
Aavi shows what a utility's record says. It is not a water test and not medical advice.