Inspiration
My grandparents call me every week with the same questions: "Where is the File menu?", "How do I make the screen lighter?" — and once, "The bank says I need to update my KYC." Text tutorials don't help someone who can't find the File menu, and screen-sharing needs me to be free. I wanted something that sits on their screen, points at the exact button, and steps in before a scam page gets their details.
Halloween gave it a personality. Instead of cold red arrows, every spooky effect does a job:
- 🕷️ a spider drops onto the exact control to click, glowing footprints lead the eye, and the app you need glows in the Dock
- 🕯️ candles count the steps; a lantern finds your pointer when you shake the mouse
- ❄️ frost creeps over a scam page and the ghost says "Don't enter your bank details — call your family first"
- 🎃 pumpkins land on window title bars and you can throw them into an R.I.P. tombstone on the Trash: the haunting is cozy, never scary
What it does
Click the ghost and type what you need ("make a new folder", "turn on light mode"). Wailo:
- Plans: known tasks use offline built-in guides or the Grimoire (steps it has learned). New tasks ask our planning API.
- Finds the real button in the macOS Accessibility tree (Dock, menu bar, open menus, window controls) and drops the spider on its exact frame.
- Waits for the click in the right place, then moves to the next step. If it can't see a control, a séance asks the user to click it once and remembers it.
- Watches the browser locally and frosts the screen when a page looks like a scam.
How we built it
On the Mac (Swift, SpriteKit, AppKit, Accessibility API). A click-through overlay window per display draws the spider, the footprints, the fog and the pumpkins. Guidance runs as a small state machine. Every delayed callback carries a generation token, so a cancelled guide can never draw late. Nothing visual leaves the Mac: no screenshots, URLs or window titles.
On AWS (ap-south-1). For tasks Wailo doesn't know, only the task text goes to our Node.js/Express API on Amazon EC2 (pm2, Elastic IP).
- Amazon Bedrock Titan embeds the task.
- pgvector on Amazon Aurora PostgreSQL looks for a plan someone already needed.
- On a miss, Gemini writes a fresh plan, and we save it, so the next grandparent gets it free.
A cached plan is reused when the cosine similarity of the two embeddings is high enough:
$$\text{sim}(\mathbf{a},\mathbf{b}) = \frac{\mathbf{a}\cdot\mathbf{b}}{\lVert\mathbf{a}\rVert\,\lVert\mathbf{b}\rVert} \ge 0.92$$
The bar drops to 0.85 when the model quota runs out.
With Kiro. I first prototyped quickly outside Kiro to learn what breaks in a macOS overlay app. I didn't carry that code forward. I carried its lessons, as steering and a requirements spec, and Kiro rebuilt Wailo from the spec in a fresh repo.
- Hooks gated every change.
- A custom MCP server let Kiro see and measure the haunted desktop.
- Custom agents, run through Kiro CLI, reviewed the code.
- Property-based tests checked the math.
Challenges we ran into
- Coordinates. macOS has three coordinate spaces: AppKit's bottom-left origin, the Accessibility API's top-left origin, and SpriteKit scene coordinates, across multiple displays. A spider 30 px off is worse than no spider at all. Property tests over 1,000 random displays found sub-ULP drift on large negative display origins that my hand-picked examples never hit.
- Overlay windows that don't steal focus.
NSPanel.isFloatingPanelsilently resets the window level, and a clickable overlay that activates steals the user's click. Each of these became a steering rule. - Stale Accessibility frames. Finder keeps reporting on-screen frames for a closed menu, so the guide pointed at "Redo" in the Edit menu instead of "New Folder". The fix was to search only the menu that is actually open (
AXSelected). - The cloud running out. When the model quota ran out, the backend's fallback returned a cached dark mode plan for "turn on light mode". I added a polarity guard: if the plan says the opposite of the request (light/dark, on/off, mute/unmute…), it retries once without the cache and refuses if the plan is still wrong. The common guides also became offline built-ins.
Accomplishments that we're proud of
- Spec-first paid off. Kiro's critique found 6 contradictions in my own spec before any code was written. For example, "danger overrides everything" contradicted "cancel always returns to idle".
- 45 tests, plus 9 properties × 1,000 generated cases, with CI green on macOS 15.
- A blocking privacy-guard hook that stopped an agent from logging a window title.
- 0.66 % idle CPU, measured by Kiro itself through our MCP server.
What we learned
- A one-sentence request leaves the cross-cutting rules implicit, and a spec makes them part of "done". In a timed test, a vibe-coded feature shipped with 2 bugs and 0 tests. The same kind of feature built spec-first came with its edge cases and a property test.
- Turning every prototype bug into a steering rule meant Kiro never had to rediscover it.
- For accessibility tools, precision beats recall. When unsure, ask the user. Never point confidently at the wrong thing.
What's next for Wailo
Voice in Hindi and other Indian languages, a family dashboard so grandkids can push a guide remotely, and more offline guides for the top 50 tasks older users ask about.
Built With
- amazon-aurora
- amazon-bedrock
- amazon-ec2
- amazon-titan-embeddings
- amazon-web-services
- appkit
- express.js
- gemini-api
- github-actions
- kiro
- kiro-cli
- kiro-hooks
- kiro-specs
- macos-accessibility-api
- mcp
- model-context-protocol
- node.js
- pgvector
- postgresql
- property-based-testing
- sprite-kit
- swift
- swiftui
- typescript