A desktop companion that actually pays attention. A little sheep (or a fox, or Pikachu, or whatever you drop in) walks across your screen, climbs your windows, naps on the taskbar, and pipes up with a fitting one-liner when you poke it. Poke it too much and it gets sassy and rockets off to a bathtub. That's the toy, and the base runs with no internet, no account, no GPU.
Underneath, it is built two ways on purpose:
- 🧩 Modular. The install ships lean — just the companion. Everything else (smart fortunes, an AI brain, a companion editor, calendar reminders, even a meeting recorder) is an optional module you add from an in-app catalog: it shows each module's permissions up front and verifies every download by SHA-256 before a line of its code runs. Take what you want, skip the rest, and it all updates in place.
- 🤖 AI-optional, local-first. The clever parts work fully offline — a tiny on-CPU model reads what's on your screen and picks a fortune that fits it. Want more personality? Flip on the AI brain and the companion riffs on your screen through any OpenAI-compatible provider: a local Ollama so nothing leaves the box, or a cloud key if you prefer. It's off until you say so.
- 🗣️ One companion speaks for you. With several companions out, a message meant for you (a reminder, a fortune) comes from ONE of them, not all of them chanting in unison. Preferences → Speech → "Companion that speaks for the app" picks which, offered from the companions actually on screen; anything a companion says about itself (a poke, a landing) still belongs to that companion.
- ❓ Questions by the clock (app 1.6.0). When a module needs an answer — "Your meeting looks over. Keep recording?" — it appears as a small card just above the clock with two to four buttons and a countdown to what happens if you don't answer. It never steals your keyboard, waits while you present or a game is fullscreen, and is hidden from screen sharing. Missed ones are listed in the tray under No answer. Preferences → Speech can have a companion mention a new one too (off by default).
- 🔔 It tells you about updates without nagging. At launch it checks whether a newer version exists, once a week after an answer (a check that could not read the catalog tries again at the next launch), and opening Preferences refreshes it, at most once a minute. Notify-only: nothing downloads or installs itself. The version in the corner of Preferences becomes a link to the releases page. Switch it off in Preferences → Modules.
- 🩺 When something goes wrong, there's a record. A rolling diagnostic log is written from launch
onward, and the previous run is kept — because the natural reaction to a fault is to restart, and the
restart is what would otherwise destroy the evidence. Preferences → Diagnostic log turns it off, caps
its size, and picks what gets recorded, per area and per installed module, so a module author can log one
module and nothing else. See
SUPPORT.mdfor where the file lives.
Fork of Adrianotiger/desktopPet; the original animation engine remains, with compatibility, correctness, and security fixes alongside the new fortune, AI, and module features. Releases are unsigned Windows x64 builds (ZIP + MSI) from a
vX.Y.Zgit tag — verify againstSHA256SUMS.txt. The engine, artwork, fortune corpus, packs, and model are fan-compiled from mixed community/upstream sources; provenance is documented inTHIRD_PARTY_NOTICES.md, not a blanket redistribution clearance.
The installer and the portable ZIP ship lean — a companion engine and nothing else. Optional features
arrive from Options → Modules, which lists what's installed and what the online catalog offers,
shows each module's declared permissions before it downloads anything, and installs it after a
SHA-256 check against the published catalog.json. Modules load at startup, so installing or
removing one restarts the app (it reopens straight back on the Modules pane). Uninstalling removes
the module and its settings. Published today: Fortunes, AI Brain, Companion Studio, Reminder,
Remembrance, Blinking LED, AgentFlow and AgentBroker.
A module that fails to load says so, with the reason and a Reinstall that keeps its data — rather than sitting there claiming it needs a restart forever.
Modules also update in place, and you no longer have to go looking. Opening the Modules pane already shows any installed module with a newer published version, and Update keeps your settings, keys and history (unlike uninstalling, which deletes them). With two or more waiting, Update all beside Check for modules online asks first about any update that wants new permissions, then fetches them one after another and asks to restart once. An update that needs a newer app is not offered (the row names the version it needs), and one already downloaded says it applies at the next restart instead of offering the download again. A weekly background check tells you with a notification when an update is published; turn that off under Preferences → Modules if you would rather it never reached the network unprompted. Notify-only either way: nothing installs itself.
AgentBroker lets coding agents exchange messages across open sessions on this workstation and paired
LAN workstations. Its MCP endpoint is http://127.0.0.1:7432/mcp, also answered as
http://localhost:7432/mcp, the only local form some managed Claude Code policies allow; any other host name is
refused. Broker-to-broker traffic uses authenticated HTTPS on port 7433 by default. Since AgentBroker 1.1.0 an
agent can keep a conversation across turns with no helper running: its mailbox keeps receiving for 24 hours after
its last call, wait_for_messages and wait_for_reply wait up to 25 seconds for a message or a reply
(wait_for_receipt, since 1.3.0, for the recipient's receipt), and a send
retried with the same message id and text returns the original receipt instead of delivering twice. Message routing stays on your machines and LAN.
Each agent keeps its existing model provider, tool permissions and approval prompts.
- Install AgentBroker from Options → Modules, restart the companion, then open
Options → AgentBroker and enable it. Host version
1.6.1or later is required. - Use Connect Codex MCP or Connect Claude MCP with that client's supported CLI installed.
Claude Code uses the local HTTP endpoint when it needs no token, and when its organization's
allowlist misses the
127.0.0.1address, setup tries thelocalhostone once; explicit denies are not retried. New Codex entries and token-required connections use the packaged stdio bridge. Setup preserves existing entries, including matching Codex HTTP entries, and keeps connection tokens in memory. For Claude Code in VS Code, start a new conversation and check/mcpafterward. Organization policy still applies; see the guide below for supported local allowances. - Enable the desired native peer-delivery adapter to wake existing idle sessions. Discovery is enabled by default; native message submission is off until you enable it. Claude native delivery uses its local peer credentials. Clients are version checked before native delivery.
- On a second workstation, enable its broker too. Request pairing with a discovered broker, compare all four groups of the code on both workstations, then choose Codes match: approve on each one. A request or one approval alone grants no session access. If discovery is unavailable, use Copy my invitation on one workstation, then Pair from copied invitation on the other. The first press previews that public identity; the second within 30 seconds requests pairing.
Pairing shares current and future discoverable sessions between those two brokers. Use the tray's
session controls to make a session private or mute automatic delivery; revoke sharing to disconnect a
paired broker. Messages wait while a recipient is busy. Agents use list_sessions, send_message
and reply_to_message, with receipts for tracking delivery.
Status also shows MCP endpoint readiness and when Claude and Codex were last seen through MCP. The MCP connections row explains recent tool-list activity. Observations start fresh with each worker; idle HTTP clients connect on demand, and saved configuration alone does not count as connected.
See the AgentBroker guide for setup and message states, and client compatibility for verified versions and live-test limits.
One-liners. The module carries a built-in corpus of ~3,200 lines — Classic Fortunes and Dad Jokes — so it has something to say the moment it installs, before you download a single pack. Philosophy, Simpsons chalkboard gags, the abridged Bible and the rest are packs you add on top. Install it from Options → Modules, then from Options → Fortunes you can:
- Dial the tone with one ordered Content level — Clean only / Clean + edgy / Everything / Spicy only — plus a separate Remove profanity / explicit words switch for recognized profanity and explicit sexual content. A live count under the controls says how many fortunes the current selection actually leaves (and warns when that is none), and Show me 5 examples prints what it would say.
- Pick sources — 158 downloadable packs, grouped into seven collapsible collections with a filter box, so you can run only Simpsons + Futurama if you want. Each collection's header counts how many of its packs are on, and an All packs row (All genres on the genre list) turns everything on or off; like a single tick, it takes effect on Apply.
- Download packs — Check online for packs, tick the ones you want (or All packs), then Download
selected; each download is SHA-256-verified against the published
catalog.json. When the catalog cannot be reached or read, the list says so in red: what failed, whose fault it is, when it was checked, and that the same button tries again. - Add your own — Import your own… runs your
.txtfiles (BSDfortune%-format or one-per-line) through a bounded, validating importer; or drop them straight into the folder, where the module notices them and loads them on its own (Rescan folder re-reads it on request).
The schema-v2 target format is six tab-separated fields:
source / topic / genre / level / profanity / text. The conservative prof flag covers recognized
profanity and explicit sexual content. The embedded corpus and bundled packs are now this v2 format
(the classification pass is complete): the runtime reads their per-fortune topic and genre directly.
External five-field v1 packs are still accepted through the explicit compatibility path.
Source and content filters are hard constraints; an impossible selection produces an empty pool
rather than falling back to disallowed content.
A tiny sentence-embedding model (bge-small, ONNX, int8 — shipped inside the Fortunes module package, which is why that module is ~30 MB) reads your foreground window and picks a fortune that fits what's on screen — a C# file nudges it toward programming quips, a breakup post toward heartbreak lines. It warms once in the background (cached after), rebuilds itself whenever your packs or filters change, avoids repeating the lines it just showed, and falls back to the full library whenever it isn't sure or is still being built. Toggle it in Options → Fortunes, where the Status card at the top says whether the index is up to date.
A screen-commentary LLM: the companion glances at your screen (OCR or a vision model) and speaks an original remark. It's off out of the box, so the companion never speaks to a provider on its own. The honest caveat: four buttons in Options → AI Brain do reach the provider whichever way the master switch is set, because their whole job is to answer "can you reach it" — Refresh local models, Refresh cloud models and the two Test connection buttons (the Local provider card's tests the local model, the Cloud provider card's the cloud one), and so do the Coding-agent CLI card's Validate (one tiny call through the CLI) and Update CLI (the CLI's own update). Each is greyed with its card while the brain runs on an engine it does not serve. Nothing else contacts it while the brain is off. When you want it on:
- Right-click the tray → Enable AI. Disable AI cancels Desktop AI Companion's provider requests. With Ollama, configured warm-up and unload operations also control that server's keep-alive model memory. Generic OpenAI-compatible providers expose no remote-memory control, so disabling Desktop AI Companion does not promise to free memory owned by those servers.
- Works with any OpenAI-compatible provider — Ollama (local, with keep-alive VRAM control),
LM Studio, llama.cpp, OpenRouter, OpenAI, or a custom
/v1endpoint. Pick one in Options → AI Brain; cloud keys are stored DPAPI-encrypted. - Or runs on a coding-agent CLI you already use (AI Brain 1.3.0). Under Brain runs on, pick Claude Code
CLI or Codex CLI and every remark (Ask, the hotkey, the tray row, the random drops, the poke and the persona
auditions) goes through that CLI on your existing sign-in instead of a model server: the persona as its system
prompt, and the screen's text, or a screenshot with Use vision on, on its standard input. Choosing the CLI is
the consent: the remark goes to Anthropic or OpenAI. Since AI Brain 1.5.0 the card chooses each CLI's model and
effort: Claude Code model (Haiku, Sonnet, Opus, or Claude Code's default, which is whatever your own setup
resolves) and Codex model (Automatic, the first model its own
codex debug modelslists for the installed version, or one of the models that list names), each at Low, Medium or High effort; a Codex model whose owncodex debug modelsentry lists efforts and not the one chosen is refused before the call is made, naming both. The cards that stop applying grey out whole, their buttons with them, and each says under its title which choice it is not used for; your values in them are kept. The Coding-agent CLI card shows the CLI's version, the model and effort chosen and the model that last answered a remark or an audition; for each CLI the account it is signed into and what goes through it, a row each, the CLI chosen on screen's live and the other's greyed; and the most recent Validate of either CLI, which tests the model and effort on screen, names the model that answered, reads the sign-in of the CLI it tested, and is dropped once an Apply saves another model or effort for that CLI; Update CLI runs the CLI's own update. AI Brain's Status card names the model its last remark ran on. No session is left behind (--no-session-persistence,--ephemeral), so AgentFlow never announces the companion's own calls. Since AI Brain 1.5.1 a Claude Code call leaves out your own hooks, claude.ai connectors, and theCLAUDE.md,CLAUDE.local.mdandAGENTS.mdfiles around its folder, your home folder's included. Your own Claude Code settings files are still read unless you turn on Keep my Claude Code settings out of companion calls in the card (since AI Brain 1.6.0, and in Remembrance's card since 2.7.0), andPRIVACY.mdsays what of them reaches the prompt and what the switch also drops. Since AI Brain 1.6.0 every Claude Code model call names the permission modedefault(--permission-mode default), so none runs in auto mode, andPRIVACY.mdsays what auto mode added to each request. Your organisation's managed settings, instructions and hooks still apply, and Claude Code's own usage reporting to Anthropic is left as it is (PRIVACY.mdsays what it sends). Since AI Brain 1.5.2 a Codex call sends noAGENTS.mdfrom its folder or the folders above it, only Codex's own global instructions file,~/.codex/AGENTS.md(orAGENTS.override.mdbeside it, which Codex prefers when it exists). Since AI Brain 1.5.6, on Codex 0.160.1, what Codex itself adds to a call, apart from your own~/.codex/AGENTS.md, names no folder of yours: a screenshot goes to Codex asscreen.pngin a folder of the call's own, where it went by its full path, and Codex's skills section, which listed skill folders under your user profile, is left out. What you ask about still goes as it is, the front window's title, the title of the window the companion is standing on and the screen's text or picture included, andPRIVACY.mdsays what a later Codex could bring back. - Ask on demand with the global hotkey (
Ctrl+Alt+P) or the tray, or opt into occasional idle commentary. - Reads the screen with no extra install. It prefers Tesseract and uses it whenever one is
found, because it reads dense text better; with no Tesseract anywhere it falls back to Windows' own
OCR rather than going screen-blind, which is why no extra install is required. The OCR engine field in
Options → AI Brain → What it sees reads (optional) while blank, and its own browse button picks a
tesseract.exethe auto-detect missed (it selects a Tesseract binary, not between the two engines); Apply saves the pick. Test OCR tells you which one actually answered, before or after Apply. - Audition a Disposition before you live with it. A name tells you nothing about a voice, so the Persona card has two buttons. Show me 5 examples runs five made-up screens (a code editor, a video, an empty desktop, a spreadsheet, late-night browsing) so the persona is the only thing that varies. 5 about my screen is the honest version: it reads what you actually have open, once, and gives you five different things the companion could say about it. Each sample is told what the previous ones said, so you get five angles rather than the same line five times. Both name the model that answered, and say so when your configured model was missing and another was substituted.
Measured on this project's own workload, not borrowed from a leaderboard: the real system prompt, a real screen capture at the width the module actually sends (896px), and the shipped dispositions. Ollama on one RTX-class GPU, cold load reported separately from warm because a user pays it once per session rather than per remark.
Vision model — used when the companion looks at the screen.
| model | size | warm | cold | usable JSON | verdict |
|---|---|---|---|---|---|
gemma3:4b |
3.3 GB | 456 ms | 10.9 s | yes | recommended |
gemma4:12b |
7.6 GB | 52 s | 66 s | yes | correct but far too slow |
moondream |
1.7 GB | 357 ms | 30.9 s | no | unusable, see below |
If a model you picked is not installed, the companion now says so (since 1.1.0). Ollama's "Refresh local models" can drop a model you had already selected, and before 1.1.0 the companion just went quiet — a missing model looked exactly like having nothing to say. It now substitutes another model that can do the job, or tells you once to pick one in AI Brain settings. If the backend is simply offline it stays quiet, because an unreachable server is not evidence your model is missing.
moondream is fast and tiny and still the wrong choice: it is a captioner, not an instruction
follower. Asked for an in-character remark as JSON it returns a generic description of the image
("The image shows a computer screen displaying a webpage with three tabs open…"), often of things
that are not there. The module parses a reply as {"text":…,"emotion":…} and speaks nothing when
that fails, so a captioner produces a companion that is permanently, silently mute.
gemma4:12b answers correctly every time and takes 52 seconds to do it. That is not a latency
figure for a desktop companion, it is an abandonment figure. It is also a multimodal generalist
carrying audio and tool-calling this module never invokes, which is what the extra 4.3 GB buys.
How much of the screen it can actually read. The module downscales a capture to 896px wide before sending it. Measured with an eye chart -- seven uncommon words at known font sizes, downscaled to each candidate width, read back and scored against a list the model never saw:
| capture width | 11px text | 14px | 18px | 24px+ | invented words |
|---|---|---|---|---|---|
| 448 | no | no | no | yes | 0 |
| 672 | no | no | yes | yes | 0 |
| 896 | no | near | yes | yes | 0 |
| 1120 | no | near | yes | yes | 0 |
| 1344 | no | near | 2/3 | yes | 5 |
| 2560 (native) | no | near | yes | yes | 5 |
Latency was flat at 181-283 ms across every width including native, so a bigger image is not slower -- the model resizes internally. What a bigger image does is hallucinate: at 1344 and native it invented words that were never on the chart. So 896 is an accuracy ceiling, not a bandwidth one, and raising it to "read the screen better" reads the screen worse. Text at 11px is unreadable at any width, native included; that is the model, not the downscale.
The practical consequence: a companion can reliably comment on headings, filenames, tab titles and window chrome, and cannot read body text or small UI labels. Window-scoped capture helps here for a different reason -- a 1200px-wide window barely gets downscaled at all, where a 2560px monitor is cut by two thirds.
That only applies when the front window is on the companion's own monitor. The window rect is
intersected with the monitor being captured (ChooseCaptureBounds), and a rect left smaller than
320x240 falls back to the whole monitor. So a companion on display 1 commenting while you work on
display 2 gets a full-monitor capture of display 1, with all the downscaling above, which is the
mechanism behind reactions that read as if the model only saw the wallpaper.
Text model — used for the faster OCR path, and the one that has to carry a persona.
15 generations per model: 5 dispositions x 3 runs, scored mechanically. "Parses" uses the module's own extractor, so it means the companion would actually speak this rather than the model tried.
| model | size | median | parses | on-topic | profanity | words | verdict |
|---|---|---|---|---|---|---|---|
gemma3:4b |
3.3 GB | 377 ms | 15/15 | 15/15 | 6/6 | 21 | recommended |
dolphin3 |
4.9 GB | 402 ms | 15/15 | 13/15 | 4/6 | 54 | fallback |
llama2-uncensored |
3.8 GB | 436 ms | 1/15 | 12/15 | 0/6 | 53 | avoid |
dolphin-mistral |
4.1 GB | 662 ms | 7/15 | 10/15 | 5/6 | 57 | avoid |
nemotron-3-nano:4b |
2.8 GB | 1,513 ms | 10/15 | 10/15 | 2/6 | 17 | avoid |
Profanity counts only the two dispositions whose instructions actually demand it (Jules Winnfield, Jeff Ross). Words is the mean spoken length against the prompt's own 40-word cap. None of the five refused a persona outright and none produced asterisk-masked profanity on this run.
gemma3:4b scored perfectly on every axis — parsed 15 out of 15, referenced something really on
screen 15 out of 15, complied with both profane personas 6 out of 6, and averaged 21 words against a
20-word target. It is also the fastest of the credible options. Samples, one per disposition:
- Ted Lasso — "Well now, that's a bit like a fumble in the end zone, ain't it? Looks like we've got a little somethin' to sort out with that BUG-003 file, bless its heart."
- Jeselnik — "That wallpaper is a tragically predictable backdrop for a coding disaster. It seems someone's priorities are fundamentally misplaced."
- Drill Sergeant — "BUG-003.MD! THAT WALLPAPER IS AN INSULT TO PRODUCTIVITY, PRIVATE! FIX IT NOW!"
dolphin3 is the fallback if gemma3:4b will not run for you. It is equally reliable structurally
(15/15 parses, no leaks, no refusals) and about as fast, but it rambles: 54 words on average against a
40-word cap, frequently running past the limit and getting cut mid-sentence, and it delivered the
profane personas only 4 times in 6.
Avoid the other three, and the reasons differ. dolphin-mistral and nemotron-3-nano fail to emit
usable JSON on a third to a half of attempts, and nemotron is four times slower. llama2-uncensored
is the worst of the set at 1 parse in 15: it does not answer in JSON at all, instead prefixing the
character's name and quoting itself — Pip: "Oh, look at that! The wallpaper is beautiful..." — which
is also not the persona it was given. It is a 2023-era Llama 2 fine-tune and it shows.
"Uncensored" in a model's name predicts nothing. The safety-tuned gemma3:4b beat all three
uncensored models on the profane personas, 6/6 against 4/6, 5/6 and 0/6. The one whose name promises
this capability most directly scored zero. In an earlier run dolphin3 self-censored to sh*t — a
model tagged uncensored, masking a word the persona explicitly asks for in full. Treat the module's
LooksUncensored marker list (dolphin, uncensored, abliterated, unfiltered) as the advisory
label it says it is, never a capability test.
The prompt mattered more than the model. Before the no-censoring rule moved into the shared system prompt, only 3 of 5 models produced uncensored profanity for Jules Winnfield; afterwards all 5 did. If a foul-mouthed character comes out clean, suspect the prompt before swapping models.
On profanity: there is deliberately no profanity switch for the AI. Choosing a disposition is the acceptance — you pick Jules Winnfield from a list that says who he is. A second toggle would mean selecting a foul-mouthed character and getting a sanitised one with no explanation, which is the same failure as a model self-censoring. (Fortunes does have a filter, because its content arrives unchosen from 158 packs; a persona is chosen by name.)
One model does both jobs. gemma3:4b is the recommendation for the vision model and the text
model, which replaces an 11.4 GB pair (llama2-uncensored 3.8 GB + gemma4:12b 7.6 GB) with a single
3.3 GB download and no measured loss on any axis. It is also the module's shipped default, so a fresh
install is already pointed at it:
ollama pull gemma3:4b
If you need an alternative, ollama pull dolphin3 is the fallback for the text model — equally
reliable structurally, a little slower, wordier than the prompt asks for, and less consistent on the
two profane personas. There is no second choice worth recommending for the vision model: of the three
tested, one takes 52 seconds and the other cannot hold a persona at all.
Sizes are Ollama's Q4 quantisations. Numbers move with hardware, quantisation and Ollama version; what should survive is the shape — a 3-4B instruction-tuned model is the right class for a one-line remark, a 12B+ model is too slow to feel alive, and a captioning VLM cannot hold a persona at all.
Privacy: fortunes and smart-fortunes are entirely local. The optional AI brain can send window, OCR, screenshot, persona, and recent-conversation context to the provider you configure once it is enabled; while it is off, only the explicit Refresh models and Test connection buttons reach the provider, as do the Coding-agent CLI card's Validate and Update CLI, and they send no screen content. Remote providers require explicit cloud-data consent; a coding-agent CLI needs no consent beyond choosing it under Brain runs on, and its card says what goes through it. See
PRIVACY.md.
Your VRAM stays yours. A local model is only worth keeping in memory between remarks if you want speed
more than the memory, so Model residency is one choice — unload after each remark (the default), keep it
loaded for the session, or leave it to Ollama. The pane reads Ollama's own /api/ps and tells you what is
resident right now (model, GB, seconds until eviction) rather than quoting a default that
OLLAMA_KEEP_ALIVE may have overridden on your machine. And because a model claiming several GB beside a
game that already owns it can take the game down, "stand down while a fullscreen app is running" is on by
default: it releases whatever is loaded the moment a game appears, on any monitor, and lets the free offline
fortunes answer instead; the Ask hotkey says why. It sits in the Local provider card because it guards the
graphics card and nothing else: it applies to the local model and to a cloud provider's fallback to it (which waits
while the game runs), and greys on a coding-agent CLI, which loads nothing on your machine. Whether the companion
can be seen is a separate question with no switch: one that has moved to a free monitor beside a game answers on
a CLI or a cloud provider (on the local model the switch above decides), and one hidden with nowhere to go (a single
monitor, or a pinned companion) is not asked at all, since its answer would only arrive after the game.
Remembrance gets the same courtesy. While it transcribes or summarizes with a local model, "stand down while Remembrance is transcribing or summarizing" (also on by default) keeps AI Brain off the local model: remarks give way to the offline fortunes, the Ask hotkey is declined with a short line saying Remembrance is using the model, and AI Brain loads nothing and unloads nothing, since the model Remembrance is using can be the very one AI Brain would unload. For the same reason a game starting mid-transcription does not trigger the release above. The pane's Status row says why it is standing down. A cloud provider keeps answering; only a fallback from it to the local model waits. A coding-agent CLI keeps answering too, since nothing it does loads into the local model; during a game it answers whenever the companion is in view.
Check a companion's animations.xml before you use it. Three columns: the XML on the left (editable, with a
re-analyze that keeps up as you type and an atomic save), a report plus a colour-coded reachability
map in the middle, and the selected animation on the right — its real sprite frames, with playback,
and the transitions it can take. Click a legend colour to filter the map; it stays usable on a sheep
with 268 animations.
The point is the things you cannot see by eye: which animations can never play (nothing transitions into them), and which frames are the sheet's blank tile — so "it shows nothing" stops looking like a bug. It validates with the host's own parser, so its verdict is what the app will actually do, and it previews the companion on your real desktop without installing or saving it.
It also imports Shimeji skins. Point it at a skin folder or a .zip, in either the classic desktop
format (an actions.xml/behaviors.xml config plus PNG sprites — American spelling, which is what the
parser matches on) or the newer Android bundle format
(a JSON manifest plus WebP sprites), and it converts the skin to a Desktop AI Companion companion, maps its behaviours
onto the app's own action model, keeps the artwork's per-pixel transparency, shows an honest report of
what could not be carried over, then previews and installs it.
Point the companion at your calendar and it announces each event a few minutes before it starts. Watch up to
five calendars at once: four that each read a local JSON feed a work process writes, a Calendar URL
(Google's secret .ics, a published Outlook / Microsoft 365 calendar, or iCloud — recurrence and time
zones handled), or a running desktop Outlook over COM; and, since Reminder 1.3.0, a Zoom card that reads
the meetings you host in Zoom after a browser sign-in to a Zoom app you make yourself
(modules/Reminder/ZOOM.md says how). A Zoom meeting that is also on your calendar is
announced once. Every calendar has its own name, its own
speech font/size/colour, and its own chime (browse for any WAV/MP3, or turn it off) so a Home event and a
Work event read and sound different.
Beyond the basics: one or several lead times (e.g. 15,5), quiet hours, and a hush while you're
presenting or an app is fullscreen. A meeting with a Teams / Zoom / Google Meet / Webex link gets a
one-click Join in the tray, and when it starts a small card above the tray clock asks Join / Dismiss
until three minutes past the start. The card takes itself down as soon as Teams or Zoom is using your
microphone, because by then you've joined; turn it off with Ask me to join when a meeting starts. With
Remembrance installed and not already recording, the card adds Join & record (Reminder 1.2.0,
Remembrance 2.5.0): it starts a Remembrance recording named for that meeting, then opens the meeting, and it
moves to the front of the next card when you picked it last time. Remembrance's Let Reminder's Join & record
start a recording (Meetings card, on) turns that off. Ask the
companion to read today's agenda any time, or have it give you a morning briefing at a set time.
Optionally skip meetings you've declined or all-day events. And you can add your own typed reminders
independent of any calendar (daily 09:00 Standup, every 60m Stretch, in 30m Pizza, 2026-09-01 14:00 Dentist). One of those chimes when it's due and asks on the same card: Done or Snooze 10 min (a
one-off also offers Snooze 1 hour). If nobody answers, a one-off is snoozed ten minutes once and then
marked missed, and a recurring one waits for its next time. Neither card needs a companion on screen.
Reminder 1.1.0 needs Desktop AI Companion 1.6.0 or later, which draws the card.
With several companions on screen you can also choose which companion announces which calendar — a per-calendar Reminder companion, offered only from the companions actually out, so Work can come from one character and Home from another. If the companion you picked isn't on screen when a reminder fires, it still speaks (through whichever companion speaks for the app) rather than being swallowed.
That speech styling is available to any module through a shared helper, and Preferences → Sound now has two independent switches — companion sounds (a companion's own effects) and notification sounds (module chimes) — so you can silence one category without the other.
A local "meeting memory" module: records the meeting (your microphone plus the system output over WASAPI
loopback), transcribes it offline with a local Whisper (whisper.cpp), names the file from the calendar
(via the Reminder module) or a timestamp, snapshots the screen on a hotkey, and purges the audio and
snapshots after 72 hours while keeping the transcript and the calendar attendee roster, in the storage folder
and, since Remembrance 2.7.0, in up to 8 folders it pointed to before, by the same rules. A purge that deletes
anything, and any delete of a recording's files or folder that fails, writes one line to the diagnostic log
with the counts and the error's type, never a file or folder name. The audio and its transcription never
leave the machine. It can also write an optional plain-language summary beside the
transcript, off by default, using a local Ollama over loopback, or, if you choose it under Summary runs on
(Remembrance 2.1.0), one call through Claude Code CLI or Codex CLI on your existing sign-in, which sends
the transcript's text to Anthropic or OpenAI (since Remembrance 2.3.0 on the model and effort its Coding-agent CLI
card chooses for that CLI, the same rows as AI Brain's, and since 2.3.1, on Claude Code, without your own hooks,
claude.ai connectors or the CLAUDE.md, CLAUDE.local.md and AGENTS.md files around its folder, as in AI Brain
1.5.1, though your own settings files are still read unless you turn on the card's Keep my Claude Code settings
out of companion calls (2.7.0), and since 2.3.2, on Codex, with no AGENTS.md but Codex's own
global ~/.codex/AGENTS.md, or the AGENTS.override.md beside it that Codex prefers when it exists, as in AI Brain
1.5.2, and since 2.3.6 without Codex's skills section, which listed skill folders under your user profile, as in AI
Brain 1.5.6, on Codex 0.160.1, the version measured), or (Remembrance 2.2.0) one call to a Cloud provider
(OpenAI, OpenRouter, or any OpenAI-compatible base URL, a server on your own computer included) with an API key kept
encrypted for your Windows account, which sends the transcript's text to that provider; the summary file's header
says which, on a CLI with the model that answered and its effort, and a transcript over 360 KB (more than six hours of talk) is summarized by the local model instead. There is deliberately no cloud
transcription. It needs a local Whisper set up (a whisper-cli.exe plus a model), and it records only from the
machine's own console session — a Remote Desktop session presents no real microphone or speakers.
Since Remembrance 2.8.0 the built-in summary prompt asks for more: an overview, a part for each topic with its
specifics and who said what, the decisions with their reasoning, a table of action items (owner, action, details, due
date, whom to follow up with) and the open questions, finished rather than cut off mid-sentence. Under Summary
prompt you can choose Use my own prompt file and point it at a .txt file of your own. It is read again for
every summary, so an edit to it changes the next one with no Apply; a file that is missing, empty, unreadable or over
16,000 characters is not used, and the summary goes out on the built-in prompt with the Status line saying why.
Save the built-in prompt to a file… writes the built-in prompt out to start from. The After the summary card
(off by default) passes each summary to a second CLI, Codex unless you pick Claude Code, with the text of a follow-up
prompt file of yours, for whatever other work you ask of it there. The answer is saved beside the summary as
<name> - follow-up.md, and a follow-up that fails leaves the summary as it was. It sends the summary, and the
transcript only when The follow-up reads says so, to that CLI's vendor; Run the follow-up on the latest
summary runs it by hand.
Since Remembrance 2.6.0 a recording is named date and time first, to the minute, then the meeting, for example
2026-10-20 14-08 Design Review.summary.md (with a folder by date) or a folder 2026-10-20 14-08 Design Review
(with a folder per capture), so a folder lists the meetings in the order they happened. Since Remembrance 2.9.0 the
summary is saved as Markdown (.summary.md), the format its text is written in; summaries saved before keep
.summary.txt, and the follow-up, renaming and the purge treat both the same. Two recordings
that start in the same minute with the same name get (2). Recordings made before keep their old names
(Design Review - 2026-10-20 14-08-25) until you press Rename older recordings to the new names on the
Storage card, whose Older recordings line says how many there are first. It renames every file of a recording
together and puts a recording back if one of its files cannot be moved. It waits while anything is recording, saving
or transcribing, and leaves files from before 2.0.0 that sit loose in the storage folder as they are.
Since Remembrance 2.4.0 a recording is watched, so a forgotten one does not run on for hours. Its questions appear in the app's card above the tray clock (hidden from screen sharing), never in a speech bubble:
- "Your meeting looks over. Keep recording?" when Teams or Zoom lets go of the microphone, or when nobody has talked for 5 minutes (15 while Teams or Zoom still holds the microphone). A silent lobby before anyone talks does not count. Under When the meeting ends (the new Meetings card): Warn, then stop (the default) stops and saves the recording if nobody answers in 2 minutes, keeping it up to 30 seconds after the meeting ended and deleting the rest; Remind only says so and keeps recording; Off asks nothing about the meeting ending. Pressing Stop now yourself keeps the whole recording.
- "The meeting was due to end at …" once the calendar end of the meeting it started in has passed (only when the calendar gives an end), with Ask in 10 min.
- "… has started." when the next calendar meeting begins: a new recording for it, keep it as one, or stop.
- Longest recording (1 to 8 hours, 3 by default) asks whether to keep 30 more minutes, and stops if nobody answers. It applies whatever When the meeting ends says.
- Offer to record meetings (off by default) asks whether to record when Teams or Zoom takes the microphone during a calendar meeting and nothing is recording.
Whether Teams or Zoom is using the microphone is read from the start and stop times Windows keeps for its own
microphone indicator; no other application's audio is touched. The two tracks are now converted to 16 kHz mono
16-bit as the audio arrives (about 115 MB an hour each, where the device's own format took about 1.3 GB, which
used to stop a track saving after about three hours without a word); a track that does stop saving is logged and
shown with a ⚠ on the Status line, as is a storage folder inside OneDrive (recordings upload, and deleted audio
stays in OneDrive's recycle bin). Since Remembrance 2.7.0 a fresh install whose Documents is inside OneDrive
records to Remembrance in the application's data folder instead of Documents\Remembrance, and the Status line
says so; an existing install keeps its folder. Requires the v1.7.0 (or newer) host: 1.6.0 draws its questions and 1.7.0 greys its Remove token off Claude Code.
Teams captions in the meeting transcript. Turn on Use Teams live captions in meeting transcripts under Sources, then enable live captions in Teams. This version still needs a Teams layout profile from a real meeting. Until one is available, the Captions row explains why reading is unavailable and the recording uses local Whisper as before.
When the reader finds captions, the saved meeting transcript uses the corrected lines with their speaker names. For a late start, a closed pane or captions that stop changing, local Whisper can fill gaps that contain audio activity. Each added line carries a recording label and time range. Under Sources you can adjust the estimated caption delay (default 2 seconds) and the time to check for stale captions (default 15 seconds). Enabled summaries receive this same transcript, including speaker names, through the selected service. To retry a gap, choose Transcribe a WAV file… and select the recording. Keep its original captions file beside the WAV so Remembrance can restore the speaker lines.
The original caption record is kept alongside the transcript in recording.captions.txt (or <name>.captions.txt
in a date folder). It lists observation times, corrections in their final form, and gaps. Both files survive the
72-hour media purge. Check Teams captions now makes one read without saving it. Turning off the switch stops reads
during a recording.
Notices when a coding agent (Claude Code, Codex) is sitting blocked on a permission prompt, and has the
companion tell you. It reads those agents' own JSONL transcripts, which is why it declares
AgentTranscripts. It says which app is waiting: Claude desktop, Claude Code in VS Code or the CLI, Codex
desktop, Codex in VS Code, or codex exec, as the transcript records it.
It can also answer the prompt for you, one call at a time, if you switch that on. That half is off by
default and is the reason the module declares InputSynthesis and Network as well: approving means
synthesising input into another application. Between them that is the most invasive permission set any
module here asks for — Speech, Animation, Storage, AgentTranscripts, InputSynthesis, Network, Companions, Audio — so the consent prompt names all eight before it loads. A per-window press limit is available in
the options pane and defaults to effectively unlimited (9999), so it is a brake you can set rather
than one that is already on. Requires the v1.2.0 (or newer) host.
Each check reads every agent panel and, since AgentFlow 1.11.0, presses the waiting prompt in each of them, so three panels waiting are three presses on one check rather than one a check. A card that is still there after five presses is left alone, since its click is evidently not landing, while the other panels go on being answered. How often it checks is a setting since 1.11.0: Check the agent panels in VS Code every this many seconds, 1 to 30, default 10, applied as soon as you press Apply. The agents' transcripts are still read every ten seconds whatever it is set to, because the "an agent has been waiting" notice waits 30 seconds by default anyway.
Answering reaches the agent panels in VS Code only. With it switched on, a session waiting in the
Claude or Codex desktop app, or in a terminal, is announced by name with the reminder that AgentFlow cannot
answer prompts there. The Claude desktop app refuses to start with a debugging switch and Codex desktop
offers no way to pass one, so pressing in the desktop apps is kept as an idea
(docs/IDEAS.md, idea 20) rather than worked around.
Status card (AgentFlow 1.7.0). The top of AgentFlow's options shows, at a glance: Connection to VS Code (a green ✓ only when the debugging port answers and an agent panel can be read, a red ✗ with the reason otherwise), the agent sessions active in the last 15 minutes by app and how many wait on a prompt, the VS Code panels by state (working, subagents working, idle) and the Codex ones, the session limit with whether pause & resume is on, and the mode with the time of the last check. Since 1.8.0 the tray's AgentFlow submenu also carries a Session limit: 12 % · resets 12:00 row (with the weekly figure and the pause threshold when there are any). Since 1.9.0, clicking that row asks the working sessions to pause, exactly as Pause working sessions now does, and the companion says how it went. Since 1.10.0 a Codex usage row shows what each live Codex session's own log last reported about its account's limits, by app and plan (a Business workspace reports none; a personal Pro account reports a weekly figure). It is read only: nothing pauses a Codex session.
Pause & resume at the session limit (AgentFlow 1.6.0, off by default). Tick Send a pause & resume command when the session limit passes in the Session limit card and pick a percentage (80–98, default 90). AgentFlow then reads the session-limit figure the Claude Code panels in VS Code show, once a minute. When the limit passes your percentage and the panel has said when it resets, AgentFlow types one message into each panel whose agent is working (mid-turn, or with its subagents working): stop at a safe point, bring any subagents or background tasks to one, write a short resume note, and use CronCreate to schedule a one-shot resume five minutes after the reset. Each panel is asked once per limit window, and the companion tells you once. It never types into a panel with a permission prompt up or with your own unsent text in its box, and it checks that the panel took the message (one it did not take is removed again). It types into Claude Code panels only: since 1.10.0 each panel's owner is checked twice, when the panel is read and again just before typing, and a panel it cannot place as Claude Code's is left alone. The weekly limit is mentioned, not acted on. Sessions in the Claude desktop app or a terminal cannot be reached and are named instead. Pause working sessions now in the same card sends the request on demand. A CronCreate resume lives only as long as its session, so the note is what to pick up from if the session closes. The figure appears in the panel from about 70 % used, or when the limit's status changes.
Blinks your keyboard's Scroll Lock light so the machine reads as active, at one of six speeds (Glacial through Hyper) switchable from the tray or the options pane. It works by pressing Scroll Lock, which types nothing anywhere; Windows still counts the event as activity, which is the point. Most programs ignore Scroll Lock, but not all: the key is on while the light is lit, and Excel, for one, then scrolls the sheet with the arrow keys instead of moving the active cell. Caps Lock stops it, and by default only until the companion next starts; once Caps Lock is off, picking a speed in the tray starts it again at once. Untick Resume on application restart in its options to make the stop last through restarts, as it did before Blinking LED 1.0.7. Its tray entry says when Caps Lock stopped it, and with the box unticked it keeps saying so after a restart, until you switch it back on or pick Off. Tick the box again and the next start switches such an off back on; until then the options leave it off whatever you change there but Blink the Scroll Lock light, and, with Caps Lock off, picking a speed in the tray switches it on at once. An Off you pick yourself stays off either way, and stopping always leaves the light off rather than wherever the blink happened to land. An off saved by an earlier version still reads as off; pick a speed in the tray once to switch it back on.
It keeps to one tray entry, with Off folded into the speed submenu so the whole thing is one decision in one place rather than a toggle plus a separate rate menu. The standalone app also showed a live countdown to the next blink; that is deliberately not here, because a module ships data and the host renders it, so the value could only be a snapshot taken when the menu opens, and a stale countdown is not worth the tray space. Blink once now in the options pane covers what it was really for: telling "doing nothing" apart from "being refused by Windows", which it reports with the actual error number.
A port of a standalone tray app, which is mostly a story about how little a module has to do: the tray entry, the settings pane, the config file, single-instance behaviour and start-with-Windows were most of the original's code, and the host provides all of them. The companion stays out of the way, saying nothing at startup so it does not talk over its own opening line, and speaking only when you switch it on or off or change the speed. Each speed has a dozen remarks to choose from and never repeats the last one, and none of them are complimentary.
The upstream engine's core experience remains: sprite-sheet animations, gravity, window-edge climbing,
taskbar sitting, child companions, NAudio sound, and the drop-in animations.xml companion format (swap the sheep
for any community companion). Compatibility, validation, lifecycle, and multi-monitor fixes modify that
engine where required. From Options → Companions you can pick a different look or download more companions
from the in-app catalog — shown as a grid of thumbnail previews, each SHA-256-verified before it is
added. The tray dialogs also follow your Windows light/dark theme.
Each GitHub release provides two Windows x64 application artifacts, plus SHA256SUMS.txt and the two
module-authoring NuGet packages:
DesktopAICompanion-v<version>.msi: a per-user installer (no admin).DesktopAICompanion-Portable-v<version>.zip: unzip anywhere and runDesktopAICompanion.exe.
The release workflow removes dots from the version in download filenames, so tag v1.2.6 produces
v126. Earlier releases may have unversioned filenames.
Prerequisites. Windows 10 or later, x64, and the .NET 10 Desktop Runtime — the builds are framework-dependent, so the runtime is not included. AI Brain and Remembrance additionally need Windows 10 version 2004 (build 19041) or later, because they use the built-in OCR and audio-capture APIs.
Neither download carries the plugin modules: they come from the in-app catalog, which is what keeps the
installer small. The portable ZIP additionally bundles six companions and all 158 fortune packs offline;
the MSI carries neither, so a fresh install starts with the one built-in companion and no fortunes at all
until you install Fortunes from Options -> Modules: the corpus lives inside that module's payload, not
in the base app. The builds are unsigned -- verify
them against SHA256SUMS.txt on the release.
- Left-click-drag the sheep to move it; it falls and roams on its own.
- Right-click the sheep to poke it — first pokes give fortunes, then it starts ignoring you, then gets sassy, then escapes to a bathtub. Each companion keeps its own poke ladder, so poking one does not make another sassy, and only the companion you actually clicked answers.
- Right-click the tray icon for the menu: Add a companion, Remove a companion, Synchronise companions, Test Speech, Companion Speech, Enable/Disable AI, Options, and quit.
- Synchronise companions makes every companion play its type's
syncanimation at once. It only appears when more than one companion is out AND at least one of their types declares that animation, because synchronising a single companion does nothing and a type without the animation has nothing to play. Every converted companion has one; the converter synthesises it. - Tray → Companion Speech picks which module speaks for each companion:
Companion Speech ▸ Pearl ▸ Fortunes,Companion Speech ▸ Rick ▸ AI Brain, and so on, with a tick on whichever is in effect. There is an All companions row for the shared default and a Reset all companions to the default row to clear per-companion choices. With several companions on screen they no longer all say the same line at the same moment — a reaction belongs to one companion. - Options opens with Preferences and Modules pinned in that order, then everything else sorted alphabetically. That tail mixes core panes and module panes together rather than listing modules after core ones, so Companions (core) sits among them. On a full install it reads: AgentFlow, AI Brain (provider / model / key / OCR / triggers), Blinking LED, Companion Studio, Companions, Fortunes (content level / sources / packs / smart toggle), Remembrance, Reminders.
- Options → Companions gives each companion a size and, on a multi-monitor desktop, a screen. Leave the screen on Any and the companion spawns wherever; name a monitor and it stays there, and it hides rather than moving if a fullscreen app takes that screen over. The dropdown is hidden on a single monitor, where it would offer one option and change nothing. Note the honest limit: a companion lives on the screen it appears on and does not walk between monitors, which is why the preference is worded let companions spawn on any screen rather than promising traversal.
- Updates find you. Opening Options → Modules or Options → Companions already shows what has a newer version — no button press: each pane fetches the catalog when it opens. The weekly background checks record only when they last ran, not what they found, so offline a pane has no update to show. The module check announces an update in a notification; the companion check only logs it, and the pane shows it. The app's own check runs on the same weekly schedule as the other two. All three are notify-only and each can be switched off in Preferences.
- Updating a companion you are looking at just works. If a skin you have on screen gets an update, those companions
are closed and respawned on the new definition. The default companion is the exception and says so: swapping it in
place would close every companion on screen, so it asks you to restart, and the restart brings up the new version.
Before 1.5.1 that restart changed nothing, because the default companion ran a copy saved in your settings; it now
runs from its companion file. A companion XML you drop on it from 1.5.1 on is kept as it is, with one deliberate
exception: a drop that is byte for byte the companion's own file counts as that file from the next launch on, so
it takes the file's later updates. One you dropped under an earlier version is kept too, unless it carries the
same companion name as the file (a hand-edit of that companion, or another companion of the same name): the first
1.5.1 launch then runs the file instead, and first saves your XML beside your settings as
replaced-default-companion-<code>.xml, whichdiagnostics.lognames. - Companions get out of the way of games. While a fullscreen or borderless-fullscreen app covers a monitor, the companions on it move to a free monitor (a pinned one hides), and with no free monitor every companion hides, including one that would otherwise arrive mid-animation. A hidden companion keeps its latest line until its screen clears, and while no companion is in view the app holds its sounds too (chimes, module sounds and the companions' own; a sound you press Test for still plays). A companion in view beside the game carries on talking. The AI brain releases a local model so it is not holding VRAM your game wants. Alt-tab out and everyone comes back.
The installer can start fresh if you want it to: an off-by-default checkbox clears every setting, downloaded companion and installed module and installs a clean copy. It also closes a running companion for you instead of asking you to, offers a working Repair, and launches the companion when it finishes.
An installed copy stores mutable data under %LOCALAPPDATA%\DesktopAICompanion. A portable copy stores it
under data\ beside the executable. Supported files from the legacy %LOCALAPPDATA%\DesktopPet
(settings, vector cache) and %APPDATA%\DesktopPet (fortunes) locations are migrated when needed.
The default is the classic eSheep, but Options → Companions offers a catalog of more than fifty drop-in companions
(each a self-contained animations.xml, SHA-256-verified on download). Choosing one replaces the
current companion instantly. They vary a lot: some are plain walkers, and a few are packed with rare
"easter-egg" behaviours that only surface once in a while.
More than half of them are converted Shimeji skins — Hornet, Ralsei, Cyn, KinitoPET, Gengar,
SpongeBob, Uzi Doorman, Cartman and friends — imported with the repo's own converter rather than
hand-authored. They walk, rest, swing from your hand while dragged, climb the screen
edges, and cross the ceiling once they reach the top; the ones that came with jump frames also
jump. They also use all four edges of your
windows: stand on the top, grip a side and climb down the frame, jump into the underside and hang
from it, and swing round the corner between the two. A few sit and look at your pointer.
Companion Studio shows an honest import report of what the conversion simplified or dropped when you
import a skin yourself; the already-converted companions in the catalog ship the animations.xml alone,
so their reports were produced at conversion time and are not distributed with them.
The colored sheep are the deepest, and the gallery shows them by their character names rather than their colour (the thumbnail already shows that): Ben (blue), Gus (green), Omar (orange), Pearl (pink), Patsu (purple), Rick (red), Yogurt (yellow) — all by Oliver B. They share one 268-animation parkour set.
| Companion | Rare / special behaviours |
|---|---|
| Colored sheep (Ben, Gus, Omar, Pearl, Patsu, Rick, Yogurt) | Rocket blastoff (ignites underneath, launches diagonally, tumbles on impact); UFO abduction with a tractor beam; arrival or exit by spaceship; a black-sheep romance & chase; a crown-wearing king mode with its own full moveset; a flower-bloom death; handstand walking; parkour (rolls, wall-slides, wall-jumps); a sneeze that flings it into a wall-jump; bathtub dives |
| Ssj Goku (RedSparr0w) | Super Saiyan transformation, Instant Transmission teleport, flight, ki blasts, wall smacks |
| Pingus (Adriano) | A Lemmings tribute: digger / miner / basher / stopper, bridge-building, belly slide, skate, a "superman" flight, reading a book, and spawning a baby penguin |
| Negima (Adriano) | Character / costume swaps — Asuna and Akira, three outfits each |
| Neko · Fox · Mimiko · Pink Fox · Pink Neko · Yellow Neko | A run-across-the-screen chase & runaway, plus scratching and napping |
| Blue Ham Ham (Michelle!) | Emotive idles: Sparkle, Shy, Tired, Cheer |
| Mareep · Pikachu · Shiny Sylveon · Bbunny | Simple directional walkers — nice sprites, no gags |
How to catch them. Many sheep gags are entrances: on spawn the companion rolls for how it arrives
(walking in, falling, diving, rolling, a handstand, on a window edge, with a black sheep, or in a
spaceship), so removing and re-adding a companion re-rolls it. Mid-life, a rare deep-idle branch summons a
UFO / spaceship / black-sheep visitor, and the rocket blastoff is a roughly 1-in-5 roll from a deep
idle state. Poking (right-click) runs its own ladder: fortunes, then ignoring you, then sass, then a
bathtub escape. Every companion's exact moves and odds live in its animations.xml.
Requires the .NET 10 SDK at the exact version global.json pins, with
rollForward: disable so a different patch fails fast instead of quietly building something untested; CI's
setup-dotnet steps read that file, so the number lives in one place.
All thirty-three projects target .NET 10. Most use net10.0-windows; AgentBroker.Core and its
core test harness use net10.0. AI Brain and Remembrance pin
net10.0-windows10.0.19041.0 because they call Windows 10 2004 APIs (built-in OCR, audio capture). MSI builds also require WiX 5.0.2 and an existing MSVC x64 toolchain with the Windows SDK for the native installation-scoped shutdown action. This adds no runtime prerequisite to the MSI.
.\tests\run-gate.ps1 # the one that matters: build + CoreTests +
# 17 self-tests + source-text invariants +
# module payload freshness + the module
# template. Fails on a SKIP. (The soaks and
# --online-selftest are deliberately out:
# they need a window station or a network.)
.\build.ps1 -Release -Zip # -> dist\DesktopAICompanion-Portable.zip
dotnet build .\tests\DesktopAICompanion.CoreTests\DesktopAICompanion.CoreTests.csproj -c Release
.\tests\DesktopAICompanion.CoreTests\bin\Release\DesktopAICompanion.CoreTests.exe
$wix = Join-Path $env:TEMP 'DesktopAICompanion-WiX-5.0.2'
.\packaging\Install-LockedWixToolchain.ps1 -PackageRoot $wix -GlobalExtension
.\installer\build-installer.ps1 -Config Release # -> dist\DesktopAICompanion.msi-
build.ps1never terminates a running app; ifDesktopAICompanion.exeis locked, close it and retry. It builds the supported x64 project and all eight module projects (src/DesktopAICompanion_Portable.csproj). -
ZIP and MSI share the runtime list in
packaging/runtime-files.txt. The ZIP also addsDesktopAICompanion.portable, which forces portable data-root behavior even when it is extracted into an install-shaped directory. -
The smart-model runtime (
onnxruntime.dll, the bge-small model, managed deps) ships inside the Fortunes module package, not beside the exe — the installer and the ZIP are lean and carry no modules, so it arrives when the user installs Fortunes from the in-app catalog (~30 MB, which is almost entirely this model + runtime). The corpus + packs pipeline lives insrc/Fortunes/.build-corpus.shassembles the corpus from the labelled inputs named incorpus-required-files.txtand verifies it with--check; there is deliberately no path back to the upstream fortune files, because the topic/genre labels cannot be regenerated. -
The Shimeji conversion engine lives in
tools/ShimejiConvert.Engineand is shared: Companion Studio source-links it for in-app import (above), and thetools/ShimejiConvertCLI drives it for batch/dev use:verify,classifyandconvert/convertroot/convertbundlefor import, plus a family of re-emit migrations (rebalance,reweight,rejump,reloop,reclimb,restdwell,restsplit,dedupe,undirect) that re-time and re-wire already-converted companions in place. Run it with no arguments for the current list. It recompilesCompanionXmlValidator.csrather than reimplementing the rules, so converted companions are graded by exactly what the app enforces. It bundles libwebp'sdwebp(BSD) to decode Android-bundle WebP sprites with alpha, since the Windows WebP codec drops it.
⚠️ The portable csproj compiles the engine fromsrc/dotNet/*but the settings and About windows (OptionsWindow.cs,OptionsShell.cs,AboutWindow.cs) fromsrc/Portable/Wpf/*— edit the options UI there. Help was folded into About.
See grimoire/ for a deep architecture reference,
docs/FORTUNE-SOURCE-TABLE.md for every source and its collection, and
FORTUNE-SOURCES-ASSESSMENT.md for the original harvest assessment
(its per-source table predates the corpus cut).
.github/workflows/build.ymlbuilds Release x64 + the ZIP, runs CoreTests and the app self-tests, builds the MSI, and uploads both as run artifacts. A push or pull request that changes only backlog records (BACKLOG.md,docs/BACKLOG-CLOSED.md,docs/BLOCKED.md,docs/backlog-*-ledger.md) skips that job and runs the records checks instead;tools/ci/Get-ChangeScope.ps1decides, and anything it cannot decide gets the full build..github/workflows/release.yml— push avX.Y.Ztag and it builds, packages the ZIP/MSI +SHA256SUMS.txt, and publishes them on a GitHub release (unsigned).
FormCompanion (upstream-compatible engine) SmartFortunes AI brain (optional)
physics · sprites · poke · bathtub bge-small ONNX ICompanionBrainBackend
│ (offline, CPU) ├─ OllamaClient (native, keep-alive VRAM)
│ Say(text) │ Pick(context) └─ OpenAiCompatBackend (/v1: LMStudio,
▼ │ llama.cpp, OpenRouter, OpenAI, custom)
FormSpeech (follows the companion) ◄── IHost.Say() ◄─────┴── FortuneProvider (corpus + packs + filters)
- FortuneProvider loads the embedded corpus + downloaded/custom packs and filters by tone + source.
- SmartFortunes embeds the active pool once (cached) and ranks by centered cosine + app→category routing, degrading to random when nothing fits.
- AI brain is gated behind a master switch (off by default) and picks its backend from the provider setting; only Ollama gets native keep-alive VRAM load/unload.
Everything above the companion engine is a module, and you can write one without cloning this repository.
There is no signing gate, no allowlist and no catalog requirement: build a DLL, drop the folder in
modules\, restart.
# DesktopAICompanion.Contracts.nupkg + DesktopAICompanion.ModuleKit.nupkg are attached to every release;
# download them and point a package source at that folder.
dotnet new install <path>\templates\desktop-ai-companion-module
dotnet new desktop-ai-companion-module -n MyThing --moduleId mything --displayName "My Thing" --standalone true
dotnet build -c Release
# copy bin\Release\ to %LOCALAPPDATA%\Programs\Desktop AI Companion\modules\mything\ and restart
DesktopAICompanion.exe --module-selftest=mything # runs your module through the real loaderWhat you get scaffolded is a module that already works — a tray item, a settings pane whose values round-trip, a reaction to the companion being poked, and a self-test.
docs/module-authoring.md— the guide: theIHostsurface, permissions, what the host guarantees, and the publishing rules.DesktopAICompanion.Contractsis the whole contract: implementIModule, talk to the app throughIHost. ItsAssemblyVersionis pinned at1.0.0.0forever, so a module you build today keeps loading. Simplest possible start: the portable ZIP shipsDesktopAICompanion.Contracts.dllbeside the exe, and a plain<Reference>to it is enough.DesktopAICompanion.ModuleKitis optional convenience — durable file writes, per-module paths, embedded-resource loading,WavAudiofor wrapping raw samples, and a headlessRecordingHostso you can unit-test a module with no app running.
Three capabilities worth knowing about if you are writing something that talks:
- Speak for one companion, not all of them. Register with
RegisterCompanionPokeResponder/RegisterCompanionDropResponderand the host tells you which companion the reaction belongs to, so you can callSay(companion, …).SayAllstill exists but is for announcements to the user, not companion reactions. CheckIsCompanionAlivebefore acting on a handle you captured before a slowawait— there is no removal event, so the companion may be gone, and speaking to a dead companion is dropped rather than redirected. - Audio and voice.
PlaySound(moduleId, wavOrMp3, volume)plays through the app's shared mixer and device (declareModulePermissions.Audio);StopSoundcuts your own audio for barge-in.RegisterSpeechResponder(declareModulePermissions.Voice) offers you every line before its bubble is drawn, so a voice module can speak it and optionally suppress the bubble. ReturningfalsefromPlaySoundmeans nothing will be heard — fall back to showing the bubble. - Read the screen without a screenshot.
CaptureScreenContext(declareModulePermissions.ScreenContext) returns metadata, and host 1.1.0 addedScreenContext.Windows— every ordinary window, frontmost first, with process name, bounds and monitor — plusScreenContext.ForegroundWindowBoundsso you can capture the front window rather than the whole monitor. Both needMinHostVersion = "1.1.0". Window titles are personal data: never log them. Seedocs/module-authoring.md.
The ABI is stable, not frozen: it only ever gains members, never loses or redefines them. If you need something it cannot express, that is a gap worth filing rather than a wall.
The repository-root LICENSE covers the original contributions owned by bigfnj.
The bundled third-party works below remain the property of their respective creators and are
included here with gratitude and attribution.
Engine & pet — forked from Adrianotiger/desktopPet, the eSheep desktop-pet lineage.
Embedder model — bge-small-en-v1.5 by BAAI.
Fortune corpus — the built-in corpus is just two sources: Classic Fortunes (the BSD fortune
files) and Dad Jokes, 3,225 lines together. Everything else named below moved out to downloadable
packs and is no longer bundled.
Fortune packs — aggregated largely from
JKirchartz/fortunes and the classic BSD fortune files,
with grateful thanks to the sources behind them, including: the Quotable quote collection; clean
jokes; collected authors, artists, and activists; Seth Godin; Larry Wall and the hacker koans;
Epigrams on Programming (Alan Perlis); RFC 1925; Oblique Strategies (Brian Eno & Peter Schmidt);
William Blake; Jenny Holzer; Ogden Nash; Robert Louis Stevenson; The Dictionary of Obscure Sorrows
(John Koenig); The Simpsons chalkboard gags; and r/Showerthoughts.
Fortune packs (optional downloads) — with thanks to r/DadJokes and r/Showerthoughts; the Bastard
Operator From Hell (Simon Travaglia); programming epigrams, RFC 1925, and Larry Wall; the Tao Te
Ching and classic philosophy; Oblique Strategies and assorted authors and poets; Groucho Marx,
Jack Handey, and Red Green; fortune-cookie and Chuck Norris trivia; pop-culture television (The
Simpsons, Futurama, MST3K, Star Trek, Firefly, South Park, The Sopranos, It's Always
Sunny in Philadelphia, and more); George Carlin, the Church of the SubGenius, and Robert Anton
Wilson; and the classic fortune -o collection. Heartfelt thanks to every author and community above.
See THIRD_PARTY_NOTICES.md for the dependency inventory,
SUPPORT.md for support, and SECURITY.md for private
security-reporting guidance.
