amogh.cloud

Menu
P102

Piaa

An AI voice assistant that runs on my own PC

Built for me alone: a personal assistant, my own Jarvis

A voice assistant I can talk to and interrupt, running a large AI model on one gaming graphics card. I measured every big decision, including three I got wrong.

Designer and builderAug 2026 to nowIn private use

Figure 1
Piaa’s desktop app: a saved-chats sidebar, a question about espresso, pour-over and French press, and an answer with a comparison table and a recommendation for beginners.
Asked to compare three ways to make coffee, Piaa answers with a table and a recommendation. It all runs on my own PC, and the gauges at the bottom left show its graphics card and memory.Screenshot of Piaa on my PC, 14 Oct 2026, on an empty demo profile.

In short

Problem. A personal assistant I can talk to, interrupt and reach from my phone, with its private tools kept on hardware I own.

What I built. A voice assistant I can talk to and interrupt mid-sentence, with dozens of tools. The AI model, with 27 billion parameterssize of the language model Piaa runs on my graphics card.Method the model's published parameter count.The model's published size · Specification27 billion parameterssize of the language model Piaa runs on my graphics card.Methodthe model's published parameter count.SourceThe model's published sizeClassSpecification · 14 Oct 2026, runs on one RTX 5080 graphics card in my PC. Speech recognition and the voice run on the same PC’s main processor. Hard research goes to cloud AI workers that can think but never touch my machine.

What I measured. How fast it writes an answer, how long it takes to start replying, and what each design choice costs, each tested side by side on that card. One wrong setting had quietly made three of my earlier conclusions wrong.

What it looks like

Real answers from Piaa on my PC. For these screenshots it ran on an empty profile with an invented inbox and invented WhatsApp chats, so none of my own chats, mail or files appear.

Figure 2
Piaa drawing a bar chart of the diameters of the eight planets inside the chat, followed by a short note on reading it.Piaa showing a Pomodoro timer it built, with a progress ring, start and reset buttons, and a note on what it can and can’t do.
It builds small things on the spot, like a chart of the planets or a working Pomodoro timer, drawn inside the chat.Screenshots of Piaa on my PC, 14 Oct 2026, on an empty demo profile.
Figure 3
Piaa summarising three unread emails in a few lines and offering the full text of any of them.Piaa drafting a reply and saying it is just a draft, not sent; after the reply “Yes, send it” it sends the email and confirms.
Mail. It summarises unread mail and drafts a reply, then sends it when I say “send it”. Sending is a separate step from drafting.Screenshots of Piaa, 14 Oct 2026, on an empty demo profile. The emails and people in them are invented.
Figure 4
Piaa summarising six unread WhatsApp messages across one person and two groups, then being asked to reply to the trek group.Piaa staging the reply “I’ll bring the stove” for the group, saying it is not sent yet, and sending it only after “Yes, send it”.
On WhatsApp the gate is stricter. It catches me up on unread chats and stages a reply to a group, and the send step only accepts a draft it made in this session, once, within five minutes.Screenshots of Piaa, 14 Oct 2026, on an empty demo profile. The chats and people in them are invented.
Figure 5
Piaa’s robot face on a phone in blue, listening.The robot face in amber, thinking, under the spoken question “Hey, what’s a good stretch for a stiff neck?”The robot face in pink, speaking, with a caption of its answer about a chin-to-chest stretch.
Live mode on my phone: listening, thinking, then speaking with captions. I can interrupt it mid-sentence.Screenshots from my phone, 14 Oct 2026, on an empty demo profile.
Figure 6
One full voice turn, sound on. I ask out loud for a stretch for a stiff neck. Piaa thinks, answers in its own voice with live captions, and replies when I say thank you.My screen recording on my phone, 14 Oct 2026. The voices are mine and Piaa's.
Transcript of the recording

Me: Hey, what’s a good stretch for a stiff neck?

Piaa: Chin-to-chest – sit tall, tuck chin toward chest until you feel the stretch on the back of your neck, hold fifteen to thirty seconds, both sides. Then ear-to-shoulder – tilt right ear toward right shoulder (no hunching), gentle pull with your hand if needed, hold fifteen to thirty seconds, switch. Do it a couple of times, slow, no snatching — you’re after a comfortable pull, not a stretch that makes you wince. If it’s been niggling for days or comes with tingling down the arm, that’s a “see someone” situation, not a stretch situation.

Me: Thank you.

Piaa: Anytime. Now the hard part — actually doing it instead of just saving it to your mental to-do list.

Figure 7
Piaa’s Android app showing a Pomodoro timer it built inside the chat, with start, skip and reset buttons.Piaa’s Android app summarising three unread emails in a few lines.Piaa’s Android app catching up on unread WhatsApp messages across chats and groups.
The same assistant in its own Android app: a timer it built, a summary of unread mail, and a WhatsApp catch-up.Screenshots from my phone, 14 Oct 2026, on an empty demo profile. The emails, chats and people in them are invented.

1 Context

Piaa stands for Personal Intelligent Assistant of Amogh. It is the assistant I wanted, my own Jarvis. You talk, it talks back, you can interrupt it, and it does real work across mail, WhatsApp, calendar and files. It remembers what I tell it, sets reminders and speaks up when background research finishes. I can also restart it from my phone. Everything personal stays on my own PC.

I built it over about three weeks in August and September 2026, and I still run experiments on it. I am its only user, so this is a deep engineering project, with no audience to speak of.

2 Constraints

I have one RTX 5080 with 16,303 MiBtotal VRAM on the card, the budget everything has to fit in.Method total VRAM recorded for the test machine's RTX 5080 in my benchmark log.My benchmark log, Aug 2026 · Specification16,303 MiBtotal VRAM on the card, the budget everything has to fit in.Methodtotal VRAM recorded for the test machine's RTX 5080 in my benchmark log. Windows 11 under the WDDM display driver model.SourceMy benchmark log, Aug 2026ClassSpecification · Aug 2026 of VRAM. It runs on Windows, where the display driver model decides how GPU contexts share that memory. And the voice loop has to stop talking the moment I interrupt it.

Figure 8

The card's video memory, drawn as a barOne bar for the whole card. Most of it is filled by the model, its cache and buffers (fill level illustrative). With -ngl 99 a thin extra slab, drawn to scale, appears for the output tensor.
0card: 16,303 MiB
Decode
38.7 tok/s38.7 tok/sdecode speed with the offload flag at 64 on a model that has exactly 64 layers; became 54.2 tok/s at -ngl 99.Methodsame-session A/B on one RTX 5080 16 GB, llama.cpp -ngl 64 vs -ngl 99, decode tokens per second. fully on GPU except the output tensor.NoteWith exactly 64 layers, -ngl 64 leaves the output tensor on the CPU.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026
output tensor stays on the CPU
Decode
54.2 tok/s
output tensor on the GPU, 189 MiB of VRAM

weights, cache, buffers output tensor (pen: the one thing that changes)

illustrative

Where the graphics card's memory goes, and the settings that changed the results below. The highlighted part is what changed.My measurements, same-session A/B, Aug 2026

Most of the design follows from those three. The speech models sit on the CPU, the tools array never changes, and I tested every setting on the card instead of assuming it.

3 What I built

I split the work between a brain and hands. The local model holds the private tools. Cloud workers do hard research, but they get no mail, calendar or messaging tools. A worker emits tool calls, my machine executes them under a stricter guard, and the worker is capped at 0.50 USDspending cap for one cloud-worker run.Method limit set in the assistant's own configuration.Note A limit I set, not a measurement. Enforced by my code, not by the prompt.Limit set in my own configuration, checked Oct 2026 · Specification0.50 USDspending cap for one cloud-worker run.Methodlimit set in the assistant's own configuration.NoteA limit I set, not a measurement. Enforced by my code, not by the prompt.SourceLimit set in my own configuration, checked Oct 2026ClassSpecification · Oct 2026 per run, 2.00 USDspending cap for all cloud workers in one day.Method limit set in the assistant's own configuration, persisted across restarts.Note A limit I set, not a measurement.Limit set in my own configuration, checked Oct 2026 · Specification2.00 USDspending cap for all cloud workers in one day.Methodlimit set in the assistant's own configuration, persisted across restarts.NoteA limit I set, not a measurement.SourceLimit set in my own configuration, checked Oct 2026ClassSpecification · Oct 2026 per day, eight hops, 24 calls and 480 swall-clock cap for one cloud-worker run.Method limit set in the assistant's own configuration.Note A limit I set, not a measurement.Limit set in my own configuration, checked Oct 2026 · Specification480 swall-clock cap for one cloud-worker run.Methodlimit set in the assistant's own configuration.NoteA limit I set, not a measurement.SourceLimit set in my own configuration, checked Oct 2026ClassSpecification · Oct 2026.

Sending is always a separate step from writing. Email goes out only as an existing draft, and since no tool can list drafts, in practice it can only send what it wrote itself. Reading the draft back to me first is an instruction to the model, not something the code enforces. WhatsApp is stricter. The send step only accepts a draft made in the same running session, once, within five minutes. Shell commands wait for me to tap confirm.

There’s also a native Android app, written in Kotlin with Compose, with the same chat, widgets and live mode.

Figure 9
The model is a brain, never a set of handsThe model is a brain, never a set of hands. The local model decides, and local tools carry out the work on this machine, with irreversible actions needing a confirmed draft. A cloud worker can only think: its tool requests pass a stricter local guard, which gives it no mail, calendar or messaging tools, before anything runs locally.This machine (the hands live here)The cloud (no machine access)Local modelthe brain: decidesLocal toolsthe hands: files,mail, calendar, messagescallsConfirmed draftneeded before anyirreversible actionStricter guardno mail, calendaror messaging toolsallowed calls onlyCloud workercan think,cannot touch anythingasksBounded report comes back; nothing runs in the cloud.The model is a brain, never a set of handsThe model is a brain, never a set of hands. The local model decides, and local tools carry out the work on this machine, with irreversible actions needing a confirmed draft. A cloud worker can only think: its tool requests pass a stricter local guard, which gives it no mail, calendar or messaging tools, before anything runs locally.This machine (the hands live here)Local modelthe brain: decidescallsLocal toolsthe hands: files,mail, calendar, messagesConfirmed draftbefore any irreversible actionStricter guardno mail, calendar or messagingThe cloud (no machine access)Cloud workercan think, cannot touch anythingasks
Cloud workers can think, but only my machine can act on anything.Diagram by me. Limits from my assistant's configuration, 10 Oct 2026.

The turn loop is plain threads and deliberately not asyncio. It handles voice activity detection, speech recognition, the streaming model, sentence-by-sentence speech, and barge-in with echo cancellation. Speech recognition and the voice run on the CPU. That placement is structural, as section 5 shows.

4 Measurements

Every reading is a same-session A/B on the same card: one setting changed, one number read. Numbers stored from different sessions drift by several points, so I never compare across sessions.

Reading What changed
54.2 tok/s54.2 tok/sdecode speed on a 27B model after one offload-flag fix; was 38.7 tok/s; cost +189 MiB of VRAM.Methodsame-session A/B on one RTX 5080 16 GB, llama.cpp -ngl 64 vs -ngl 99, decode tokens per second. Qwen3.8-27B at a ~3-bit GGUF quant, fully on GPU.NoteThe model has 64 layers, so -ngl 64 looked like "all on GPU"; llama.cpp only offloads the output tensor when ngl exceeds the layer count.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026 The offload flag -ngl, from 64 to 99. A gain of 40%40%decode-speed gain from the offload flag alone; from 38.7 to 54.2 tok/s.Method(54.19 - 38.70) / 38.70 from the two readings of the same-session A/B.SourceMy measurements, same-session A/B, Aug 2026ClassDerived · Aug 2026 for 189 MiB189 MiBextra VRAM the offload fix cost, because the output tensor moved onto the GPU.Methodsame-session A/B on one RTX 5080 16 GB, VRAM in use with llama.cpp -ngl 64 vs -ngl 99.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026 more VRAM.
6,056 ms6,056 msprefill time for a request whose tools array the server had never seen; was 87 ms for a tools array it had already seen.Methodprompt-processing time for a request with a novel tools array vs a known one, same session.NoteMy first measurement of this was wrong in an instructive way, because the server retains more than one prompt state.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026 A tools array the server had never seen, against one it had. That is 69×69×how much slower a request is when its tools array is new to the server.Method6,056.2 ms divided by 87.2 ms, the two readings of the same A/B.NoteThere is no partial credit. Chat templates render the tools at the very start of the prompt, so any change reprocesses everything after it.SourceMy measurements, same-session A/B, Aug 2026ClassDerived · Aug 2026 slower, so I keep the tools array frozen.
214 ms214 msdead time before the first token on an 8k conversation once the system prompt stopped changing every turn; was 4,551 ms; prompt-cache reuse 0% → 99.6%.Methodprompt-processing time on turn 2 of a realistic 8k-token conversation, per-turn timestamp vs a frozen prefix.NoteThe cause was a seconds-precision clock in the system prompt, so no two turns shared a prefix.SourceMy measurements, same session, Aug–Sep 2026ClassMeasured by me · Sept 2026 A system prompt that stopped carrying a seconds-precision clock. Prompt-cache reuse reached 99.6%99.6%share of the prompt reused from the cache once the system prompt stopped changing every turn; was 0%.Methodprompt-cache reuse on turn 2 of a realistic 8k-token conversation, per-turn timestamp vs a frozen prefix.NoteNothing caught this at the time because prompt time and cache hits were not logged. They are now.SourceMy measurements, same session, Aug–Sep 2026ClassMeasured by me · Sept 2026.
2,412 tokens2,412 tokenssize of the tool schema the model must read once tools are found through search; was 7,032 tokens with every tool listed up front.Methodtoken count of the tool schema in the prompt, full list vs search-then-call discovery.NoteAccuracy on my 20-case tool test was a wash. The price was more hops per task.SourceMy measurements, Aug 2026ClassMeasured by me · Aug 2026 Tools found through search instead of listed up front. Accuracy was about the same, but the model took 84%84%extra agent hops once tools are found through search instead of listed up front.Methodhops per task on the same tool test, search-then-call discovery vs the full tool list.NoteThe cost side of the smaller schema. Accuracy did not change.SourceMy measurements, Aug 2026ClassMeasured by me · Aug 2026 more hops.
0.4 tok/s0.4 tok/sdecode speed after an idle speech model created a second CUDA context on the GPU; was about 75 tok/s (74 to 78 across runs).Methoddecode tokens per second with the speech model loaded on the GPU (idle, -ngl 0) vs without it, located with nvidia-smi --query-compute-apps. Windows 11 under the WDDM display driver model.NoteMy first hypothesis, CPU polling, was applied correctly and changed nothing. The problem came back on 26 Aug 2026 through a second server process.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026 An idle speech model on the GPU created a second CUDA context, which is why my speech models live on the CPU.
Figure 10

Before: the instructions carried a clock, so nothing could be reused

First word after 4,551 ms4,551 msdead time before the first token on an 8k conversation while the system prompt carried a per-turn clock; became 214 ms with a clock stamped once per session.Methodprompt-processing time on turn 2 of a realistic 8k-token conversation, per-turn timestamp vs a frozen prefix.SourceMy measurements, same session, Aug–Sep 2026ClassMeasured by me · Sept 2026

After: the instructions stayed the same

First word after 214 ms214 msdead time before the first token on an 8k conversation once the system prompt stopped changing every turn; was 4,551 ms; prompt-cache reuse 0% → 99.6%.Methodprompt-processing time on turn 2 of a realistic 8k-token conversation, per-turn timestamp vs a frozen prefix.NoteThe cause was a seconds-precision clock in the system prompt, so no two turns shared a prefix.SourceMy measurements, same session, Aug–Sep 2026ClassMeasured by me · Sept 2026

Both sides answer at the same measured speed: 54.2 tok/s54.2 tok/sdecode speed on a 27B model after one offload-flag fix; was 38.7 tok/s; cost +189 MiB of VRAM.Methodsame-session A/B on one RTX 5080 16 GB, llama.cpp -ngl 64 vs -ngl 99, decode tokens per second. Qwen3.8-27B at a ~3-bit GGUF quant, fully on GPU.NoteThe model has 64 layers, so -ngl 64 looked like "all on GPU"; llama.cpp only offloads the output tensor when ngl exceeds the layer count.SourceMy measurements, same-session A/B, Aug 2026ClassMeasured by me · Aug 2026.

Feel the difference. Press Ask both: each side waits its measured time before its first word, then answers at the same measured speed.My measurements, turn 2 of a realistic 8k-token conversation, Aug–Sep 2026, played back in real time.

5 What broke

Three of my recorded conclusions were wrong, and all three had the same cause.

What I had recorded Status
“16,384 is a hardware ceiling.” Withdrawn. Measured with the output tensor on the CPU.
“MTP gives no benefit.” Withdrawn. Measured with the output tensor on the CPU.
“The Windows driver explains the gap.” Withdrawn. Measured with the output tensor on the CPU.

The model has exactly 64 layers, so -ngl 64 reads as “everything on the GPU”. But llama.cpp only offloads the output tensor when the number is greater than the layer count, so mine had been left on the CPU. Since three results failed together, I should have looked for one upstream cause sooner.

Other things I got wrong:

  • An idle server collapsed decode. I blamed CPU polling, applied the fix correctly, and nothing changed. nvidia-smi --query-compute-apps then showed the real cause, which was a second CUDA context.
  • A clock in the system prompt. No two turns shared a prefix, and nothing caught it because I never logged prompt time. I now log cache hits and prompt tokens.
  • My first tools-array measurement. It was wrong too, because the server keeps more than one prompt state.
  • A comparison without a control. I tested an old configuration on a new build and drew the wrong conclusion, so the second round added the control.

6 What I’d change

  • Build a labelled evaluation set for tool routing before trying another router. My last routing bake-off ended with that lesson.
  • Measure first-audio latency again. I last measured it in late August, and a later change probably improved it, so I publish no figure.
  • Publish the harnesses. They are self-contained scripts, and I plan to release them as piaa-lab once they are scrubbed of local paths.

7 Credits and disclosures

  • Open source this stands on: llama.cpp and the beellama.cpp fork, llama-swap, Qwen, Kokoro, Silero, openWakeWord, WebRTC AEC3, nomic-embed and SearXNG.
  • Tools: I designed Piaa, built it and ran every measurement on this page. AI coding agents help me write code faster, and the benchmark log and the retraction table are how I check the result.
  • Disclosures: a personal system with a private repository. Nobody else uses it, and no claim here is about anyone but me.

Details

Role
Designer and builder
Dates
Aug 2026–now
Status

In private use · Personal system · private repo · benchmarks published

Stack
Python, llama.cpp, FastAPI and WebSocket, Kotlin and Compose, SQLite and FTS5, Local speech models
Built with
Designed, built and measured by me, with AI coding agents for speed.
Links

Talk to me about this

Questions about the method, or something I got wrong? Write to me.

Email me about Piaahi@amogh.cloud

Or ask Baby Piaa, my AI assistant, about Piaa