wali is a small pendant you wear on a cord. It hears what you say and what's said to you through the day, and helps you follow through: the call you said you'd return, the thing you promised to send, the hour that just went to your phone.
01Why we built it
Most of what we mean to do gets said out loud and then forgotten. We wanted something that catches those moments and quietly helps, without being one more app you have to open, and without feeling like surveillance.
02How it works
The pendant streams audio to your phone over Bluetooth, and the phone sends each finished conversation up to be transcribed, with speakers labeled. Then wali decides whether it's worth saying anything. Most of the time it isn't.
- 01Pendant
- ESP32 firmware that streams compressed audio over Bluetooth LE with our own protocol, and catches up on audio recorded while your phone was out of range.
- 02Knowing when to speak
- Rules first (quiet hours, caps, a cooldown after you dismiss a nudge), then a small model decides if anything is worth saying, then an agent picks: nothing, a nudge, a question, a follow-up, or an action.
- 03Memory
- A profile per person built from finished conversations, so the chat on your phone and the web knows what it has heard.
- 04Asking first
- wali can act in your apps or a browser, but anything that reaches people, spends money or deletes things waits for your OK on an approval card.
03The hard part
Keeping audio flowing while the phone is locked. iOS freezes timers in the background, kills apps that use too much CPU, and can relaunch an app with no screen at all. We moved the pipeline onto incoming Bluetooth events, cut idle CPU from about 20% to about 1%, and save every audio frame to disk before doing anything else, so a crash never loses a conversation.
About 30 integration tests run the real recorder, uploader and Bluetooth code against a simulated pendant and server.
04How it went
It didn't place, but it was a fun one to build, and it works pretty well: you put it on, forget about it, and every so often get a nudge on your phone that's actually useful.