The itch
Off-the-shelf voice assistants send everything to the cloud, treat every voice the same, and give you no idea what each question costs. I wanted one for our house that was private by default, aware of who's asking, and cheap to run.
What I built
AEGIS has one brain and several front doors: an always-on voice assistant, a Telegram bot, and a command line. Whichever door you use, it knows who you are, and your permissions follow you, not the device.
- Voice stays at home. The wake word, recognising who's speaking, speech-to-text and text-to-speech all run on the computer itself. Nothing leaves the house until there's a real request.
- Each person gets their own permissions. It checks what you're allowed to do before any AI model is involved, on every channel.
- Modules plug in. A new skill or a new channel slots in without touching the core.
- It can suggest its own improvements, but can't apply them. Proposed changes arrive as code diffs that a person has to approve.
How AI helped
Claude built most of it with me, and it's also the brain at runtime, behind a single gateway that routes and budgets every call.
- Simple, known questions get answered by plain code, using no AI at all.
- Quick classification goes to Claude's smallest, cheapest model.
- Bigger requests go to larger models. If the budget runs low, it steps down to a cheaper model instead of failing.
It also runs fully offline in a demo mode, with stand-ins for every service, so it can be tested without a microphone or an API key.
What it gave back
The family's small stuff, handled. On cost, in one logged sample session of 18 interactions, 61% were answered without calling an AI model at all, and the whole session cost less than a cent.
What I'd do differently
Fewer modules, finished properly. Several are still stubs and conversation mode has open bugs. I'd rather have five things that work every time than twelve that mostly work.