$ cd .. project software local ai
Dipsy Dolphin
Well hello there, so! I’m Dipsy, ready to splash some fun on your desktop!
A tiny performer that lives on your Windows desktop, tells jokes, and runs on your own machine. I built it to find out how much a local LLM can really do.
Dipsy Dolphin is a desktop companion in the tradition of BonziBuddy: a cartoon animal that stands on your screen, talks with too much personality, and can occasionally do something useful. You can drag it around, double-click it to chat, and ask it to run a search or open Notepad. There’s no invisible daemon. If Dipsy is doing something, you’re watching it happen.
I built it to see what a local LLM could do inside an actual product. The question I had was this: if the model runs on a normal Windows machine, behind a character you can see, how useful can it get before it starts to feel unreliable or fake?
So Dipsy is a testbed for local inference, structured responses, constrained actions, and desktop UX, in a dolphin suit. I wanted it fun to have around but safe to trust, and those two pull against each other in almost every decision.
The brain is Qwen 3.5 9B, a 5.7 GB model running through llama.cpp on a server bound to your own machine. There’s no remote API behind it.
That’s the real sprite on the title, and it’ll follow you down the page. Drag it, click it, or press Esc to make it leave, same as the app. It has no brain here, because this page doesn’t run a model. Its hello, the beach ball joke, and the horoscope line are real output. Everything else it says is scripted.
1 Character first
I treated Dipsy as a companion first and a tool second, because that changes what counts as success. A utility can get away with being invisible. A character can’t. Dipsy has to feel present when it’s doing nothing, and stay interruptible and understandable when it’s doing something.
That ruled out a chat window with a mascot attached. If the only impressive thing in the system was that the model answered a question, the product would feel hollow. The bubble and the timing had to matter, and so did the moments where Dipsy does nothing, because idling is part of the product too.
I also wanted a practical answer about where local models are strong enough right now. Here, at least, the model does best with a clear prompt contract, a narrow set of things it can do, and a visible loop where you can see what it decided. Nothing in Dipsy asks it to be magical, just consistent.
That led to four hard rules:
- You run it by talking to it.
- It stays on stage, and never slips off into background automation.
- Whatever the model says gets parsed into structured data before the app touches it.
- Desktop actions stay bounded and explicit. No ad hoc shell commands.
The product brief ends with one test for any new feature, which I still like: “Does this make Dipsy feel more alive, more theatrical, more helpful, and still clearly under the user’s control?”
2 Everyone keeps to their own job.
The architecture is simple on purpose. A PySide6 shell owns the window. A controller owns decisions. A provider finds the model and runs it. A parser turns its replies into validated turns. If the model asks for an action, that request goes through a registry before anything touches the operating system.
- ui/
- The show
- The window, chat box, bubble, timers, and sprites.
- core/
- The controller
- Decides what happens next. Also holds session state, memory, emotion, and scenes.
- llm/
- The model
- The prompt contract, the provider, model discovery, and the parser.
- actions/
- The stage list
- Everything Dipsy is allowed to do, and the only road to the operating system.
- storage/
- The notebook
- A local profile and memory, saved as JSON.
- voice/
- The voice
- Optional Windows speech, tuned to the most retro voice it can find.
That separation is the most important decision in the repo. Once a character is standing on your desktop, people read intent into tiny things, and a delayed reply or a mistimed animation stands out much more than it would in a utility. Keeping the layers apart makes those easier to get right.
A lot of local-model demos stop at “it generated text.” Dipsy’s model gets event context, session state, memory summaries, and scene opportunities, then has to return a turn the rest of the system can validate and stage. Startup, onboarding, chat, and inactivity all run through that same path, so they don’t fragment into special cases across the UI.
It also gave me better questions than “was that clever?” Did it pick a sensible animation? Did it stay inside the dialogue contract? Did it avoid repeating itself? Did it return something the UI could actually stage? Those are product questions, and a model can fail them while sounding great.
3 Never trust the dolphin
The model isn’t trusted to produce anything executable. It’s asked for JSON, and that JSON gets normalized into a tightly constrained turn before the rest of the app sees it. Animation names get validated, dialogue categories normalized, cooldowns clamped, action requests sanitized, and memory and emotion updates only survive if they match the contract.
I didn’t want Dipsy to work in the loose demo sense, where a model says something plausible and a person mentally fills in the gaps. I wanted the app to be able to use what comes back without a person in the loop, which meant treating the LLM as one unreliable part inside a typed system.
Once I framed it that way, a lot of choices got easier. Allowed actions could be enumerated. Emotion could be six bounded numbers instead of hand-wavy flavor, and none of it made the character any less fun.
animation = str(parsed.get("animation", "")).strip().lower()
if animation and animation not in ALLOWED_ANIMATIONS:
animation = ""
cooldown_ms = _bounded_int(parsed.get("cooldown_ms", 12000), minimum=4000, maximum=30000)
action_payload = parsed.get("action")
action = None
if isinstance(action_payload, dict):
action = sanitize_action_request(
str(action_payload.get("action_id", "")).strip() or None,
action_payload.get("args") if isinstance(action_payload.get("args"), dict) else None,
) That keeps the model in a planning role. It can ask for seven things, and each one is checked against the registry first:
-
focus_or_open_appbrowser, Terminal, Explorer, Notepad, or Settings -
browser_searcha query of up to 240 characters -
open_urlhttp or https only -
open_pathonly if the path already exists -
roam_somewheremove to another spot on the screen -
idlestay put -
quit_appclose Dipsy
Anything else gets a line straight from the source: “That routine is not on Dipsy’s approved stage list.” I wanted it surprising in what it says and predictable in what it’s allowed to do.
browser_search. The model decides. The
runtime does the searching.
Dipsy can’t invent a tool. The request stays inside a known contract, the runtime honors it or rejects it cleanly, and Dipsy’s follow-up line reacts to what really happened, so it never claims to have done something it didn’t.
4 Two poses.
I wanted Dipsy to feel like a real Windows application, not a script that happened to open a window. PySide6 gave it room for actual staging: an always-on-top window, sprite rendering, bubble placement, dialogue timing, and animation states.
The plan was for the character to visibly react to what the model
decided, and the wiring is there. The contract has seven animations,
and the state machine knows nine. The sprite folder has two: idle and talk,
24 frames each. Ask for laugh and Dipsy
falls back on what it’s got.
-
idle
24 frames
-
talk
24 frames
-
walk
no sprite
-
laugh
no sprite
-
surprised
no sprite
-
sad
no sprite
-
excited
no sprite
So the bubbles do most of the acting. There are seven dialogue categories, and each has its own colours, reveal speed, hold time, and rules for interrupting whatever’s on screen.
-
normal
staged, 2.2s hold
-
joke
staged, 3.0s hold
-
question
staged, 2.6s hold
-
status
staged, 3.4s hold
-
alert
instant, 2.4s hold
-
onboarding
staged, 3.2s hold
-
thought
staged, 1.6s hold
The voice is optional, and it’s my favourite small detail in the repo. It ranks your installed Windows voices and goes looking by name for Microsoft Sam, Mike, Mary, TruVoice, and yes, Bonzi, before falling back to something bright.
5 One installer
On the release side, a version bump on main runs the packaging tests, builds an
Inno Setup installer, smoke-tests it, and publishes with curated
notes. The installer is about 35 MB. It then downloads the 5.7 GB
model and the llama.cpp runtime during setup, which keeps the
release to a single file.
It’s easy to overestimate a local LLM in a hand-tuned dev environment. Once you package the app and make the install story explicit, you start caring less about one great output and more about whether it behaves the same way every time, through startup, onboarding, memory, idling, actions, and feedback.
Fifteen commits, March 20 to April 4.
$ git log --reverse --format="%ad %s" --date=short
- Beginnings
- Testing github workflows
- Switch to uv
- Remove unnecessary nesting and test no versioning
- Remove main.py to look professional
- Asset layer transition
- Add LLM
- Fix build
- Fix build 2
- Seeing how versioning works with this
- So much new stuff
- More stuff
- Guy can do a little stuff now
- New graphics who dis
- 1.0.0
$
6 What I’d keep.
The 138 tests sit on the contracts: controller behavior, output parsing, packaging helpers, profile persistence, animation rules, and presentation coordination. Those are the places where state, model output, and UI run into each other, so that’s where the risk is.
So how much can a local LLM do? Enough to run a small desktop companion with a lot of personality, if the rest of the system is built carefully around it. Not enough to trust blindly. With some structure, guardrails, and a visible role in the UI, it’s a lot more useful than a novelty demo.
Dipsy is also one of the clearest looks I’ve had at the gap between what an LLM can do and what a product needs from it. The model contributes interpretation, tone, and structured intent. The app contributes state, validation, timing, rendering, and safety. That division of labor is the main thing I’d carry into any future local-first assistant.
The project is on pause now, left runnable, packaged, and release-ready. If you’re on Windows, 1.0.0 is still there. It isn’t code signed, and it’ll want 5.7 GB for the model.
$ open DipsyDolphin-Setup-1.0.0.exe
$ open github.com/tristan-kennedy/virtual-desktop-assistant
$ cd ..