If you have seen Iron Man (2008), you know the scene: Tony Stark stands in his workshop and talks to JARVIS as if it were a colleague. What always struck me is not the voice and not the holograms. It is how little Tony has to explain. A reference to a part from an earlier project is enough, and JARVIS knows what he means.
In our lab at Fontys ICT we want to find out what it takes to get there. That project is called Audio Jarvis.
What it is: a voice terminal with a serious backend
The part you can see is small: a Louder-ESP32, an audio board with a classic ESP32-WROVER and a TAS5805M amplifier driving two speakers. Add a microphone, four buttons (Talk, Yes/Select, No and Escape) and a small OLED screen.
The thinking happens elsewhere:
- A Linux PC in the lab coordinates the conversation. Whisper turns speech into text, Piper turns the answer back into speech.
- A GPU PC with two RTX 4090s runs a local language model through Ollama, for example Mistral.
- Optionally, the coordinator can also use a cloud model (OpenAI, Claude, Grok or Gemini) or a cloud voice such as ElevenLabs. That replaces only that one step.
Follow one question from microphone to speaker: your voice goes to the Linux PC, Whisper turns it into text, the local model comes up with an answer, Piper turns that into speech again, and the ESP32 plays it. On that default route, nothing leaves our own lab. I care about that. An assistant standing next to your workbench hears a lot, and not all of it needs to go to a data centre.
The ESP32 side is deliberately dumb and dependable: recording, playback, muting and the buttons. Which model or provider sits behind it is a setting on Linux, not a firmware update.
An ordinary day in the lab
This is how we picture it. You walk through the lab with the microphone, hold down the talk button and ask: "Where are the scope probes?" The assistant checks the inventory: "Cabinet 1, drawer B. According to the records there are four."
At the cabinet you press again: "There were only two."
This is where it gets interesting. Does that mean two were borrowed, or that the records were already wrong? "There were two" is not the same as "book two out". A good assistant asks before it changes anything in the stock. And if the Wi-Fi dropped just then, the same correction must not be applied a second time blindly.
Small situations like these are the difference between a nice demo and something you actually want to use every day.
Why it is fun: real design choices
A few choices I really like:
- Push-to-talk, no wake word. The microphone only records while you hold the button. No background recording, not even "just half a second before". A follow-up question also starts with the button.
- A screen for things that should not be said out loud. A password for a lab system should not come out of a speaker. That is what the display is for.
- Confirm with a button, not with your voice. Speech recognition can hear "no" as "yes". So a question like "Delete all voicemails?" is confirmed on the display, with Yes, No or Escape. An irreversible action needs a physical action.
- Guardrails in code, not in the prompt. For the structure of the assistant we look at Harness² from Google Research: describe the assistant as separate parts (prompt, guardrails, memory, tools), each with an owner. The guardrails, such as that confirmation rule, are fixed in code. The language model cannot change them itself.
- Choosing without a screen. If the default assistant disappears, the board reads out the services that are still available, for example "assistant group 2", "intercom" or "music". You decide where your voice goes.
Why it matters: context and initiative
The real research question is not in the hardware. It is in why JARVIS feels so pleasant to work with. A few examples we want to explore:
- Referring to earlier work: "Use the material from the outer shell in project X." The assistant then has to find the right part and the right revision, and show the source.
- Fitting someone's way of working: without a one-off choice quietly turning into a permanent rule.
- Taking initiative at the right moment: there are a thousand unread voice messages. Do you say so right away, or wait until someone has finished what they are doing?
- Understanding a short follow-up: after the suggestion about those messages, the user says "delete them". Which messages exactly? A message that just came in is not automatically one of them.
These are questions about people as much as about technology. That is why I think this is such a good project for students: you learn embedded audio, networking and language models, but above all you learn to think about what an assistant may and may not do on its own.
The way of working is teaching material too
The project is an example I built for ICT students, and here too I work with AI agents. What I want to show along the way:
- The project memory lives in the repository. The current status is in
status.md, and every agreed decision gets a number in a decision log. That way every student and every agent sees the same thing, and it is all under version control. - Every fact gets a provenance label:
[confirmed]with source and date,[verify]or[assumption]. That sounds strict, but it stops an assumption from quietly being treated as fact three sessions later. - Small steps with acceptance criteria up front. First agree on when a test counts as passed, then build.
Where are we now?
To be honest: we are at the very beginning. The first system test is done. The ESP32 boots, the 8 MB of flash is configured correctly and the 8 MB of PSRAM is detected and tested. Audio, the LED and the exact identification of the board have not been validated yet.
The next step is to document the board properly (photos, revision, microphone positions and power supply), find the matching schematic, and then build the first audio test. Only when that works does the assistant itself come in.
You do not build a JARVIS in a weekend. But every step is a small, verifiable win, and that is exactly how I want students to learn to build.
Want to follow along or help build it? The repository is here: chat-l18l/ESP32_audio_Jarvis.
This article is part of the series Building with AI agents: projects I build together with AI agents. That link takes you to every part of the series, including new ones.
Lees dit artikel in het Nederlands: Audio Jarvis: een JARVIS voor ons lab
Reacties