← Back to Articles
Voice AI

Build Your Own Jarvis: Pick the Parts, Then Wire Them

November 20, 2026·8 min read

Quick answer

A homemade Jarvis is six parts in a loop: a wake word, speech recognition, a way to tell when you stopped talking, an AI model that picks actions, tools that carry them out, and a voice to reply. Memory is the optional seventh. Choose each part as local or cloud based on your hardware and how private you need it to be, get a rough version of the whole loop working first, then upgrade one part at a time.

Most people who set out to build their own Jarvis hit the same wall. The first demo works in an afternoon, and then it stalls: it cuts you off mid sentence, forgets everything between sessions, and can only do the three things you hard coded. The problem is rarely the code. It is that the parts were picked by whatever the first tutorial used.

This guide is the planning layer. If you want a working script to start from, our step by step Python Jarvis build gets you a tool using assistant in about 90 lines. Here we cover which part to choose at each layer, three combinations that hold up, and the two upgrades that make the biggest difference to how it feels.

The parts list

LayerRuns on your machineRuns in the cloudWhat should decide it
Wake wordopenWakeWord, PorcupineRarely sensibleIt listens all the time, so keep it local
Ears (speech to text)faster-whisper, whisper.cpp, VoskSpeech to text APIsAccuracy versus speed on your CPU
Turn takingSilero VAD, webrtcvad, a volume checkBuilt into some speech APIsHow natural you want pauses to feel
BrainA tool capable model in OllamaClaude or GPT through an APIYour GPU, and how hard the tasks are
HandsPython functions you writeMCP servers for apps and servicesHow many apps you want it to reach
Voice (text to speech)pyttsx3, PiperNeural voice APIsHow human it needs to sound
MemoryA JSON file, later a vector storeHosted databasesHow much it needs to remember

Wake word: keep it local

The wake word detector is the only part that hears everything in the room, so it belongs on your machine. openWakeWord ships with a pre-trained "hey jarvis" model, though its bundled models are licensed for non-commercial use only. Porcupine from Picovoice is another popular option; it needs an access key from a Picovoice account, so read its terms before you build on it. Both run a small detector on the raw audio, which means nothing gets transcribed until you say the phrase.

Ears: accuracy or speed

faster-whisper and whisper.cpp run OpenAI's open Whisper models locally and are very accurate, but larger models get slow on a laptop CPU. Start with a small English model and only move up if it mishears you. Vosk is lighter and fast on modest hardware, including a Raspberry Pi, at some cost in accuracy. A cloud speech API is the easy way to get both speed and accuracy, but then every sentence you say leaves your computer.

Turn taking: the part tutorials skip

Most first builds record for a fixed five seconds. That one shortcut causes most of the "it cut me off" frustration. What you want is voice activity detection: keep recording while you talk, stop shortly after you go quiet. Silero VAD is a small, accurate model for this. A plain volume check works surprisingly well in a quiet room, and the code for it is below.

Brain: match it to your hardware

The brain needs to support tool calling, which means it can answer with "run this function with these arguments" instead of only text. In Ollama, look for models tagged with tools. A model around 8 billion parameters is the usual starting point and runs best on a recent graphics card or an Apple silicon Mac. On older hardware it can take several seconds per reply, and that delay kills the feeling of talking to someone. A cloud model through an API is faster and much better at multi step tasks, and you pay per use.

Hands: functions first, then MCP

Your first tools should be plain functions with tight limits, like a file search that can only look inside one folder. Once you want your assistant to reach email, calendars or notes, writing every integration yourself gets old fast. The Model Context Protocol (MCP) is an open standard for connecting AI apps to outside tools, and many services and community projects publish MCP servers. The official MCP Python SDK includes a client, so your loop can list a server's tools and pass them to the model. Treat every new server like new code on your machine: install only what you trust, and keep approval on for anything that sends or deletes.

Voice: robotic or natural

pyttsx3 uses the voices built into Windows and macOS. It needs no setup and sounds like it. Piper is a fast local neural voice that sounds far more natural and runs even on a Pi; each voice model has its own license, so check the one you pick. Cloud voices sound the most human but add a network round trip to every reply.

Three blueprints that hold up

1. The fully offline desk build

openWakeWord, faster-whisper, Silero VAD, a tool capable model in Ollama, your own functions, and Piper. Nothing leaves the machine and nothing costs money after setup. Choose this if privacy is the point, or if you want to learn how every piece works. You need a reasonably strong computer, and it will be worse than a cloud model at long, multi step requests.

2. The hybrid build

Same as above, but the brain is Claude or GPT through an API. Your wake word and voice stay local, only the transcribed text of your request goes out, and replies get noticeably smarter. This is the build most people end up with once they try both. Set a spending limit with your API provider before you connect it to anything that loops.

3. The always on room speaker

A Raspberry Pi with a microphone handles the wake word and recording, and sends the heavy work to a stronger computer on your network or to the cloud. Home Assistant's Assist voice pipeline already wires local speech recognition and Piper together for this, and is worth starting from if your goal is controlling lights and devices rather than your PC.

Upgrade 1: stop recording when you stop talking

This replaces a fixed recording window. It reads the microphone in tenths of a second, waits until it has heard you, and stops after 0.8 seconds of quiet. The returned audio goes straight into faster-whisper's transcribe().

import numpy as np
import sounddevice as sd

def listen_until_quiet(rate=16000, threshold=0.01, quiet_seconds=0.8, max_seconds=15):
    block = rate // 10
    chunks, quiet_blocks, heard_voice = [], 0, False
    with sd.InputStream(samplerate=rate, channels=1, dtype="float32", blocksize=block) as stream:
        for _ in range(max_seconds * 10):
            data, _ = stream.read(block)
            chunks.append(data)
            loud = np.sqrt(np.mean(data ** 2)) > threshold
            heard_voice = heard_voice or loud
            quiet_blocks = 0 if loud else quiet_blocks + 1
            if heard_voice and quiet_blocks >= quiet_seconds * 10:
                break
    return np.concatenate(chunks).flatten()

The threshold is a calibration knob, not a constant. Print the volume value while you sit quietly and while you talk, then set it between the two. A noisy room is where you swap this check for Silero VAD.

Upgrade 2: give it a memory

Skip the vector database for now. A tool that saves short facts to a file, loaded into the system prompt at startup, covers "remember my sister is called Maria" and most of what people mean by memory.

import json
from pathlib import Path

MEMORY = Path.home() / "jarvis_memory.json"

def remember(fact: str) -> str:
    """Save one short fact about the user so it can be recalled later.

    Args:
        fact: A single sentence, for example "My sister is called Maria"
    """
    facts = json.loads(MEMORY.read_text()) if MEMORY.exists() else []
    facts.append(fact)
    MEMORY.write_text(json.dumps(facts, indent=2))
    return "Saved."

def known_facts() -> str:
    facts = json.loads(MEMORY.read_text()) if MEMORY.exists() else []
    return "Things you know about the user: " + "; ".join(facts) if facts else ""

Add remember to your tool list and append known_facts() to the system message when the program starts. Move to embeddings and a vector store only when that list grows too long to send with every request.

What it really costs

Or skip the wiring

Building one is the best way to learn how voice agents work, and we recommend it if that is your goal. If what you want is the finished assistant on your own computer, that is what we make at Filect. It runs on Windows and Mac, with every feature on both, and it covers each layer in the table above:

One honest difference: Filect does not run fully offline like blueprint 1. Voice time is shared across dictation, voice search and the Assistant, with 90 minutes a day on Basic and unlimited use on Pro under fair use. Basic and Pro start with a 10 day free trial (card required), and current prices are on the pricing page. For a wider look at ready made options, see Jarvis for PC.

Want the Jarvis without the weekend project?

Talk to your computer on Windows or Mac, with agents that do the work.

Get Filect →

FAQ

Can I build my own Jarvis without paying for anything?

Yes. A wake word from openWakeWord, speech recognition from faster-whisper or Vosk, a model running in Ollama, and a local voice like pyttsx3 or Piper all run on your own computer with no API key. The cost is hardware: the language model is the heavy part and runs best on a recent graphics card or an Apple silicon Mac.

Can I build Jarvis on a Raspberry Pi?

Partly. A Pi handles the wake word, recording and a light local voice well, but it is slow for a language model. Most Pi builds send the thinking step to a stronger computer on the network or to a cloud API. Home Assistant's Assist pipeline is a common starting point for this kind of always on room speaker.

How do I give my Jarvis memory?

Start simple: give the assistant a remember tool that appends short facts to a file, and load that file into the system prompt at startup. Only move to a vector database once the file is too long to send with every request.

Is there a ready made Jarvis I can use instead of building one?

Yes. Filect runs on Windows and Mac and connects the parts for you: hold a key and talk or use the hands free Assistant, drive Claude Code and Codex on your own Claude or ChatGPT plan, act in connected apps like Gmail, Calendar and Notion, and find files by what is inside them.

Related articles