TL;DR - I cobbled together a personal Alexa-like software ecosystem for Fly.io's Hacksgiving. Here's a demo video of it in action:

The code is available here. Actual blog post and writeup below.


I'm not a "smart home" person, my dabblings have been small and deeply paranoid. Not because I'm a Luddite, but because they're a security nightmare and I don't think the "complexity vs utility" tradeoff is a particularly good one. That said, with the advent of modern ML, there's been this constant background thread in my head musing about what a "next-generation" home assistant could look like.

Of course, I'm not the first person to think of slapping an LLM onto a wiretap smart speaker. Alexa+ and "Gemini for Home" are the updated incarnations of Alexa + Google Home, and they do all the unstructured conversational stuff that people expect from modern AI. But they're also magic black boxes sold by advertising companies.[1]

So when I saw Fly.io's Hacksgiving hackathon, I figured it was the perfect opportunity to kick the tires on some of the ill-formed ideas swimming around upstairs.

An Extremely Personal Assistant

Any personal assistant of mine is going to necessarily integrate with my idiosyncratic constellation of services. That means:

So that gives us a basic set of integrations to start from, aside from the LLMs themselves. Beyond that, we need something flashy that demos decently well, I opted for dynamically generated UI components (called "GenUI" sometimes by folk trendier than I).

We also might as well use this as an opportunity to play with a bunch of random technologies we've been eyeing for a while, which means:

  • Slint for the GUI bits
  • Iroh for wherever I can find an excuse to use it tunneling between my home music player device (Raspberry Pi) and the Sprites-based agent

And if those two choices didn't give it away: everything is in Rust, because of course it is.

The Hardware Hurdle

The first problem with my brilliant plan is that I don't have any assistant-like hardware I can play around with. I have some ESP32s and some microphone breakout boards and I'm sure I could repurpose a speaker from somewhere, but that seemed like a lot of work. Also, the hackathon isn't about hardware, it's about using Fly.io's Sprites VMs + surrounding infra (like connectors).

So this is a software-only experience -- I figured that a desktop and Android client would be enough to prove out the concept. And because I'm using Slint, which targets embedded devices, porting this to some middling microcontroller would hopefully be pretty straightforward if I find myself desirous of such things.

All the Connectors

The other major design decision is how to pander to the hackathon judges most effectively. Well, one's from TypeSafe, so I can integrate Jev to decide how to route a sensitive request. Another works on Ollama, which is trickier. I don't have any hardware capable of running interesting open weight models, but I can integrate with Fireworks.ai to virtue signal that I like the open weight ecosystem. (Inconvenient Disclosure: I currently work at OpenAI).

And for the Fly.io judge, well, I just need to cram in as many connectors as reasonably possible. The final tally is six -- four native connectors (OpenAI, TypeSafe, Fireworks, Kagi) and two custom ones (Qobuz, Mealie).

A list of the six Sprites connectors I used in the project.

Hopefully that'll do the trick.

General Architecture

Here's a picture I probably should have drawn horizontally and not vertically:

Architecture diagram linking home devices, a backend on Sprites, and cloud services. Desktop and Android clients exchange audio and commands with the backend over WebSockets. The backend uses connectors for web search, recipe lookup, prompt classification, track search, and the Responses API. Services include Qobuz, OpenAI, Fireworks, TypeSafe, Kagi, and self-hosted Mealie. The backend calls OpenAI directly for /v1/live/* because the connector does not forward those requests. An iroh tunnel lets the backend manage the queue and playback on an old Raspberry Pi at home. The Pi streams music directly from the cloud.

It looks kind of complicated, but the main path is pretty straightforward:

  1. Clients talk to the backend (running on Sprites) via WebSockets
  2. The backend shuttles audio to and fro the GPT-Live API
  3. By enabling client delegation on GPT-Live, it informs us when it wants to delegate to our agent to answer a query ("What's the weather like?" "Show me this recipe?" etc)
  4. Our agent loop, managed by Rig, invokes tools and calls out to APIs to answer the query
  5. GPT-Live uses the agent's response to inform its own response to the user, which gets beamed back down to them over WebSockets

Overall Thoughts

I've been impressed with the overall feel of using this, but that could just be because I don't use any other assistant-like things and so have no reference for where the bar should be.

The ability to chain tasks together ("set the volume to X and do Y", "get this recipe and set some timers") or reference things from previous turns ("What's the weather like?" -> "Where are you located?" -> "In San Francisco") feels very natural and intuitive. Of course, GPT-Live is doing most of the heavy lifting here, with the backend agent doing the rest, but the whole package works together quite well.

Some actions are a bit slower than I'd like, but that could be fixed with better engineering (right-sizing models to the task, using "Fast mode" and friends, using faster API integrations, prompting GPT-Live to fill gaps better, etc). There's also the awkwardness of ending the request. It's not necessarily a technical problem, it's just legitimately hard to know if the user will want to follow up with something else. A good solution might be to just listen for like ~5-10 more seconds and end the session if there's no follow-up. There's obviously a ton of polish missing and low-hanging fruit around tuning prompts and adding tools, but that's fine for a hackathon prototype.

If I was going to turn this into a Real Project, I'd build a hardware client in addition to the apps. And I'd try to use self-hostable local models for the full system end-to-end if possible. GPT-Live would probably be the hardest piece to replace, but there are projects like MoshiRAG which also do the whole "end-to-end voice pipeline model with delegation to a separate backend model" piece, just with perhaps a few more rough edges.

  1. I can already hear a few people saying "Yes of course Google is an advertising company, but Amazon makes their money from consumer shopping and AWS!" And yes, but according to their SEC filings, they made $68.6 billion dollars on ads in 2025, about 10% of their revenue. And Alexa devices are a notorious money pit for Amazon, so the incentive structure here isn't great. Also, they already slap ads on their smart home devices, so, yeah, nah. ↩