Skip to content

UI_DESIGN

throndir edited this page Nov 14, 2026 · 1 revision

Martlet desktop UI design

Status: Partial Last Updated: 2026-11-13 Audience: Product designers and developers Last verified: 2026-11-13 against 5f40af2d9 (document scope and help-mark references only; screen and interaction claims not rechecked) Code: src/Martlet.Desktop/HelpTip.cs, src/Martlet.Desktop/

This is a design reference, not a complete record of current interface behavior. Its implementation plan is historical, not a current work list. Use the feature guides for behavior that this audit has not checked.

Feedback on the first screen was clear: it was overwhelming, and people could not tell what to do next. The old home window stacked about twenty buttons, a set of update checks and three diagnostic text boxes on one scrolling page. This document describes the replacement: one job per screen, a single obvious next step at every stage, and a living map of the user's computers.

Principles

  1. One screen, one job. Each stage shows one primary action. Everything else moves behind navigation or a Details expander.
  2. Say what to do, in plain words. Headlines say where you are ("Almost there"), and the button says what happens next ("Set up thinking"). Exact legal, cost and data wording stays available, one click away, and is never removed. Every box you type in shows dimmed example text while it is empty (InputHint.Text), such as https://martlet.example.com/v1, so you see what goes there and in which form. A password box shows what to paste.
  3. The companion is the hero. The animated Martlet mascot, the cream bird from the app icon, greets you. The Live2D or VRM character is one toggle away on every main surface.
  4. Show the hardware as a map. The Devices page shows every computer and cloud service, what each one runs, and what it has. Select a node to configure it.
  5. Motion with purpose. Page changes slide and fade, progress fills in, connections flow and online nodes pulse. When Windows Show animations is off, looping motion stops and transitions happen instantly.
  6. Nothing changes by surprise. Consent, per-action authorization and no network on launch still apply. The redesign changes layout and wording, not permissions.
  7. Settings save themselves. A setting is saved as soon as it changes: picks and toggles at once, typing a moment after it stops (a name or path that is shared or used elsewhere when you leave the field or press Enter), and anything still waiting when its window closes. There is no Save or Apply button for a setting. Editors with many fields (Personality, Character, Lorebooks) keep one footer line saying All changes saved., Saving... or Not saved yet: with the reason (an empty name, a model file that doesn't exist); a change that can't be saved never blocks typing, and closing asks only then. Every save goes into the newest saved copy of its file and replaces only its own part, so a change synced in from your other computers (who does what, the lip-sync host, voices) is never overwritten by an open editor, and a saved change to a shared list syncs out on its own. Only commitments stay explicit buttons, named for what they do: choosing a paid provider with its key and consent (Use OpenRouter, Use as fallback), connecting with a token (Connect with token, Reconnect), starting programs (Save and start for MCP servers), adding or updating a remembered fact (Add fact), and removing a key Martlet kept from before (Remove, after a confirmation).
  8. The main flow first, the rest on request. A regular user needs three steps: set up where Martlet runs, choose who it is (personality, look and voice), then talk. Home's Get started card and the welcome wizard follow these steps. Show advanced settings (Settings › What Martlet shows, and the last link of Companion's side list) is off by default: the rail then hides Thinking requests and Diagnostics, and Companion shows only its essential pages (see Essentials and advanced). It is each person's choice, shared with their other computers (advanced-settings.json). The left rail stays; Martlet has no radial menu.
  9. One short sentence, the rest behind a ?. A UI text has at most one short sentence of explanation. The longer explanation goes behind a ? help mark, and the full instructions go to the wiki (see Help marks and the wiki).

Help marks and the wiki

HelpTip (src/Martlet.Desktop/HelpTip.cs) is the small round ?. Pointing at it shows its text as a tooltip. A click opens a small card with the text and, when it has a wiki page, a Read more in the wiki link to https://github.com/throndir2/Martlet/wiki/<Page>#<anchor>. The wiki's source is docs/wiki/.

Call What it makes
HelpTip.For(topic, text, id, wiki: "Page#anchor") A ? alone, such as in a row of controls.
HelpTip.After(label, topic, text, id, wiki: "Page#anchor") A heading, label or check box with a ? after it.
HelpTip.Explain(text, margin, id, topic, wiki: "Page#anchor") A muted line that shows only the first sentence of text, with a ? whose card has all of text. With wiki, the ? shows also for one sentence.

The automation IDs are Help-<id> (the ?), Help-<id>-Card (the open card's text) and Help-<id>-Wiki (the link; its help text is the URL). MCP reads them, and ui_long_texts lists the texts on the open page that have more than one sentence.

To move a long text behind a ?:

  1. Find the long texts: open the page with scripts\Invoke-MartletMcp.ps1 -Desktop and call ui_long_texts, or use the list in the sub-issue of #992.
  2. Find the wiki section with the full instructions in docs/wiki/. If it is not there, add the instructions to the right page under a heading.
  3. Write one short sentence for the page. Write the card text: one or two short sentences.
  4. Replace Note(longText, margin) with HelpTip.Explain("Short line. Optional second sentence.", margin, "<Id>", "<topic>", wiki: "Page#anchor"). For a heading or label, use HelpTip.After(...) with wiki:.
  5. Write wiki: as a literal "Page#anchor". The anchor is the heading in lower case, with punctuation left out and hyphens for spaces (## Check-ins is check-ins). HelpTipTests reads each wiki: value in src/Martlet.Desktop and fails when the page or heading is not in docs/wiki/.
  6. Run .\scripts\Test-Martlet.ps1 -Project Martlet.Desktop.Tests -Filter 'FullyQualifiedName~HelpTipTests'. Then call ui_long_texts on the page again, ui_click the new Help-<id> and read Help-<id>-Card and Help-<id>-Wiki with ui_snapshot.

Companion › Check-ins is the first page that uses wiki links (Help-CheckInsAbout, Help-CheckInsOwn).

Stages and surfaces

first launch ──> Welcome wizard ──┬── new or joined network › hardware › preference › suggestion ──> Home (what needs attention ─> ready)
                                  └── "This PC only lends its power"                              ──> Host dashboard (host service)
Every mode: Home · Devices (map) · Companion* · Creations · Background tasks · Diagnostics · Settings      (* companion mode only)

Each page answers one question, so no two pages do the same thing:

Page Question Changes settings?
Home Is anything wrong or missing, and can I talk to it? No. It shows problems with their fixes and links to where each thing changes.
Companion How does Martlet think, sound, listen, look and remember? Yes: the one place each of those choices is made.
Devices Which computer does what? Machines and handing jobs between them.
Background tasks What is Martlet working on, and how did it go? No. It lists long steps (setup, updates, pairing, downloads) running or finished this session, shows their window again and cancels them after asking.
Settings How does the app itself behave? Appearance, this PC's role, updates, tools.

1. Welcome wizard (first launch)

This full-window overlay appears when no device-role choice has been saved (device-role.txt in the PC folder), or for a Windows user who hasn't chosen yet on a companion PC. The installer asks no setup questions, so this is where setup starts. Its cards are animated between steps and marked with step dots; WELCOME_WIZARD.md has the full flow, the old one and the reasons:

  1. Hi, I'm Martlet. One sentence about what Martlet does, plus Let's begin. Skip for now leaves the wizard and uses companion mode.
  2. Is Martlet already on another of your computers? No, this is my first one (start a new Martlet network) or Yes, join my Martlet network, which lists the Martlet computers found on the local network and joins one through Add a computer's check-number request. A link makes this a host PC instead.
  3. Here's what this PC has. Graphics card and its memory (and what is in use now), memory and processor threads.
  4. Where may Martlet do its thinking? Keep everything on my computers or Free online services are fine (a free NVIDIA key).
  5. Here's what fits this PC (or what this PC can do for your network): the placement engine's suggestion for Thinking, Voice, Listening and Lip-sync, each with bars for its share of graphics memory, memory and processor and the reason, what's left out and why, and the totals. Use these suggestions is the one-click path; Ask me three questions instead opens the setup advisor and I'll choose myself opens Companion › Thinking.
  6. Get your free NVIDIA key (only when Thinking goes online): numbered steps, Open build.nvidia.com, the key box and its consent.
  7. Who should Martlet be? The characters you have, Martlet itself, Make my own (name, who it is, look and voice) and Import a character card. Each makes or uses a character profile; Choose later skips it.

Accepting closes the wizard on Home and asks the one Set it all up for me confirmation before anything is downloaded or installed, then sets up what the plan puts on this PC and lip-sync (Audio2Face when the card has room, otherwise the voice's loudness). The wizard saves only the device role until then. Settings > This PC's role changes the role or replays the wizard.

2. Home (main PC)

Home answers "is anything wrong or missing, and can I talk to it?" It is where you find what isn't set up, what stopped working and what to do about it, and it offers Start talking. It changes no settings itself: each fix opens the place where that thing changes (usually a Companion page) or runs the one step it names (Start Ollama, Check gpu-1 now, Install WebView2). Everything on it comes from what this PC already knows (saved settings, the last host checks, Windows' device and app lists, the local log and this PC's own loopback services such as Ollama and Audio2Face); Home contacts no other computer or provider by itself.

The hero card says how Martlet is doing overall:

State Headline Primary action
Nothing saved yet "Let's bring your companion to life" Set it all up for me (no other computer paired; otherwise Set up thinking, which opens Companion › Thinking)
A problem stops replies The problem in one line, such as "Martlet can't reply right now" or "Martlet can't read its settings" That problem's first fix
Replies work, warnings remain "Ready, with 2 things to look at" Start talking
Everything checked works "Ready when you are" (with a time-of-day greeting) Start talking

Show character sits next to the primary action at every stage; Not sure what you need? Get a recommendation (the advisor) shows while thinking isn't set up. On a new PC (nothing saved yet and no other computer paired), Connect to your other computers sits next to Set up thinking and in that item's fixes: it opens Add a computer on Martlet on your network, so a PC that joins your other computers uses your hosts and the setup they share without setting anything up itself. Pairing never waits for Setup: hosts are paired, and who does what is followed, before this PC saves any settings.

Beside the listening and watching indicators, a Warming up indicator (a spinner) shows while something still loads before Martlet answers at full speed: the conversation's settings, Thinking's model in Ollama on this PC, Parakeet for listening or the character. It names each part and how long it has taken, for example Warming up: loading gemma4:e4b on this PC (12 s of about 20 s). Martlet answers once the model has loaded. A part that loads in less than a second never shows. When everything has loaded, it reads Warmed up in 18 s. Martlet is ready to talk. for a few seconds. "About 20 s" is how long the same model took the last time it loaded since Martlet started.

Under the hero, the Martlet on this PC card says what Martlet holds on this companion PC now: the models Ollama on this PC has loaded, with the memory Ollama says they take, Parakeet for listening, voice recognition, the character and the conversation (and whether it listens or watches). A companion PC often runs games, so Free up this PC gives that memory back without exiting Martlet. It ends the conversation (listening and watching stop with it), hides the character and unloads every model Ollama on this PC has loaded, Parakeet and the voice-recognition engine. Settings and the conversation record stay. The card then reads Resting with what it freed, and Martlet loads nothing by itself (While gaming stops keeping the model loaded) until you start talking or listening, show the character or a reply needs a model (Discord, messaging). The button is greyed out while Martlet holds nothing. On a companion PC that also runs a host service, the card says that the host service keeps running for your other computers. Home reads Ollama's loaded models (/api/ps, loopback only) every 5 seconds while it shows, never while Martlet replies or hears you.

Under the hero, until all three steps are done, Get started shows the main flow as numbered steps, each ticked from what Martlet knows (GetStarted in Pages\Home): 1. Set up where Martlet runs (done when Thinking, Listening and Voice are set up and nothing stops replies; Recommended setup, Add a computer), 2. Choose who Martlet is (done when a character profile exists; Choose a character, Find a character once Thinking works, Look, Voice) and 3. Talk with Martlet (done after a conversation; Start talking, Start listening).

Below the card, Needs attention (All good when nothing does) lists every item with what it means and its fixes, most serious first:

  • Problems stop Martlet replying: the data folder or settings can't be used, thinking isn't set up, its model was retired, its Ollama on this PC isn't installed, running or doesn't have the model, its host isn't answering, or Docker Desktop is stopped while this PC's host service thinks.
  • Warnings mean something chosen doesn't work, or works in a reduced way: a job's host, key, consent or route (the coverage rules), the last reply or transcription failing, a missing or Windows-blocked microphone, unplugged speakers, the WebView2 runtime the character needs, vision turned on with a text-only model or no camera, a paired computer not answering or on an older Martlet, a tool server that failed, an update that didn't install, or unexpected errors since Martlet started.
  • Good to know (muted, below): optional jobs not set up yet (listening, voice), lifelike lip-sync on an NVIDIA PC that runs no Audio2Face, a new Martlet version, and Martlet closing unexpectedly last time. Errors and the crash note can be dismissed for this session.

Check again re-reads settings, devices and this PC's own services (it contacts no other computer). Items also refresh by themselves after a check, a save, a failed request or an error.

Health closes the page: one tile per part Martlet checks (Thinking, Listening, Voice, Lip-sync, Microphone, Speakers, Character, Devices, Tools when servers are set up, Updates and This app), each with a status dot (green working, amber needs attention, grey not set up or not checked) and its state in a few words. A tile opens the page where that part changes. The old Now lines and Your devices chips are gone: what each job uses is on its tile, and the Devices page is one click away in the rail.

3. Devices (hardware map)

This page answers "what do I have, and what is each machine doing?" From top to bottom: the map, the selected device with what it does, and Settings for all devices.

   [NVIDIA Build] ~~.                   .~~ [gpu-pc-host]
                     >~~ [ This PC ] ~~<
 [Add a computer] ~~'                   '~~ [laptop]
  • The map fills the top of the page. This PC sits in the middle; cloud services (and a ghost Conversation model node while no thinking model is chosen, pointing to Companion › Thinking) sit on its left, and your paired Martlet hosts and self-hosted gateways on its right, each column on a gentle arc. The ghost Add a computer node joins the side with fewer devices, and This PC moves toward an empty side so the map stays balanced. Soft curves join each device to This PC, edge to edge; animated dashes show which way data flows and turn amber for a device that needs attention. Every paired host appears, whether or not it has a job yet. The map grows taller when a side holds many devices, and a narrow window scales the whole map down instead of squeezing devices together.
  • Cards show an icon, name, address, up to three role chips ("Thinks", "Listens", "Speaks", "Lip-sync", "Character", "+2" for more) and a status dot. Ready nodes pulse. Selecting a card highlights it and shows its details below (scrolling just enough on a short window).
  • What isn't working (companion mode) sits under the map when a job is down or its host hasn't been checked since Martlet started: one line per job with its one-click fixes and Show, which selects the device doing that job.
  • The selected device opens with its name, address and status (plus Check connection for a host) and these parts:
    • What it does: one row per job or part it runs, each with an icon, its model or voice and the controls that change it right there. Thinking, Listening, Speaking and Lip-sync rows have Done by once a host is paired: thinking, listening and speaking go to the Setup choice or any paired host (with its model, or "not installed"); handing a job to a host checks it, offers to install the role (Ollama, whisper or F5) there and switches over once it is ready, and the Setup choice comes back without re-entering a key. Lip-sync switches on the spot: This PC, any paired host, or Nobody (mouth follows voice loudness); a showing character keeps showing and the next sentence uses the new computer. Handing lip-sync to a host first checks it over its pinned pairing; if it does not run Audio2Face yet, Martlet offers to install it there in the same step and keeps the mouth on voice loudness until the host is ready. The host in charge goes first; this PC's own Audio2Face service and voice loudness are the fallbacks. A host that can't run an engine at all (F5 without a 6 GB NVIDIA GPU, Ollama on an iPhone) appears in Done by as can't take it now with the reason. Each job row has Change in Companion (lip-sync's opens Lip-sync; speaking's model and voice change there, because they need consent), shows the job's problem in amber when it isn't working, and adds Change ... settings (the host role's model, GPU or CPU and graphics card, in the role's dialog starting from what it runs now) and Remove ... from it when a host runs it. Character (show or hide, settings), Microphone and speakers (Choose and test) and this PC's Martlet host service (check, update, status, pair again, forget) have their own rows; a role installed on a host but doing no job yet shows as standing by with Hand ... to this computer, Change ... settings and Remove.
    • Resources (This PC and paired hosts): its hardware on one line, then a bar each for graphics memory, memory, processor and disk split into one segment per job (its share of the device, planned from Martlet's footprint estimates through the placement engine), with a thin mark for what the device reports in use now (this PC's memory, read live). A job that grows while it works has a solid part for what it usually holds and a lighter part for the most it takes, and its text reads as a range (12-14 of 24 GB). When the usual amounts fit but the most does not, the bar is tight: its lighter parts take the warning color and the text says the jobs can slow down or fail at their busiest. When even the usual amounts do not fit, the whole bar takes the warning color. Hovering a bar shows its breakdown: what each job takes (with a swatch in its segment's shade, and the job under the mouse in bold), what is free for Martlet, what is kept for the system and what is in use now. Under the bars: each job's share in words, what is left free for Martlet and Room for ... lines from the engine (Room for another Deep thinking model (Gemma 4 12B) here.), which count only room for the most a job takes. A host that hasn't reported its hardware lists its jobs and says so.
    • Give it more to do: hand the device a job it doesn't do yet (Hand thinking to this computer...), Run host services on this PC or Take lip-sync back to this PC (Do lip-sync without the host service when this PC's own host service does it). Install or remove roles (collapsed) holds a host's install and remove commands; an impossible role is explained in Details instead. Phones and tablets have no install, remove, update or SSH commands; their roles are switched on on the device.
    • Manage: Update host (primary Update it to Martlet x.y.z when it is older than this PC), Show its status, Prepare this computer, Wake it up, Restart it, Shut it down, Pair again or change its setup and Forget this host; Prerequisites for This PC. Install, remove, update and status run the same martlet-host engine on that computer the way Martlet reaches it (SSH with Docker, SSH native Linux, or this PC's Docker Desktop), in a Martlet run window with live output, Hide and Cancel task (never a console window; see Run windows and Background tasks); the owner's click is the confirmation. On this PC, roles with a GPU-or-CPU choice preselect the suggestion from the graphics card's free memory. The desktop never gets a shell, Docker socket or admin rights on the host.
    • Hardware and details (collapsed): for This PC, read locally from the registry and Windows: CPU, threads, memory, each GPU with VRAM, Windows version, LAN address and whether Docker Desktop is installed or running, with capability hints such as "NVIDIA 4 GB+: can run Audio2Face lip-sync". For a host: address, pinned TLS identity, this PC's device ID, how Martlet reaches it, the Martlet version its gateway reported on Check connection (compared with this PC's) and the hardware it reported. For a cloud service: address, key storage, data sent and a "may cost money" note.
    • How Martlet reaches it (hosts, open while no route is set) sets the SSH or Docker Desktop route; without one, Martlet copies the command to run on the host.
  • What your computers can run, under the selected device, sums up the whole network from the placement engine's measure of today's setup: which parts run on your computers (and on which), which online and which aren't set up; the totals of graphics memory, memory, processor threads and free disk; and what else would fit (Your computers could also run 2 more Deep thinking models (Gemma 4 12B) and Voice (Chatterbox Turbo).). Add a computer and this line grows, so you can see what a new machine buys.
  • Cloud providers and servers follows it: one line for each endpoint outside this PC and your paired computers that Martlet sends work to (a cloud provider or a server on your network, with its address as scheme, host and port), and everything it is used for, with the model and turned off where that applies (Used for Thinking (gpt-4o-mini); Thinking pool (x-ai/grok-4.3, turned off); Tools (home)). It reads the Thinking, Listening and Speaking routes, If Thinking fails, the Thinking pool, every pool list and the HTTP MCP servers. With none it says so.
  • Settings for all devices (companion mode) closes the page: Check all hosts reads every host's roles (explicit only), and Keep Martlet the same on all my computers (ON by default; unticking it saves off) makes Martlet one app on all your computers through every paired host (details): who does what, the settings and API keys, memories, people, speaking voices, characters and Home Assistant. Every 15 seconds it checks the hosts, follows changes made elsewhere and pushes changes made here. Status lines say how many hosts hold the current plan and which need an update, how many settings are the same on how many hosts, and how many facts Martlet remembers on how many hosts. While it is on, each job row offers Fail over to another host: when its host stops answering for about 30 seconds the job moves to another paired host that runs the same engine, and the row says where it moved from or why this PC cannot follow the plan (host not paired here, no voice chosen). Jobs nobody does yet are listed here with Set up in Companion.

Reading hardware is local only. It opens no port, starts no process and makes no network request.

4. Host dashboard (host service UI)

When the device role is host, Home becomes the dashboard for the Martlet host service on this PC:

  • Switch to companion PC comes first, above the hero, in a card with an accent border: Want to talk with Martlet on this PC? and a primary Switch to companion PC button that changes the device role (the same as Settings › What this PC is for › Use as my companion PC).
  • Hero: "This PC is a Martlet host", with a status pill and the address desktops use (the one the host service publishes, https://<LAN IP>:9443).
  • Five steps that tick by themselves: the dashboard reads this PC's host service from Docker (LocalHostService: the gateway container, its published port, its role records and the Martlet network roster it accepted) when it opens, every 30 seconds while the window shows and when it shows again. A done step shows what it found and no setup button.
    1. Docker Desktop: installed or running, read locally (and whether its engine answers). Installs it with winget in a run window.
    2. Host service: done when the gateway runs and answers at an address this PC still has. Otherwise Set up host service, Start host service (set up but stopped) or, when this PC's address changed, Moving to the new address (Martlet runs martlet-host home by itself) and Set up again only when that didn't work, including the one-time firewall prompt.
    3. Pair a desktop: done when a computer is in the host's Martlet network (named, for example Paired with DIVA and this PC). The main PC finds this PC under Add a computer › Martlet on your network; Allow here when both show the same check number. Show a pairing code (Pair another computer once paired) still shows this PC's address and a short one-use code in large type in a run window, to type on the main PC. When Windows Firewall keeps other computers from finding this PC, Let my other computers find this PC adds the rule (one administrator prompt).
    4. Roles: lists the installed roles, with Add for each other role and Remove for each installed one.
    5. Keep it up to date: rebuilds the host service from this app's version (martlet-host update); done when its gateway image matches the app. Martlet does this by itself in the background after it updates (the step then says it is updating); Update host service does it now.
  • The steps' heading reads This host is ready once Docker Desktop, the host service and pairing are done, and the line under it says what is left.
  • Check again repeats the read at once and says what it found.

5. Add a computer (Martlet hosts wizard)

The long form became a two-step wizard with a step rail: connect a host, then choose its jobs.

  1. Connect: first a Martlet on your network card. Opening the wizard sends Martlet's discovery query and lists the owner's other computers that can share a host this PC isn't paired with yet (GAMING-PC (192.168.1.31): gaming-pc-host · Martlet 0.17.0 with Connect), plus Find again. Connect shows a large check number and Stop asking; the other computer asks Allow or Deny with the same number, then sends a one-use code for each host and this PC pairs with them by itself (how). When a host isn't listed (guest Wi-Fi or client isolation, a VPN, another subnet, a firewall blocking UDP/TCP 9444, or discovery turned off there), Enter a pairing code shows the host's address and short code fields and Pair with host; they open by themselves when nobody answers. Below it, Or set up a new host: This PC (Set up this PC: Docker Desktop, installed on request, firewall, setup and pairing in one run window) and A Linux computer over SSH (one SSH target and Set up over SSH: connect, then run the host in Docker when that account can use Docker, directly or with sudo, otherwise natively on any Linux with systemd; set up, pair and read the machine report in a run window). Its private address is filled in from the computer and sits in a collapsed expander. Another Windows PC needs no SSH: Martlet there sets itself up (Use as a Martlet host) and then appears in the network list. Any successful connection moves on to Roles. Pairing adds the host to hosts.json (every paired host and how Martlet reaches it; nonsecret, secrets stay in Windows Credential Manager) and hands it no job: it stands by until you hand it a job here or from a job row's Done by on the Devices page.
  2. Roles: which paired host (a picker when there are several), Check, Update and Forget for it, its role cards with Add and Remove (run over SSH, on this PC, or through Martlet on that computer), and this PC's device ID in a collapsed expander.

6. Talk (conversation)

Start talking opens the conversation and nothing else: its history, what you said and the message box. It is a separate window beside Martlet, never a blocking dialog: Home, Companion and Settings stay usable while it is open, and Home's button reads Show conversation and brings it to the front. Every choice about how Martlet listens, speaks and sees is made in Companion, and an open talk window follows a change there right away; the window has no settings, approvals, cost envelopes, timelines or links to other windows.

  • Header: the mascot, Martlet and one status line (Listening. Just talk, or type below., Martlet is thinking, Martlet is speaking. Esc stops it., or what went wrong in plain words). On the right: Start listening (shown with always listening; a primary button until pressed, then Stop listening with a green dot, an amber dot when the microphone can't be opened, or Can't listen with the reason while listening isn't set up), Start watching (shown when vision is on; then Stop watching with a green dot that twinkles while a look is with the model, or Can't see with the reason), then Stop (Esc).
  • History: chat bubbles for the whole conversation while the window is open: what you typed, what you said (the transcript, captioned You (spoken)), Martlet's replies as they stream in, its remarks about your screen, and short notes under a reply (Remembered, Cut short, a refusal). It follows new messages unless you scroll up to read.
  • Message box: always in view. Enter sends, Shift+Enter starts a new line. With push-to-talk chosen, Hold to talk (hold the mouse or Space) sits next to Send; invoking it starts a recording and invoking it again sends.
  • Warming up banner: under the header while something still loads (the conversation's settings, Thinking's model in Ollama on this PC, Parakeet, the character), with a spinner, what loads and for how long (Loading gemma4:e4b on this PC (3 s of about 12 s).), You can talk or type now. The first reply starts once the model has loaded. and a progress bar. The bar fills from the model's last load time; before Martlet knows that time, the bar only shows that something happens. The status line says Warming up. You can talk or type now., and a reply that waits for the model says Waiting for gemma4:e4b to load. Martlet answers once it's ready. When Ollama unloaded the model by itself (after its idle time) while the window was open, the banner shows again while the model loads again.

Always listening (the default, with the chosen or Windows default microphone; no test needed) starts only when you press Start listening, and vision (on by default, looking at your whole screen; Companion turns it off) only when you press Start watching: each has its own button here, on Home (beside a listening and a watching indicator) and in the notification-area menu, and neither starts or stops the other. Typing while Martlet listens hands the microphone over for the typed message, and listening resumes after the reply. Stop (Esc) stops the reply, any recording and watching at once and keeps the conversation; listening carries on (only Stop listening ends it). Locking Windows stops listening and watching and starts a fresh conversation (both resume on unlock), and closing the window ends it unless Martlet is listening or watching, which only hides it.

7. Companion and Settings pages

  • Companion answers "how does Martlet think, sound, listen, look and remember?" It is the one place each of those choices is made, as pages in a side list grouped by what they decide. Home's fixes and Health tiles, the Devices tiles and nodes, fix cards, the tour and the advisor all open the matching page (Companion opens on the last page used, Thinking at first):

    • How it works (the jobs Martlet needs, in priority order, and where each runs):
      1. Thinking: where the conversation model runs, the provider, the model and its API key. Martlet needs it to answer, so it comes first.
      2. Listening: the speech-to-text provider, model and key, then the microphone, then How you talk: Always listening (the default; once you press Start listening in the talk window Martlet hears you until Stop listening, with sensitivity and how long a pause ends your turn) or Push-to-talk, and Voice ID (Only respond to my voice and Set up Voice ID).
      3. Voice: where the voice runs and the voice itself, then the speakers, then Speak Martlet's replies aloud (on by default).
      4. Lip-sync: who moves the character's mouth, and where it runs.
    • Optional extras (parts Martlet works without). The side list shows them in the priority list's order (ComponentRanking; a part it doesn't rank yet keeps its place in OptionalExtras.FallbackOrder). Each page's intro starts with "Optional:", says what the part does and ends with Off: and what Off means (behind the intro's ?), in the priority list's words (OptionalExtras.OffMeans). Each page has the standard order: Now, then the main choice as an option picker whose first option is Off (the Thinking pool is the exception: its machine list is the main choice), then configuration: 5. Vision: Now (on or off, what Martlet looks at, whether it can see, the image model's lines and Test vision), then How Martlet sees: Off, Thinking's own model, the audio model, Ollama on this PC, a cloud provider or server, or one of your computers. Off's details have Turn vision off; the chosen model's details, while vision is off, have Turn vision on (which only allows it; Start watching starts looking). Saving a model turns vision on. Then what it looks at (whole screen, active window, a camera found with Find cameras, a phone or network camera address, or a Home Assistant camera once Smart home is connected), how chatty it is, its glances, the screen summary and What Martlet sends (what is captured and where it goes). 6. Reading: Now (what it reads with, the newest read, Read my screen now), then Where it reads: Off, Windows OCR on this PC or Martlet's Reading role (its details choose the computer and set it up). 7. Hearing: Now (what hears your voice, whether it can, the audio model's lines), then How Martlet hears your tone: Off (Thinking gets only the transcript), Thinking's own model, the image model, Ollama on this PC or a cloud provider or server. Then Hear how you say it: the consent check box (on while the recording stays on this PC, else off until you tick it), the voice path and Test hearing. Listening links here. 8. Thinking pool: Now, then the machine list instead of an option picker, because the list is the pool: one row for each graphics card of a paired computer, each model in Ollama on this PC and each cloud provider or server, each with On, its model, slots, Quick jobs, Long jobs and Backup for slow replies. A machine that is off keeps its settings; with no machine on, the pool is off. A card without a Thinking pool model yet has Add a model, and Add a machine (another of your computers, a model in Ollama on this PC, a cloud provider or server) ends the list. Then Runs on, Thinking longer (its own on/off), Web research, Backup for slow replies and Busy pool. 9. Smart home: Now, then Home Assistant or Off in an option picker, then connecting and installing Home Assistant, then what Martlet may do, the devices and sharing. 10. Singing: Now, then How Martlet sings: Off (the role stays set up) or Martlet's Singing role (its details choose the computer, set it up and sing there), then the song choices: quality, and the voice match (SoulX-Singer or VevoSing) as a second option picker. See Singing. 11. Picture making: Now (with Check and Draw a test picture), then Where it draws: Off, Martlet's Picture making role, your own ComfyUI, OpenRouter or NVIDIA Build; each option's details hold its computer, address and workflow, or model and key, and the button that uses it.
    • Who it is: 12. Personality: the active persona, Edit personality, and Import a character card. The Personality window makes the persona chosen in its list the one Martlet uses and saves every edit on its own (no Apply, Save or Reload). 13. Lorebook: how many lorebooks are on for the active persona, each lorebook with Turn on/off, Edit lorebooks and Import a lorebook (see Lorebooks). 14. Memory: whether memory is on, and Manage memory for its facts.
    • How it looks (the desktop character, split into small pages so each opens at once): 15. Character: what it looks like now, then the character model (show, hide, choose and customize, reset, lock, click-through), its zoom and your characters. The character window has one Show character/Hide character (Esc) button at the top and saves each choice on its own; a showing character switches at once. 16. Speech bubbles: Now, then where Martlet's words show (speech bubbles, subtitles, both or Off), then where the bubble goes. 17. Emotes and motions: Now (how many emotes, motions and combos are on), then what replies can play on the character, and combos of them. 18. Eyes: Now, then where the character looks (the main choice), and where its eyes are. 19. Touch: Now, then touch zones and the touch temperament.
    • What it does: how it answers and acts: Replies (generation settings, and Thinking steps: whether a reasoning model thinks before it answers, Off by default), Tools (Now, then the terminal, on or Off, then the MCP servers Martlet may call while you talk, whether each runs without asking, and recent tool use), Discord (Now, then connecting the bot or Off, then its setup) and Messaging (Now, then On or Off for each app, then each app's setup). People (in Who it is) has Now, then recognizing voices or Off, then the voices.

    Essentials and advanced. With Show advanced settings off, the side list shows only the pages a regular user needs (CompanionPages.Essentials): Thinking, Listening and Voice (How it works), Background thinking (Optional extras, for a spare graphics card or a cloud provider), Profiles, Personality and Memory (Who it is), Character (How it looks) and Replies (What it does). Every other page, also a page added later, is advanced: Lip-sync, the other Optional extras, Prompts, Skills, Lorebook, App guides, People, Speech bubbles, Emotes and motions, Eyes, Touch, Check-ins, Tools, Discord and Messaging. The groups keep their order, and a group with no page shown is hidden. The list ends with Show advanced settings (N more pages) or Hide advanced settings. A shortcut still opens a hidden page, which then shows in the list while it is open. On the essential pages, settings most people never change are in closed sections (Fold): Thinking's backup model, Keys from before, the Chatterbox style, echo and the finer listening settings, and the reply numbers.

    A page gets its own entry only if it has its own Where it runs choice, its own consent or data destination, or its own list to edit; anything else is a card on an existing page.

    Every page has the same order (the standard Companion page layout):

    1. Now: what the page uses now, and any problem stopping it. Every page starts with it, also pages that aren't jobs. It is one line built from what Martlet already knows (opening a page fetches nothing), such as Tools: 3 MCP servers on, the terminal off.
    2. The main choice: the place, technology or model the page is about (where it runs, the engine, the model, the provider). An optional page (Optional extras, and Lip-sync's advanced lip-sync) always has an explicit Off choice here, and it says what Off means. So does every other page whose feature can be off (speech bubbles and subtitles, recognizing voices, the terminal, Discord and each messaging app): the feature's choice first, then Off.
    3. Configuration: the cards that only apply to the chosen option, then the page's other settings. What an option needs before it can be used (a computer, an address, a model ID, a key and its consent) is in that option's details in the picker, next to the button that uses it; what you can change after you choose it (quality, what Martlet looks at, the pool's members) is in the cards below.

    Lists of choices use the option picker (MainWindow.OptionPicker.cs), so a list that keeps growing stays short. Each option is one compact row: its name, a badge (in use, recommended) and its key facts on the same line, for example NVIDIA GPU · 4.2 GB VRAM · 0.45 s to first audio. Choosing a row shows that option's details under the list: what it is good at, every fact (short facts two to a line), where it stands on the shown computer, its own lines (abilities, license, fields) and its button. A list shows at most four rows: the one in use, the recommended one and the shown one first, then the others. Show N more lists the rest (a page may show fewer by default, such as If Thinking fails: Off and the recommended provider). Compare them opens a table of the facts that differ between all the options, also the hidden ones. Options that can't run here are listed last, with why. A list of one option shows only its details. A list whose chosen option has its own card below (Thinking's Model app) has no details panel. The facts come from the footprint catalog (OptionFacts in Martlet.Core.Planning), so every page describes an option in the same words: where it runs (graphics card, processor, inside Martlet or online), graphics memory, memory, processor threads, download size, how soon its first word comes (first sentence, first audio or transcript), quality, whether a Thinking model hears or sees, cost online and whether the numbers were measured. An option the catalog doesn't have yet, and the facts of its own kind, come from OptionalExtras (Martlet.Desktop): cost and where your data goes for every option, the license (VevoSing is non-commercial only), how long a song or picture takes and its size, the languages and game fonts OCR reads, and whether an image or audio model sees or hears. Each kind of job part adds its own facts too: a Thinking model whether it fits this PC's graphics card, calls tools and its context; a voice engine voice cloning, laughs and sighs, emotions, streaming, languages, the recordings it learns from and its license (commercial use or not); a speech recognizer its languages, accuracy and streaming; a cloud provider what it costs, whether it has a free tier, the key it needs and what leaves this PC (JobOptions in Martlet.Desktop builds the job pages' lists).

    The job pages' lists: Thinking › This PC's Model app (Ollama, each model app found on this PC, an app typed by its address) and Ollama's models (the suggestions, the models Ollama already has and Another Ollama model, whose details hold the name box); A cloud provider (NVIDIA Build, OpenAI, OpenRouter, Google Gemini, a custom server; the shown one's details hold its model, key and consent); If Thinking fails (Off first, then every provider and Ollama on this PC); Voice's engines and Cloud voice (OpenAI's voices, ElevenLabs); Listening › This PC's speech recognizers (three Parakeet models inside Martlet, Whisper on the graphics card or the processor); and Lip-sync › This PC's ways (Audio2Face, voice loudness, your own Audio2Face service). Where it runs stays three radio cards, each with one line on what it uses, its cost and where your data goes.

    Every page starts with Now: what it uses and any problem stopping it. Cards appear only when they apply to the chosen place: Voices (the F5 voice list) shows wherever F5 can speak (this PC or another of your computers), never for a cloud provider; a one-provider cloud card names the provider instead of offering a one-item list; Ollama's download and check buttons appear once Ollama is installed.

    Each job tab (1-3) then asks Where it runs, defaulting to This PC (recommended):

    • This PC: thinking uses Ollama at http://127.0.0.1:11434/v1 (Install Ollama and use it installs Ollama with the suggested model sized to the graphics card, switches to it and tests it; the tab reads which models Ollama already has when it opens (loopback only) and Check Ollama reads it again; Download model shows Ollama's progress in a run window, Test model loads the chosen model and asks it for a short streamed reply the way replies do, in a run window, and shows the result under the buttons; Use Ollama on this PC gets the model ready first in a run window, downloading it after one confirmation when Ollama doesn't have it and then loading it, and switches Thinking only once it is loaded, so the current Thinking answers until then and the first reply doesn't wait; a model that can't download or load leaves Thinking unchanged). Voice lists every voice engine in one option picker; the chosen engine's button sets up Martlet's host service on this PC when needed (so this PC also becomes one of your hosts), installs the engine and switches over. Listening lists Parakeet inside Martlet (no Docker) and Whisper in Martlet's host service on the graphics card or on the processor in one option picker. Martlet reads the card live (nvidia-smi: memory in use, driver 580+ for whisper's CUDA build) and adds what it already runs there (Ollama's model, F5, Audio2Face), then recommends the card (large-v3-turbo, or small when memory is tight) unless it is too busy or can't run it, in which case the processor (small) is recommended with the reason. One click and one confirmation run Docker, the host service, the install with that choice and the switch in a single run window; the engine asks nothing.
    • Another of your computers: every paired host with what it runs and Use it, plus Add a computer, Check hosts and the Devices map.
    • A cloud provider: the providers as an option picker; the shown provider's details hold its model (and voice), API key and an explicit choice checkbox. Saving stores the route, then the key in Windows Credential Manager, then the confirmed choice.

    Lip-sync on its own page uses the shared pool list instead of the Where it runs chooser: an ordered list of This PC (your own Audio2Face service at a loopback address) and your computers that run Audio2Face, one row each (the lip-sync pool). There is no cloud provider. The first member that is on and free moves the mouth; with none on, the mouth follows the voice's loudness, so there is no separate off. Each member's Settings hold its own choices: This PC's service address, or a computer's Install Audio2Face, Change model and Check it. Each change switches right away, even while the character talks. Under the list, Audio2Face on this PC says what this PC's graphics card means for Audio2Face and has Set up Audio2Face with Docker (sets up and pairs Martlet's host service on this PC, installs Audio2Face with its open-source engine, no key, and puts it first in the list) or, once the host service exists, Install Audio2Face on this PC and Check it.

    Keys from before, at the bottom of a job tab, lists the keys Martlet set aside when that job stopped using them (a cloud provider's key after a switch, or an old pairing key), each with Remove. It shows only when the job has such a key. Microphone and speakers, character customization, personality and memory facts still open their own windows from their tabs; the F5 voices are listed inline on Voice.

    Microphone and speakers is one short page with two cards. Each card has the device picker (Windows default first; the list refreshes on its own when the window opens and each time it is opened, so a newly plugged-in device appears), one test button and a state chip with one plain sentence: Ready (the Windows default or chosen device is connected and assumed to work), Not found (no device, or the chosen one isn't connected), Testing, Working, Needs attention (with the fix, such as "Too quiet. Check that the microphone isn't muted...") or Did you hear it? (with Yes, I heard it). Testing is optional and Done is the primary button. Picking and finished tests save on their own; there is no Save button. Each test still asks first, and the exact evidence and Troubleshooting sit under Details. Home and the Listening tab warn about the microphone only when none is found or the chosen one isn't connected.

  • Settings: palette (Martlet's own or one made from the character, see Character palettes), this PC's role and the tour, app updates (automatic checks and their interval, automatic installs, keeping hosts on this PC's version, Check for updates now, Install, Update hosts now, and a line on this PC's own host service, which always follows this app's version in the background), Your other computers (whether they may send this PC commands, and Let my other computers find this PC and ask to use its hosts: ON by default, unticking it saves off in nearby.txt; when this PC runs a host or reaches one over SSH it answers Martlet on your network, and its status line names the hosts it offers, the last request, and when Windows Firewall or a Public network keeps other computers out, with Let my other computers reach this PC, one administrator prompt) and tools (Troubleshooting, Backup and restore, Prerequisites, Martlet hosts). Troubleshooting shows the status report. Exit is also here.

8. Setup (configuration)

There is no separate Setup window. Each job is set up on its own Companion tab (Thinking, Voice, Listening): where it runs, then only that place's fields, with the provider's recommended model prefilled, the API key and the consent box. A key the job stops using is kept, so switching back needs no new key, and the tab lists it under Keys from before, where Remove deletes it for good after a confirmation. A host PC chooses no jobs, so a shortcut to a job page says so on the status line instead. The broader redesign (jobs, placement on hosts, audio separation and queued local model hosting) is in COMPONENTS.md.

Run windows and Background tasks

Long steps (setting up, updating or pairing a computer, adding or removing a role, reconfiguring your computers with the recommended setup, downloads such as a Martlet update, Parakeet or cloudflared, Docker Desktop and Windows features) run in a run window: live output, a status line, Hide and Cancel task.... Hide, Esc and the window's close button only hide it while it runs, so a stray click never stops the work; Cancel task... sits apart on the left and always asks first (Keep running is the default). A question the run asks (a password, a role's choices) brings its window back with it, and a run outlives the window that started it. Once it ends, Hide becomes Close; a run that ends while hidden closes its window. Long steps that Martlet starts by itself run hidden from the start: downloading an update, updating your hosts, keeping this PC's host service current and the role changes your other computers ask for. An automatic host update that finds the host busy changes nothing and leaves the list; Martlet tries it again a few minutes later.

Background tasks in the navigation rail (its count shows how many run now) lists every run since Martlet started, newest first, with how long it has run and its status, or when and how it ended. Show brings a running task's window back, Show output reopens a finished task's output (kept in memory, pairing codes hidden), Cancel... asks the same question as Cancel task..., and Clear finished drops the finished ones. Every run's output also stays in host-runs.log (Diagnostics). Exiting Martlet while a task runs names it ( (in Background tasks)) and asks first.

Character palettes

Every window, menu and the character overlay are drawn with twelve brushes (AppearancePalette.cs): Canvas (window background), Surface (cards), Soft (buttons, chips, inputs), Text, Muted, Border, Accent (primary buttons, selection, links, icons, headings; also used as text), OnAccent, Focus (focus and hover rings), Success, Warning and Glow (the halos behind the mascot), plus the mascot itself, whose badge takes the accent's hue in a character or custom palette (Martlet's pink otherwise). Everything refers to them as DynamicResource, so a palette swaps at once. The character's speech bubble is drawn wholly in them too, like a piece of Martlet's window floating beside the character: a Surface card with an Accent outline, Text in Martlet's typeface (Segoe UI) and a soft Glow halo (no halo in high contrast), in Martlet's own palettes and the character ones alike. Windows' high contrast always wins.

Settings › Appearance offers Pink light, Rose dark, two palettes made by Martlet's rules from the character this PC shows, Character light and Character dark, and the owner's own Custom palette (see Custom palette). The character palettes follow the character: choosing or showing another character recolors Martlet within a moment, and the last colors are kept in appearance-colors.json so Martlet starts in them. Under the choice the page shows the character's main colors and a small picture of Martlet's window in each of the two palettes. (The by Thinking palettes an older Martlet offered were retired: they looked the same as the rules' own. A saved or shared choice of one reads as the matching rule-based palette.)

Reading the colors (Martlet.Avatar.Hosting, CharacterTheme.cs): the model's textures (a Live2D model's texture sheets, a VRM's base color textures) are decoded small (WIC), nearly opaque pixels are grouped with deterministic k-means in OKLab into up to seven main colors, and small vivid touches (eyes, trims, ribbons) are clustered separately and kept as up to three more. Each color has its share of the textures and a kind: vivid, muted, neutral or skin. They are read once per model and kept in character-themes.json by the model's ID. Texture sheets over-represent some parts (mouths, eyes, effects), so the rules can pick a color that is small on the character itself.

Martlet's rules (in OKLCH): the backgrounds are near white (light) or near black (dark), tinted with the hue that covers most of the model, more faintly when that hue covers little of it; a dark canvas is the model's own darkest color when it shares that hue. Text reuses the model's darkest (light) or lightest (dark) neutral when it has one. The accent is one of the model's most vivid colors (pale tints and specks never): the one that suits both palettes best, unless it would have to change a lot for one of them (a yellow turning olive on white), which then takes the candidate that suits it. A model's color is used as it is whenever it already keeps the rules; otherwise only its lightness moves. Glow is a second vivid color (or the tint), success and warning keep their green and amber, moved off the accent's hue when close.

Rules every palette keeps (CharacterThemeRules.Repair): light backgrounds with dark text in a light palette and dark backgrounds with light text in a dark one; text 7:1 on Canvas, Surface and Soft; Muted, Accent, Success and Warning 4.5:1 on them; OnAccent 4.5:1 on Accent; Border and Focus 3:1 on Surface and Canvas (WCAG 2); and body text keeps only a hint of color (OKLCH chroma at most 0.05 for Text, 0.08 for Muted). A color that breaks one is moved in lightness (or chroma, for text) only, keeping its hue, and the page says how many were adjusted.

Verified looks (2026-10-03, character_theme previews and the desktop): the rules give calm, readable palettes for all ten models tried (the Live2D samples Hiyori, Haru, Mao, Mark, Natori, Ren and Rice, the VRM samples Seed-san and Constraint Twist, and a VTube Studio model).

Custom palette

Custom (MainWindow.CustomTheme.cs) is the owner's own twelve colors, kept in appearance-custom.json and shared with the owner's other computers (the appearance-custom shared setting). The first time it is chosen, it is a copy of the palette in use until then; Start from and Use its colors replace it with another palette's colors later (after a question when the owner changed them). The editor lists the parts by plain names (CustomThemeParts: Window background for Canvas, Buttons and side bar for Soft, Quiet text for Muted...). The selected part takes a color code, hue, saturation and lightness sliders on color scales (the ColorSlider style) or one of the character's main colors. Every window takes a change within 40 ms and the file is written after a 0.7 s pause, so dragging a slider stays smooth.

A custom palette is dark when light text reads better on its Canvas than dark text; the overlay and the readability rules use that. The editor checks the rules every palette keeps and names what breaks one (Text on window background: 1.3:1 (needs 7:1)). It does not enforce them: Make it easy to read runs CharacterThemeRules.Repair when the owner asks. Windows' high contrast still wins.

Motion system

Motion Where Spec
Page enter nav changes, tour steps, wizard steps, Setup steps opacity 0 to 1 and Y +14 to 0, 260 ms, cubic ease-out
Float hero mascot Y ±5, 3.2 s, sine, forever
Twinkle sparkles opacity 0.35 to 1, 1.6 s, staggered
Sway Martlet mascot (hero, tour, Talk header) rotate ±4° (±3° in Talk), 3.6 s (4 s in Talk), sine, forever
Check pop completed host step scale 0.4 to 1, 320 ms, back ease
Pulse ring online nodes, host status scale 1 to 1.9 and opacity 0.6 to 0, 2 s, forever
Flow map connections dash offset, 1.2 s, linear, forever
Panel slide node detail X +24 to 0 and fade, 240 ms
Toast status line fade and slide in, fade out after 6 s
Press all buttons scale 0.97, 90 ms

Motion.Enabled follows SystemParameters.ClientAreaAnimation, and is also off when the MARTLET_REDUCE_MOTION environment variable is 1. With it off, looping animations do not start and transitions complete immediately.

Historical implementation plan (not verified)

  1. Shared styles in Themes/Motion.xaml (nav items, choice cards, chips, node cards, step rows, link buttons), merged by App and the ThemedWindow fallback. Motion.cs provides the animation helpers.
  2. Models: DeviceRolePreference and PcRole (device-role.txt in the PC folder), MachineInfo (local hardware probe) and NetworkMap (turns settings, the avatar pairing and hardware into nodes, roles, facts and actions).
  3. MainWindow becomes the shell: nav rail, welcome tour, stage-aware home, host dashboard, devices map with detail panel, Companion tabs and Settings. Tests drive ConversationButton, NavCompanion, the Companion buttons by automation ID (OpenAudioSetup, OpenPeople) and ActionText.
  4. HostsWindow becomes the wizard, with the connection check and firewall helper exposed for the map and the host dashboard.
  5. LiveConversationWindow is only the conversation: history bubbles, the message box and the Listening, Vision and Stop toggles (section 6). Its choices live in TalkPreferences (talk-preferences.json), edited on the Companion Listening, Voice and Vision pages (the cards are in Pages/Listening and Pages/Talk; MainWindow.Talk.cs saves the choices).

Martlet documentation

Clone this wiki locally